Integrations / Payments

Square

Look up customers, payments and orders, and issue refunds in Square.

9 tools

Tools

square.list_locations

List the seller's locations, whose IDs look like L88917AVBK2S5.

square.get_customer

Get a customer profile by ID, e.g. JDKYHBWT1D4F8MFH63DBMEN8Y4.

customer_id*

square.find_customers

Find customer profiles by exact email address.

email*limit

square.list_payments

List recent payments at a location, newest first.

location_idbegin_timelimit

square.get_payment

Get a payment by ID, e.g. R2B3Z8WMVt3EAmzYWLZvz7Y69EbZY.

payment_id*

square.get_order

Get an order with its line items by ID, e.g. CAISENgvlJ6jLWAzERDzjyHVybY.

order_id*

square.refund_payment writes

Refund all or part of a completed card payment.

payment_id*amount*currency*idempotency_key*reason

square.api_get

Send a GET request to any Square API path under https://connect.squareup.com/v2 and return the response. For endpoints the named tools don't cover.

path*params

square.api_request writes

Send a POST, PUT, PATCH or DELETE request to any Square API path under https://connect.squareup.com/v2.

method*path*paramsbody

Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any Square API path.

Connect

  1. Sign in to the Square Developer Console, create or open an application, and select Credentials in the left pane.
  2. Choose Production at the top, select Show in the Production Access token box, and copy the token.
  3. Paste it as the connection's access token.

Credentials

Access token

Square API docs

Your next automation is one sentence away.

14-day free trial with $5 of built-in AI included. Cancel anytime.