Square

Solutions & Tools to Grow Your Business

Integrate the Square API with the Stripe API

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

Create Customer with Square API on New Custom Webhook Events from Stripe API
Stripe + Square
 
Try it
Create Invoice with Square API on New Custom Webhook Events from Stripe API
Stripe + Square
 
Try it
Create Order with Square API on New Custom Webhook Events from Stripe API
Stripe + Square
 
Try it
Send Invoice with Square API on New Custom Webhook Events from Stripe API
Stripe + Square
 
Try it
Cancel a Payment Intent with Stripe API on Catalog Item Updated from Square API
Square + Stripe
 
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 Custom Webhook Events from the Stripe API

Emit new event on each webhook event

 
Try it
Canceled Subscription from the Stripe API

Emit new event for each new canceled subscription

 
Try it
New Booking Created from the Square API

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

 
Try it
New Customer Created from the Square API

Emit new event for every new customer 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
Cancel a Payment Intent with the Stripe API

Cancel a payment intent. Once canceled, no additional charges will be made by the payment intent and any operations on the payment intent will fail with an error. For payment intents with status=requires_capture, the remaining amount_capturable will automatically be refunded. See the docs for more information

 
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
Cancel Or Reverse a Payout with the Stripe API

Cancel or reverse a payout. A payout can be canceled only if it has not yet been paid out. A payout can be reversed only if it has already been paid out. Funds will be refunded to your available balance. See the docs for more information

 
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

Overview of Square

The Square API opens up a realm of possibilities for merchants to effortlessly manage their sales, inventory, customers, and payments. With Pipedream, you can automate actions based on events in Square, such as new transactions, updated orders, or customer profile changes. Craft custom workflows that react in real-time, sync data across platforms, or streamline reporting. Through Pipedream's serverless platform, you can connect Square with countless other apps without writing extensive code, turning manual tasks into automated, efficient processes.

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}`,
      },
    })
  },
})

Overview of Stripe

The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.

Connect Stripe

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import stripe from 'stripe'

export default defineComponent({
  props: {
    stripe: {
      type: "app",
      app: "stripe",
    }
  },
  async run({steps, $}) {
    const client = stripe(this.stripe.$auth.api_key)

    return await client.accounts.list({ limit: 1 })
  },
})