Square

Solutions & Tools to Grow Your Business

Integrate the Square API with the HTTP / Webhook API

Setup the Square API trigger to run a workflow which integrates with the HTTP / Webhook API. Pipedream's integration platform allows you to integrate Square and HTTP / Webhook remarkably fast. Free for developers.

Create Customer with Square API on New Requests from HTTP / Webhook API
HTTP / Webhook + Square
 
Try it
Create Invoice with Square API on New Requests from HTTP / Webhook API
HTTP / Webhook + Square
 
Try it
Create Order with Square API on New Requests from HTTP / Webhook API
HTTP / Webhook + Square
 
Try it
Send Invoice with Square API on New Requests from HTTP / Webhook API
HTTP / Webhook + Square
 
Try it
Create Customer with Square API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Square
 
Try it
Catalog Item Updated from the Square API

Emit new event every time a catalog item is updated. See the docs

 
Try it
New Requests from the HTTP / Webhook API

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.

 
Try it
New Requests (Payload Only) from the HTTP / Webhook API

Get a URL and emit the HTTP body as an event on every request

 
Try it
Custom Webhook Events from the Square API

Receive notifications for custom webhook events. See docs here.

 
Try it
New Booking Created from the Square API

Emit new event for every new booking created. See the docs

 
Try it
Create Customer with the Square API

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.

 
Try it
Create Invoice with the Square API

Creates a draft invoice for an order. You must send (publish) the invoice before Square can process it. See the documentation.

 
Try it
Send any HTTP Request with the HTTP / Webhook API

Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.

 
Try it
Create Order with the Square API

Creates a new order that can include information about products for purchase. See docs here.

 
Try it
Send GET Request with the HTTP / Webhook API

Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it

Overview of Square

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:

  • Credit and debit card payments
  • Digital wallets
  • Gift cards
  • Subscriptions
  • Point of sale
  • Ordering & Delivery

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:

  • Mobile apps and websites for accepting payments
  • ECommerce sites
  • Mobile POS systems
  • Subscription services
  • In-store checkout systems
  • Online invoicing
  • Payment processing for loyalty programs
  • Cloud-based inventory and reporting tools
  • API endpoints for customer and staff management

Connect Square

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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}`,
      },
    })
  },
})

Connect HTTP / Webhook

1
2
3
4
5
6
7
8
9
10
11
12
13
// 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
  },
})

Community Posts

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Traffic-Based Workflow in Pipedream
Building a Traffic-Based Workflow in Pipedream
Normally I don't like to blog about stuff that isn't generally available to all, but as it will be available sometime soon, I decided to go ahead anyway. And I built something really cool I want to share so that's another reason to talk about this now!