Solutions & Tools to Grow Your Business
Emit new event every time a catalog item is updated. See the docs
Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.
Get a URL and emit the HTTP body as an event on every request
Receive notifications for custom webhook events. See docs here.
Creates a new customer for a business. Must provide at least one of the following: Given Name, Family Name, Company Name, Email Address, or Phone Number. See the docs.
Creates a draft invoice for an order. You must send (publish) the invoice before Square can process it. See the documentation.
Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.
Creates a new order that can include information about products for purchase. See docs here.
Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.
The Square API, provided by Square Inc., is a powerful tool for creating
integrations with in-store, online, and mobile payments.
The Square API allows apps to access functions such as:
It provides developers with the capability to build powerful, secure, and easy
to use applications that integrate with Square’s suite of products and
services. In addition, the API allows developers to quickly build, customize,
and iterate on their Square integrations.
Examples of what you can build using the Square API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
square: {
type: "app",
app: "square",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://connect.squareup.com/oauth2/token/status`,
headers: {
Authorization: `Bearer ${this.square.$auth.oauth_access_token}`,
},
})
},
})
// To use any npm package on Pipedream, just import it
import axios from "axios"
export default defineComponent({
async run({ steps, $ }) {
const { data } = await axios({
method: "GET",
url: "https://pokeapi.co/api/v2/pokemon/charizard",
})
return data.species
},
})