Square
Square is a payments and point-of-sale commerce platform for taking payments, managing sales, and running business transactions.
- Base URL:
https://connect.squareup.com - Auth:
header:Authorization(pass your key via theapiKeyinput)
Operations
listbankaccounts— GET /v2/bank-accounts — ListBankAccountsgetbankaccountbyv1id— GET /v2/bank-accounts/by-v1-id/{v1_bank_account_id} — GetBankAccountByV1Idgetbankaccount— GET /v2/bank-accounts/{bank_account_id} — GetBankAccountlistbookings— GET /v2/bookings — ListBookingsretrievebusinessbookingprofile— GET /v2/bookings/business-booking-profile — RetrieveBusinessBookingProfilelistbookingcustomattributedefinitions— GET /v2/bookings/custom-attribute-definitions — ListBookingCustomAttributeDefinitions
Inputs
apiKey— your square API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: listbankaccounts
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: listbankaccounts, getbankaccountbyv1id, getbankaccount, listbookings, retrievebusinessbookingprofile, listbookingcustomattributedefinitions |
bank_account_id |
string | no | — | Path parameter bank_account_id (required by some operations). |
v1_bank_account_id |
string | no | — | Path parameter v1_bank_account_id (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |