Square Component
Manage payments, customers, orders, invoices, and team members in Square.
Component key: square · Source · · Changelog ↓Description
Square is a comprehensive commerce platform that provides payment processing, point-of-sale systems, online store capabilities, and business management tools. This component enables management of payments, customers, orders, inventory, invoices, team members, and webhooks in a Square account.
API Documentation
This component was built using the Square API Documentation
A Note on Square Pagination
Square's API supports pagination. This means that the API will return up to a specific limit of items for any query. If additional results are available, the API response includes a cursor field that can be used to retrieve the next page of data.
{
"objects": [],
"cursor": "next_page_cursor"
}
The cursor can be used in a subsequent query to fetch additional results.
See Square's Docs for information about Square's paginated API.
Connections
OAuth 2.0
key: oauth2To connect to Square using OAuth 2.0, create an application in the Square Developer Portal.
Prerequisites
- A Square account
- Access to the Square Developer Portal
Setup Steps
- Navigate to the Square Developer Portal and sign in
- Create a new application or select an existing application
- In the application settings, navigate to the OAuth section
- Add
https://oauth2.prismatic.io/callbackas a Redirect URL - Configure the required permissions (scopes) for the application based on the integration needs
- Copy the Application ID and Application Secret from the Credentials section
Configure the Connection
- Select the Authorize URL matching the target Square environment. Defaults to the Production URL
https://connect.squareup.com/oauth2/authorize; select the Sandbox URLhttps://connect.squareupsandbox.com/oauth2/authorizefor testing. - Select the Token URL matching the same environment as the Authorize URL. Defaults to the Production URL
https://connect.squareup.com/oauth2/token; select the Sandbox URLhttps://connect.squareupsandbox.com/oauth2/tokenfor testing. - For Scopes, enter a space-separated list of OAuth permissions required by the application. Refer to the Square OAuth Permissions documentation for available scopes.
- Enter the Application ID as the Client ID.
- Enter the Application Secret as the Client Secret.
- (Optional) Set the API Version to override the default Square API version. Leave blank to use the default. See Square API Versioning for details.
Verify Connection
After configuring the connection, the authorizing user is redirected to Square to authorize access to the account. Once authorized, the integration can interact with the Square API on behalf of the merchant.
Production Credentials
Square separates its development environment from production to prevent test operations from affecting live merchant data. Sandbox and production credentials are distinct. Switching to production credentials is a required step before the integration can interact with real Square accounts.
Square sandbox and production environments use separate credentials. The sandbox environment is for testing only. To connect to real Square accounts, use production credentials.
- Navigate to the application in the Square Developer Portal
- Toggle from Sandbox to Production in the top navigation
- Copy the Application ID and Application Secret from the Production > Credentials section
Update the connection configuration with the production Application ID (Client ID) and Application Secret (Client Secret).
If distributing the app publicly through the Square App Marketplace, a formal app review is required, including having at least 5 active sellers using the integration. For private integrations within a single organization, App Marketplace listing is not required and no formal review applies.
| Input | Notes | Example |
|---|---|---|
| API Version | Override the default Square API version (2025-08-20). Leave blank to use the default version. See Square API Versioning for version details. | 2025-08-20 |
| Authorize URL | The OAuth 2.0 Authorization URL for Square. Select Sandbox for testing or Production for live transactions. | https://connect.squareup.com/oauth2/authorize |
| Application ID | The Application ID from the Square Developer Dashboard. Navigate to Applications > [App Name] > Credentials to find this value. | sq0idp-XXXXXXXXXXXXXXXXXXXXXX |
| Application Secret | The Application Secret from the Square Developer Dashboard. Keep this value secure and never share it publicly. | |
| Scopes | A space-separated list of OAuth permission scopes. These scopes must be configured in the Square Application. See Square OAuth Permissions for available scopes. | MERCHANT_PROFILE_READ PAYMENTS_READ |
| Token URL | The OAuth 2.0 Token URL for Square. This must match the environment selected in the Authorize URL. | https://connect.squareup.com/oauth2/token |
Triggers
New and Updated Payments
Fetches Square payments created or updated since the last execution, separated into new and updated buckets. | key: pollChangesTrigger
| Input | Notes | Example |
|---|---|---|
| Show New Records | When true, newly created payments are included in the trigger output. | true |
| Show Updated Records | When true, payments updated since the last poll are included in the trigger output. | true |
| Connection | The Square connection to use. |
The New and Updated Payments polling trigger fetches Square payments that were created or updated since the previous execution. Records are separated into created and updated buckets so that downstream steps can branch on lifecycle without re-comparing timestamps.
How It Works
- On the first run, the trigger captures the current time and returns no records (the baseline is established).
- On each subsequent run, the trigger calls Square's List Payments endpoint with the
begin_timeset to the previous poll timestamp and paginates through all results. - Each payment's
created_atandupdated_attimestamps are compared against the previous poll timestamp to partition results intocreated(new payments) andupdated(payments modified after creation). - The new poll timestamp is persisted to polling state for the next execution.
- If both buckets are empty, the trigger reports
polledNoChanges: trueso the flow does not execute unnecessarily.
Returned Data
The trigger returns an object with created and updated arrays under body.data. Each array contains full Square Payment objects.
Example Payload
{
"body": {
"data": {
"created": [
{
"id": "KkAkhdMsgzn59SM8A89WgKwekxLZY",
"status": "COMPLETED",
"amount_money": {
"amount": 100,
"currency": "USD"
},
"source_type": "CARD",
"location_id": "L8MR4Y5BMDJSC",
"order_id": "03O3USaPaAaFnI6kkwB1JxGgBsUZY",
"created_at": "2026-05-20T22:55:45.183Z",
"updated_at": "2026-05-20T22:55:45.273Z"
}
],
"updated": [
{
"id": "9fNAOdpmh9XQpgUYRWJ7vWa4FdjZY",
"status": "COMPLETED",
"amount_money": {
"amount": 2500,
"currency": "USD"
},
"source_type": "CARD",
"location_id": "L8MR4Y5BMDJSC",
"created_at": "2026-05-18T14:12:03.000Z",
"updated_at": "2026-05-20T22:50:11.412Z"
}
]
}
}
}
Fields shown are representative. The full response object includes additional properties.
Notes
- The polling interval is configured on the integration instance, not on the trigger itself.
- The
begin_timefilter uses Square's server time. Clock skew between the integration runtime and Square may cause edge-case records near the boundary to be classified differently across runs. - For high-volume merchants, consider pairing this trigger with the Webhook trigger to receive real-time
payment.createdandpayment.updatedevents and reduce polling load.
Example Payload for New and Updated Payments⤓
Webhook
Receive and validate webhook requests from Square for manually configured webhook subscriptions. | key: squareWebhookTrigger
The Webhook trigger receives event notifications from a Square webhook subscription configured in the Square Developer Dashboard. When a subscribed event occurs (a payment is created, an order is updated, a customer profile is modified, an inventory count changes, etc.), Square sends a POST request to the flow's webhook URL and this trigger forwards the event payload to the integration.
How It Works
This trigger does not register or manage the webhook subscription. Subscriptions are created manually in the Square Developer Dashboard and pointed at the flow's instance webhook URL.
- Square sends a POST request to the flow's webhook URL when a subscribed event occurs.
- The trigger forwards the request body to the integration as the flow payload.
- The trigger responds to Square with HTTP
200to acknowledge receipt.
For signature verification, refer to the Square webhook signature validation documentation and implement the validation logic in a dedicated action.
Event Types
A complete list of supported event types is available in the Square Webhook Events Reference. Common event categories include:
Common Event Categories (8)
payment.created/payment.updated— Payment lifecycle eventsrefund.created/refund.updated— Refund lifecycle eventsorder.created/order.updated/order.fulfillment.updated— Order lifecycle eventscustomer.created/customer.updated/customer.deleted— Customer profile changesinventory.count.updated— Inventory count changesinvoice.created/invoice.updated/invoice.payment_made— Invoice lifecycle eventscatalog.version.updated— Catalog changesteam_member.created/team_member.updated/team_member.wage_setting.updated— Team member changes
Returned Data
The trigger returns the raw payload sent by Square. Payload structure varies by event type.
Example Payload (payment.created)
{
"merchant_id": "6SSW7HV8K2ST5",
"type": "payment.created",
"event_id": "6a8f5f28-54a1-4eb0-a98a-3111513fd4fc",
"created_at": "2026-05-20T22:55:45.293Z",
"data": {
"type": "payment",
"id": "KkAkhdMsgzn59SM8A89WgKwekxLZY",
"object": {
"payment": {
"id": "KkAkhdMsgzn59SM8A89WgKwekxLZY",
"status": "COMPLETED",
"amount_money": {
"amount": 100,
"currency": "USD"
},
"source_type": "CARD",
"location_id": "L8MR4Y5BMDJSC",
"order_id": "03O3USaPaAaFnI6kkwB1JxGgBsUZY",
"created_at": "2026-05-20T22:55:45.183Z",
"updated_at": "2026-05-20T22:55:45.273Z"
}
}
}
}
Configuration
This trigger does not require configurable inputs. The webhook subscription, signing key, and event types are managed in the Square Developer Dashboard.
Example Payload for Webhook⤓
Data Sources
Select Bank Accounts
List and select from all of the bank accounts linked to a Square account. | key: selectBankAccounts | type: picklist
| Input | Notes | Example |
|---|---|---|
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Limit | The maximum number of results to return in a single page. | 100 |
| Location ID | The unique identifier for the location used to filter results. | LH2G9VFHJRWKR |
| Connection | The Square connection to use. |
Select Catalog
List and select from all of the catalog objects of the specified types. | key: selectCatalog | type: picklist
| Input | Notes | Example |
|---|---|---|
| Catalog Version | The specific version of the catalog objects to include in the response. Used to retrieve historical versions of objects. The value is matched against the CatalogObject version attribute. | 1234567890123 |
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Connection | The Square connection to use. | |
| Types | An optional case-insensitive, comma-separated list of object types to retrieve. Valid values are defined in the CatalogObjectType enum, for example, ITEM, ITEM_VARIATION, CATEGORY, DISCOUNT, TAX, MODIFIER, MODIFIER_LIST, IMAGE. | ITEM, CATEGORY, TAX |
Select Customers
List and select from all customer profiles associated with a Square account. | key: selectCustomers | type: picklist
| Input | Notes | Example |
|---|---|---|
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Limit | The maximum number of results to return in a single page. | 100 |
| Sort Field | The field used to sort the results. | |
| Sort Order | The order in which results are sorted. | |
| Connection | The Square connection to use. |
Select Invoice
Lists invoices in the Square account. | key: selectInvoice | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Select Job
Lists jobs in the Square account. | key: selectJob | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Select Locations
List and select from all of the seller's locations. | key: selectLocations | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Select Merchants
List and select from all of the seller's merchants. | key: selectMerchants | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Select Order
Lists orders in the Square account. | key: selectOrder | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Select Payment
Lists payments in the Square account. | key: selectPayment | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Select Refund
Lists payment refunds in the Square account. | key: selectRefund | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Select Team Member
Lists team members in the Square account. | key: selectTeamMember | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Select Webhook Event Types
List all webhook event types that can be subscribed to. | key: selectWebhookEventTypes | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Select Webhook Subscription
Lists webhook subscriptions in the Square account. | key: selectWebhookSubscription | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Actions
Batch Change Inventory
Applies adjustments and counts to the provided item quantities. | key: batchChangeInventory
| Input | Notes | Example |
|---|---|---|
| Inventory Changes | An array of inventory changes in JSON format. See Square Inventory Changes for change types. | |
| Idempotency Key | A unique string that identifies this request to ensure idempotent operations. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Ignore Unchanged Counts | When true, unchanged inventory counts are ignored. | false |
| Connection | The Square connection to use. |
Example Payload for Batch Change Inventory⤓
Batch Delete Catalog Objects
Deletes a set of CatalogItems based on the provided list of target IDs and returns a set of successfully deleted IDs in the response. | key: batchDeleteCatalogObjects
| Input | Notes | Example |
|---|---|---|
| Object IDs | Array of catalog object IDs to retrieve in JSON format. | |
| Connection | The Square connection to use. |
Example Payload for Batch Delete Catalog Objects⤓
Batch Retrieve Catalog Objects
Returns a set of objects based on the provided ID. | key: batchRetrieveCatalogObjects
| Input | Notes | Example |
|---|---|---|
| Catalog Version | The specific version of the catalog objects to include in the response. Used to retrieve historical versions of objects. The value is matched against the CatalogObject version attribute. | 1234567890123 |
| Include Deleted Objects | When true, deleted objects are included in the results. | false |
| Include Related Objects | When true, the response includes additional objects that are related to the requested objects. | false |
| Object IDs | Array of catalog object IDs to retrieve in JSON format. | |
| Connection | The Square connection to use. |
Example Payload for Batch Retrieve Catalog Objects⤓
Batch Retrieve Inventory Counts
Returns current counts for the provided CatalogObjects at the requested Locations. | key: batchRetrieveInventoryCounts
| Input | Notes | Example |
|---|---|---|
| Catalog Object IDs | An array of catalog object IDs in JSON format used to filter inventory results. | |
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Limit | The maximum number of results to return in a single page. | 100 |
| Location IDs | An array of location IDs in JSON format used to filter results to specific locations. | |
| Connection | The Square connection to use. | |
| States | An array of inventory states in JSON format used to filter results. Options: IN_STOCK, SOLD, RETURNED_BY_CUSTOMER. | |
| Updated After | The timestamp filter used to return results whose calculated_at value is after the given time. Format: RFC 3339. | 2024-01-01T00:00:00Z |
Example Payload for Batch Retrieve Inventory Counts⤓
Batch Retrieve Orders
Retrieves a set of orders by their IDs. | key: batchRetrieveOrders
| Input | Notes | Example |
|---|---|---|
| Location ID | The unique identifier for the location. | LH2G9VFHJRWKR |
| Order IDs | An array of order IDs to retrieve in JSON format. A maximum of 100 orders can be retrieved per request. | |
| Connection | The Square connection to use. |
Example Payload for Batch Retrieve Orders⤓
Batch Upsert Catalog Objects
Creates or updates up to 10,000 target objects based on the provided list of objects. | key: batchUpsertCatalogObjects
| Input | Notes | Example |
|---|---|---|
| Batches | Array of batches containing catalog objects in JSON format. Each batch may contain up to 1,000 objects. Maximum 10,000 objects total across all batches. | |
| Idempotency Key | A unique string that identifies this request to ensure idempotent operations. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Connection | The Square connection to use. |
Example Payload for Batch Upsert Catalog Objects⤓
Cancel Invoice
Cancels an invoice. | key: cancelInvoice
| Input | Notes | Example |
|---|---|---|
| Invoice ID | The unique identifier for the invoice. | inv:0-ChCHu2mZEabLeeHahQnXDjZQECY |
| Connection | The Square connection to use. |
Example Payload for Cancel Invoice⤓
Cancel Payment
Cancels (voids) a payment. | key: cancelPayment
| Input | Notes | Example |
|---|---|---|
| Payment ID | The unique identifier for the payment. | KkAkhdMsgzn59SM8A89WgKwekxLZY |
| Connection | The Square connection to use. |
Example Payload for Cancel Payment⤓
Clone Order
Creates a new order, in the DRAFT state, by duplicating an existing order. | key: cloneOrder
| Input | Notes | Example |
|---|---|---|
| Idempotency Key | A unique string that identifies this request to ensure idempotent operations. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Order ID | The unique identifier for the order. | CAISEHUwyPjyk5QFnMR1k5axW5YgAQ |
| Connection | The Square connection to use. |
Example Payload for Clone Order⤓
Complete Payment
Completes (captures) a payment. | key: completePayment
| Input | Notes | Example |
|---|---|---|
| Payment ID | The unique identifier for the payment. | KkAkhdMsgzn59SM8A89WgKwekxLZY |
| Connection | The Square connection to use. | |
| Version Token | The version token used for optimistic concurrency control. Identifies the current payment version. | gVCJTjmQHQC2VQCFTe3pRHJsaJl |
Example Payload for Complete Payment⤓
Create Customer
Creates a new customer profile. | key: createCustomer
| Input | Notes | Example |
|---|---|---|
| Address | The customer's mailing address in JSON format. See Square Address Object for field details. | |
| Birthday | The customer's date of birth. Format: YYYY-MM-DD. | 1990-01-15 |
| Company Name | The name of the company associated with the customer. | Acme Corporation |
| Email Address | The email address of the customer. | john.doe@example.com |
| Family Name | The last name of the customer. | Doe |
| Given Name | The first name of the customer. | John |
| Idempotency Key | A unique string that identifies this request to ensure idempotent operations. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Nickname | An informal name to associate with the customer. | Johnny |
| Note | A free-form note to associate with the customer. | Preferred customer - offer special discounts |
| Phone Number | The phone number of the customer in E.164 format (e.g., +14155552671). | +14155552671 |
| Reference ID | An optional external reference ID to associate with the customer. | customer-ref-001 |
| Connection | The Square connection to use. | |
| Tax IDs | Tax identification numbers in JSON format. Only applicable for EU countries. See Square Tax IDs for supported formats. |
Example Payload for Create Customer⤓
Create Job
Creates a job in a seller account with a title and tip eligibility. | key: createJob
| Input | Notes | Example |
|---|---|---|
| Idempotency Key | A unique string that identifies this CreateJob request. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Is Tip Eligible | When true, employees in this job role are eligible to receive tips. | true |
| Job Title | The designation for the job role (for example, Cashier, Server, Manager). | Cashier |
| Connection | The Square connection to use. |
Example Payload for Create Job⤓
Create Order
Creates a new order. | key: createOrder
| Input | Notes | Example |
|---|---|---|
| Location ID | The unique identifier for the location. | LH2G9VFHJRWKR |
| Order Object | The complete order object in JSON format. See Square Order Object for field details. | |
| Connection | The Square connection to use. |
Example Payload for Create Order⤓
Create Payment
Creates a payment using the provided source. | key: createPayment
| Input | Notes | Example |
|---|---|---|
| Payment Data | Payment data in JSON format. Amounts are in cents (smallest currency unit). See Square Create Payment for field details. | |
| Connection | The Square connection to use. |
Example Payload for Create Payment⤓
Create Team Member
Creates a new team member. | key: createTeamMember
| Input | Notes | Example |
|---|---|---|
| Idempotency Key | A unique string that identifies this request to ensure idempotent operations. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Connection | The Square connection to use. | |
| Team Member | The team member data in JSON format. See Square TeamMember Object for field details. |
Example Payload for Create Team Member⤓
Create Webhook Subscription
Creates a webhook subscription. | key: createWebhookSubscription
| Input | Notes | Example |
|---|---|---|
| Idempotency Key | A unique string that identifies this request to ensure idempotent operations. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Connection | The Square connection to use. | |
| Webhook Subscription | The webhook subscription data in JSON format. See Square Webhook Subscription for configuration details. |
Example Payload for Create Webhook Subscription⤓
Delete Catalog Object
Deletes a single CatalogObject based on the provided ID and returns the set of successfully deleted IDs in the response. | key: deleteCatalogObject
| Input | Notes | Example |
|---|---|---|
| Object ID | The unique identifier for the catalog object. | W62UWFY35CWMYGVWK6TWJDNI |
| Connection | The Square connection to use. |
Example Payload for Delete Catalog Object⤓
Delete Customer
Deletes a customer profile from a business. | key: deleteCustomer
| Input | Notes | Example |
|---|---|---|
| Customer ID | The unique identifier for the customer. | JDKYHBWT1D4F8MFH63DBMEN8Y4 |
| Connection | The Square connection to use. |
Example Payload for Delete Customer⤓
Delete Instance Webhooks
Deletes all webhooks that point to a flow in this instance. | key: deleteInstanceWebhooks
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Example Payload for Delete Instance Webhooks⤓
Delete Invoice
Deletes an invoice. | key: deleteInvoice
| Input | Notes | Example |
|---|---|---|
| Invoice ID | The unique identifier for the invoice. | inv:0-ChCHu2mZEabLeeHahQnXDjZQECY |
| Connection | The Square connection to use. |
Example Payload for Delete Invoice⤓
Delete Webhook Subscription
Deletes a webhook subscription. | key: deleteWebhookSubscription
| Input | Notes | Example |
|---|---|---|
| Subscription ID | The unique identifier for the webhook subscription to delete. | wbhk_b35f6b3145074cf9ad513610786c19d5 |
| Connection | The Square connection to use. |
Example Payload for Delete Webhook Subscription⤓
Get Invoice
Retrieves an invoice by its ID. | key: getInvoice
| Input | Notes | Example |
|---|---|---|
| Invoice ID | The unique identifier for the invoice. | inv:0-ChCHu2mZEabLeeHahQnXDjZQECY |
| Connection | The Square connection to use. |
Example Payload for Get Invoice⤓
Get Payment
Retrieves details for a specific payment. | key: getPayment
| Input | Notes | Example |
|---|---|---|
| Payment ID | The unique identifier for the payment. | KkAkhdMsgzn59SM8A89WgKwekxLZY |
| Connection | The Square connection to use. |
Example Payload for Get Payment⤓
Get Payment Refund
Retrieves a specific refund using the refund_id. | key: getPaymentRefund
| Input | Notes | Example |
|---|---|---|
| Refund ID | The unique identifier for the payment refund. | KTSQvpHJMXp5hUtvZMgKr5EXhfZZY |
| Connection | The Square connection to use. |
Example Payload for Get Payment Refund⤓
List Catalog
Returns a list of all CatalogObjects of the specified types in the catalog. | key: listCatalog
| Input | Notes | Example |
|---|---|---|
| Catalog Version | The specific version of the catalog objects to include in the response. Used to retrieve historical versions of objects. The value is matched against the CatalogObject version attribute. | 1234567890123 |
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Connection | The Square connection to use. | |
| Types | An optional case-insensitive, comma-separated list of object types to retrieve. Valid values are defined in the CatalogObjectType enum, for example, ITEM, ITEM_VARIATION, CATEGORY, DISCOUNT, TAX, MODIFIER, MODIFIER_LIST, IMAGE. | ITEM, CATEGORY, TAX |
Example Payload for List Catalog⤓
List Customers
Lists customer profiles associated with a Square account. | key: listCustomers
| Input | Notes | Example |
|---|---|---|
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Limit | The maximum number of results to return in a single page. | 100 |
| Sort Field | The field used to sort the results. | |
| Sort Order | The order in which results are sorted. | |
| Connection | The Square connection to use. |
Example Payload for List Customers⤓
List Invoices
Returns a list of invoices for a given location. | key: listInvoices
| Input | Notes | Example |
|---|---|---|
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Limit | The maximum number of results to return in a single page. | 100 |
| Location ID | The unique identifier for the location. | LH2G9VFHJRWKR |
| Connection | The Square connection to use. |
Example Payload for List Invoices⤓
List Jobs
Lists jobs in a seller account, sorted by title in ascending order. | key: listJobs
| Input | Notes | Example |
|---|---|---|
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Fetch All | When true, automatically fetches all pages of results using cursor pagination. | false |
| Connection | The Square connection to use. |
Example Payload for List Jobs⤓
List Locations
Lists all of the seller's locations, including those with an inactive status. | key: listLocations
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. |
Example Payload for List Locations⤓
List Payment Refunds
Retrieves a list of refunds for the account making the request. | key: listPaymentRefunds
| Input | Notes | Example |
|---|---|---|
| Begin Time | The timestamp marking the start of the time range. Format: RFC 3339. | 2024-01-01T00:00:00Z |
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| End Time | The end of the time range used to retrieve payments. Filtered using the created_at field. Format: RFC 3339. | 2024-12-31T23:59:59Z |
| Limit | The maximum number of results to return in a single page. | 100 |
| Location ID | The unique identifier for the location. | LH2G9VFHJRWKR |
| Sort Order | The order in which results are sorted. | |
| Source Type | When provided, only refunds whose payments have the indicated source type are returned. | CARD |
| Connection | The Square connection to use. | |
| Status | When provided, only refunds with the given status are returned. | COMPLETED |
Example Payload for List Payment Refunds⤓
List Payments
Retrieves a list of payments taken by the account making the request. | key: listPayments
| Input | Notes | Example |
|---|---|---|
| Begin Time | The timestamp marking the start of the time range. Format: RFC 3339. | 2024-01-01T00:00:00Z |
| Card Brand | The brand of the payment card (for example, VISA, MASTERCARD, AMEX). | VISA |
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| End Time | The end of the time range used to retrieve payments. Filtered using the created_at field. Format: RFC 3339. | 2024-12-31T23:59:59Z |
| Last 4 Digits of Card | The last four digits of the payment card used. | 1234 |
| Limit | The maximum number of results to return in a single page. | 100 |
| Location ID | The unique identifier for the location. | LH2G9VFHJRWKR |
| Sort Order | The order in which results are sorted. | |
| Connection | The Square connection to use. | |
| Total | The exact payment amount in cents (smallest currency unit). For example, 1500 for $15.00. | 1500 |
Example Payload for List Payments⤓
List Webhook Subscriptions
Lists all webhook subscriptions owned by your application. | key: listWebhookSubscriptions
| Input | Notes | Example |
|---|---|---|
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Include Disabled | When true, disabled subscriptions are included in the results. By default, only enabled subscriptions are returned. | false |
| Limit | The maximum number of results to return in a single page. | 100 |
| Sort Order | The sort order for subscriptions by creation date. Options: ASC (oldest first), DESC (newest first). | DESC |
| Connection | The Square connection to use. |
Example Payload for List Webhook Subscriptions⤓
Publish Invoice
Publishes an invoice. | key: publishInvoice
| Input | Notes | Example |
|---|---|---|
| Idempotency Key | A unique string that identifies this request to ensure idempotent operations. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Invoice ID | The unique identifier for the invoice. | inv:0-ChCHu2mZEabLeeHahQnXDjZQECY |
| Connection | The Square connection to use. |
Example Payload for Publish Invoice⤓
Raw Request
Sends a raw HTTP request to the Square API. | key: rawRequest
| Input | Notes | Example |
|---|---|---|
| Data | The HTTP body payload to send to the URL. | {"exampleKey": "Example Data"} |
| File Data | File Data to be sent as a multipart form upload. | [{key: "example.txt", value: "My File Contents"}] |
| File Data File Names | File names to apply to the file data inputs. Keys must match the file data keys above. | |
| Form Data | The Form Data to be sent as a multipart form upload. | [{"key": "Example Key", "value": new Buffer("Hello World")}] |
| Header | A list of headers to send with the request. | User-Agent: curl/7.64.1 |
| Max Retry Count | The maximum number of retries to attempt. Specify 0 for no retries. | 0 |
| Method | The HTTP method to use. | |
| Query Parameter | A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2. | |
| Response Type | The type of data you expect in the response. You can request json, text, or binary data. | json |
| Retry On All Errors | If true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors. | false |
| Retry Delay (ms) | The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled. | 0 |
| Connection | The Square connection to use. | |
| Timeout | The maximum time that a client will await a response to its request | 2000 |
| URL | This is the URL to call. | /v2/locations |
| Use Exponential Backoff | Specifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored. | false |
Example Payload for Raw Request⤓
Refund Payment
Refunds a payment. You can refund the entire payment amount or a portion of it. | key: refundPayment
| Input | Notes | Example |
|---|---|---|
| Idempotency Key | A unique string that identifies this request to ensure idempotent operations. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Payment ID | The unique identifier for the payment. | KkAkhdMsgzn59SM8A89WgKwekxLZY |
| Reason | A description of the reason for the refund. | Customer requested refund due to defective product |
| Refund Amount | The refund amount in JSON format. Amount is in cents (smallest currency unit). Cannot exceed the payment total minus previous refunds. | |
| Connection | The Square connection to use. |
Example Payload for Refund Payment⤓
Retrieve Catalog Object
Returns a single CatalogObject based on the provided ID. | key: retrieveCatalogObject
| Input | Notes | Example |
|---|---|---|
| Catalog Version | The specific version of the catalog objects to include in the response. Used to retrieve historical versions of objects. The value is matched against the CatalogObject version attribute. | 1234567890123 |
| Include Related Objects | When true, the response includes additional objects that are related to the requested objects. | false |
| Object ID | The unique identifier for the catalog object. | W62UWFY35CWMYGVWK6TWJDNI |
| Connection | The Square connection to use. |
Example Payload for Retrieve Catalog Object⤓
Retrieve Customer
Retrieves details for a single customer. | key: retrieveCustomer
| Input | Notes | Example |
|---|---|---|
| Customer ID | The unique identifier for the customer. | JDKYHBWT1D4F8MFH63DBMEN8Y4 |
| Connection | The Square connection to use. |
Example Payload for Retrieve Customer⤓
Retrieve Job
Retrieves a specified job by ID. | key: retrieveJob
| Input | Notes | Example |
|---|---|---|
| Job ID | The unique identifier for the job. | 1yJlHapkseYnNPETIU1B |
| Connection | The Square connection to use. |
Example Payload for Retrieve Job⤓
Retrieve Location
Retrieves details of a specific location. | key: retrieveLocation
| Input | Notes | Example |
|---|---|---|
| Location ID | The unique identifier for the location. | LH2G9VFHJRWKR |
| Connection | The Square connection to use. |
Example Payload for Retrieve Location⤓
Retrieve Order
Retrieves an Order by its ID. | key: retrieveOrder
| Input | Notes | Example |
|---|---|---|
| Order ID | The unique identifier for the order. | CAISEHUwyPjyk5QFnMR1k5axW5YgAQ |
| Connection | The Square connection to use. |
Example Payload for Retrieve Order⤓
Retrieve Team Member
Retrieves a team member based on the provided ID. | key: retrieveTeamMember
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. | |
| Team Member ID | The unique identifier for the team member. | 1yJlHapkseYnNPETIU1B |
Example Payload for Retrieve Team Member⤓
Retrieve Webhook Subscription
Retrieves a webhook subscription identified by its ID. | key: retrieveWebhookSubscription
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. | |
| Subscription ID | The unique identifier for the webhook subscription. | wbhk_b35f6b3145074cf9ad513610786c19d5 |
Example Payload for Retrieve Webhook Subscription⤓
Search Catalog Items
Searches for catalog items or item variations by matching supported search attribute values, including custom attribute values, against one or more of the specified query filters. | key: searchCatalogItems
| Input | Notes | Example |
|---|---|---|
| Category IDs | An array of category IDs in JSON format used to filter items by category. | |
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Custom Attribute Filters | An array of custom attribute filters in JSON format used to match items with specific custom attributes. | |
| Enabled Location IDs | An array of location IDs in JSON format used to filter items by enabled locations. | |
| Limit | The maximum number of results to return in a single page. | 100 |
| Product Types | An array of product types in JSON format used to filter items. Options: REGULAR, APPOINTMENTS_SERVICE. | |
| Sort Order | The order in which results are sorted. | |
| Connection | The Square connection to use. | |
| Stock Levels | An array of stock levels in JSON format used to filter items. Options: OUT, LOW. | |
| Text Filter | The text filter expression used to return items or item variations containing the specified text. | coffee mug |
Example Payload for Search Catalog Items⤓
Search Catalog Objects
Searches for CatalogObject of any type by matching supported search attribute values, excluding custom attribute values on items or item variations, against one or more of the specified query filters. | key: searchCatalogObjects
| Input | Notes | Example |
|---|---|---|
| Begin Time | The timestamp marking the start of the time range. Format: RFC 3339. | 2024-01-01T00:00:00Z |
| Catalog Query | Query to filter or sort catalog results in JSON format. See Square Catalog Query for query options. | |
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Include Deleted Objects | When true, deleted objects are included in the results. | false |
| Include Related Objects | When true, the response includes additional objects that are related to the requested objects. | false |
| Limit | The maximum number of results to return in a single page. | 100 |
| Object Types | A comma-separated list of catalog object types to include in the search results. Options: ITEM, CATEGORY, TAX, DISCOUNT, MODIFIER_LIST. | ITEM,CATEGORY,TAX |
| Connection | The Square connection to use. |
Example Payload for Search Catalog Objects⤓
Search Customers
Searches for customer profiles. | key: searchCustomers
| Input | Notes | Example |
|---|---|---|
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Limit | The maximum number of results to return in a single page. | 100 |
| Query | The query to search for customers. See Square Search Customers for filter and sort options. | |
| Connection | The Square connection to use. |
Example Payload for Search Customers⤓
Search Invoices
Searches for invoices from a location specified in the filter. | key: searchInvoices
| Input | Notes | Example |
|---|---|---|
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Query | The query to search for invoices. See Square Search Invoices for filter and sort options. | |
| Limit | The maximum number of results to return in a single page. | 100 |
| Connection | The Square connection to use. |
Example Payload for Search Invoices⤓
Search Orders
Searches all orders for one or more locations. | key: searchOrders
| Input | Notes | Example |
|---|---|---|
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Limit | The maximum number of results to return in a single page. | 100 |
| Location IDs | An array of location IDs in JSON format used to filter results to specific locations. | |
| Query | The query to search for orders. See Square Search Orders for filter and sort options. | |
| Return Entries | When true, the entries associated with the orders are returned. | true |
| Connection | The Square connection to use. |
Example Payload for Search Orders⤓
Search Team Members
Searches for team members based on the given filters. | key: searchTeamMembers
| Input | Notes | Example |
|---|---|---|
| Cursor | The pagination cursor returned by a previous call to this endpoint. | |
| Limit | The maximum number of results to return in a single page. | 100 |
| Search Query | The query parameters to filter team members. See Square Search Team Members for filter options. | |
| Connection | The Square connection to use. |
Example Payload for Search Team Members⤓
Update Customer
Updates a customer profile. | key: updateCustomer
| Input | Notes | Example |
|---|---|---|
| Address | The customer's mailing address in JSON format. See Square Address Object for field details. | |
| Birthday | The customer's date of birth. Format: YYYY-MM-DD. | 1990-01-15 |
| Company Name | The name of the company associated with the customer. | Acme Corporation |
| Customer ID | The unique identifier for the customer. | JDKYHBWT1D4F8MFH63DBMEN8Y4 |
| Email Address | The email address of the customer. | john.doe@example.com |
| Family Name | The last name of the customer. | Doe |
| Given Name | The first name of the customer. | John |
| Nickname | An informal name to associate with the customer. | Johnny |
| Note | A free-form note to associate with the customer. | Preferred customer - offer special discounts |
| Phone Number | The phone number of the customer in E.164 format (e.g., +14155552671). | +14155552671 |
| Reference ID | An optional external reference ID to associate with the customer. | customer-ref-001 |
| Connection | The Square connection to use. | |
| Tax IDs | Tax identification numbers in JSON format. Only applicable for EU countries. See Square Tax IDs for supported formats. |
Example Payload for Update Customer⤓
Update Invoice
Updates an invoice. | key: updateInvoice
| Input | Notes | Example |
|---|---|---|
| Invoice ID | The unique identifier for the invoice. | inv:0-ChCHu2mZEabLeeHahQnXDjZQECY |
| Connection | The Square connection to use. | |
| Update Invoice | The invoice data to update in JSON format. See Square Update Invoice for field details. |
Example Payload for Update Invoice⤓
Update Job
Updates the title or tip eligibility of a job. Changes propagate to all job assignments, shifts, and wage settings. | key: updateJob
| Input | Notes | Example |
|---|---|---|
| Is Tip Eligible | When true, employees in this job role are eligible to receive tips. Only include if changing tip eligibility. | true |
| Job ID | The unique identifier for the job. | 1yJlHapkseYnNPETIU1B |
| Job Title | Updated job title. Only include if changing the title. | Cashier |
| Connection | The Square connection to use. | |
| Version | The version number used for optimistic concurrency control. Ensures the object has not been modified by another request. | 1 |
Example Payload for Update Job⤓
Update Location
Updates a location associated with a Square account. | key: updateLocation
| Input | Notes | Example |
|---|---|---|
| Location ID | The unique identifier for the location. | LH2G9VFHJRWKR |
| Location Update | The location data to update in JSON format. See Square Location Object for field details. | |
| Connection | The Square connection to use. |
Example Payload for Update Location⤓
Update Order
Updates an open order by adding, replacing, or deleting fields. | key: updateOrder
| Input | Notes | Example |
|---|---|---|
| Fields to Clear | Array of dot notation paths for fields to clear in JSON format. For example: line_items[uid].note or discounts[uid]. | |
| Idempotency Key | A unique string that identifies this request to ensure idempotent operations. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Order ID | The unique identifier for the order. | CAISEHUwyPjyk5QFnMR1k5axW5YgAQ |
| Order Object | The complete order object in JSON format. See Square Order Object for field details. | |
| Connection | The Square connection to use. |
Example Payload for Update Order⤓
Update Payment
Updates a payment with the APPROVED status. | key: updatePayment
| Input | Notes | Example |
|---|---|---|
| Payment | Payment data in JSON format. Amounts are in cents (smallest currency unit). See Square Payment Object for field details. | |
| Payment ID | The unique identifier for the payment. | KkAkhdMsgzn59SM8A89WgKwekxLZY |
| Connection | The Square connection to use. |
Example Payload for Update Payment⤓
Update Team Member
Updates a team member. | key: updateTeamMember
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. | |
| Team Member | The team member data in JSON format. See Square TeamMember Object for field details. | |
| Team Member ID | The unique identifier for the team member. | 1yJlHapkseYnNPETIU1B |
Example Payload for Update Team Member⤓
Update Webhook Subscription
Updates a webhook subscription. | key: updateWebhookSubscription
| Input | Notes | Example |
|---|---|---|
| Connection | The Square connection to use. | |
| Subscription ID | The unique identifier for the webhook subscription. | wbhk_b35f6b3145074cf9ad513610786c19d5 |
| Webhook Subscription | The updated webhook subscription data in JSON format. Include only the fields to modify. |
Example Payload for Update Webhook Subscription⤓
Upsert Catalog Object
Creates a new or updates the specified CatalogObject. | key: upsertCatalogObject
| Input | Notes | Example |
|---|---|---|
| Catalog Object | Catalog object data in JSON format. See Square Catalog Object for field details. | |
| Idempotency Key | A unique string that identifies this request to ensure idempotent operations. | a7c8e4b1-3f5d-4e2a-9c1b-7d3e5f8a2c6b |
| Connection | The Square connection to use. |
Example Payload for Upsert Catalog Object⤓
Changelog
2026-05-26
Added the New and Updated Payments polling trigger using the Payments API's updated_at_begin_time filter. The trigger walks the cursor stream sorted by UPDATED_AT and partitions records into created and updated buckets based on each payment's created_at and updated_at timestamps
2026-04-30
Updated spectral version
2026-04-08
Updated Square API reference links
2026-03-31
Various modernizations and documentation updates
2026-02-26
Added inline data source for refunds to enable dynamic dropdown selection
2025-11-17
Added Jobs API support with actions for managing jobs:
- List Jobs - List jobs in a seller account, sorted by title
- Create Job - Create a new job with title and tip eligibility
- Retrieve Job - Retrieve a specific job by ID
- Update Job - Update job title, tip eligibility, or version
Added inline data sources for Jobs, Team Members, Invoices, Orders, Payments, and Webhook Subscriptions to enhance data selection capabilities