Integrations
Square
Set up Square OAuth for payment processing and commerce management
Overview
Section titled “Overview”Connect the application’s users to Square for payment processing, inventory management, order tracking, and customer data.
| Property | Value |
|---|---|
| Provider ID | square |
| Category | Payments |
| PKCE | Not supported (Alter Vault uses Square’s confidential-client code flow without PKCE) |
| Token refresh | Automatic |
| Environments | Production and Sandbox |
| Redirect URI | Shown in Developer Portal |
Step 1: Create a Square OAuth App
Section titled “Step 1: Create a Square OAuth App”Go to the Square Developer Portal
Navigate to developer.squareup.com/apps and sign in.
Create a new application
Click Create your first application (or + to add another), enter the app name, and click Save.
Configure the redirect URI
Under OAuth, add the Alter callback URL from the Developer Portal to the Redirect URL field.
Get credentials
Copy the Application ID (Client ID) and Application Secret (Client Secret) from the Credentials tab.
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”Open the Developer Portal
Go to portal.alterauth.com and navigate to the application.
Add Square provider
Go to OAuth Providers > Add Provider > Square.
Enter credentials
- Client ID: Paste the Square Application ID
- Client Secret: Paste the Square Application Secret
Select scopes
Choose the scopes the application needs.
Save
Click Save. The provider is now active.
Available Scopes
Section titled “Available Scopes”| Scope | Description |
|---|---|
MERCHANT_PROFILE_READ | Read merchant profile information |
PAYMENTS_READ | Read payment records |
PAYMENTS_WRITE | Create and update payments |
ORDERS_READ | Read order records |
ORDERS_WRITE | Create and update orders |
ITEMS_READ | Read catalog item records |
ITEMS_WRITE | Create and update catalog items |
CUSTOMERS_READ | Read customer records |
CUSTOMERS_WRITE | Create and update customer records |
MERCHANT_PROFILE_WRITE | Create and update the seller’s locations and merchant profile |
PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS | Route part of a payment to additional recipients when creating it |
PAYMENTS_WRITE_IN_PERSON | Process in-person payments and refunds |
PAYMENTS_WRITE_SHARED_ONFILE | Process payments on behalf of a seller using a shared on-file payment method |
INVOICES_READ | Read invoices |
INVOICES_WRITE | Create, update, publish and cancel invoices |
INVENTORY_READ | Read inventory counts and changes |
INVENTORY_WRITE | Record inventory adjustments and counts |
SUBSCRIPTIONS_READ | Read customer subscriptions |
SUBSCRIPTIONS_WRITE | Create and manage customer subscriptions |
GIFTCARDS_READ | Read gift cards and their activities |
GIFTCARDS_WRITE | Create gift cards and record gift card activities |
LOYALTY_READ | Read loyalty programs, accounts and promotions |
LOYALTY_WRITE | Manage loyalty accounts, points and promotions |
APPOINTMENTS_READ | Read bookings and availability (buyer-level) |
APPOINTMENTS_WRITE | Create and manage bookings (buyer-level) |
APPOINTMENTS_ALL_READ | Read every booking and availability for the seller (seller-level, with APPOINTMENTS_READ) |
APPOINTMENTS_ALL_WRITE | Create and manage any booking for the seller (seller-level, with APPOINTMENTS_WRITE) |
APPOINTMENTS_BUSINESS_SETTINGS_READ | Read the business and team member booking profiles |
EMPLOYEES_READ | Read team members and their wage settings |
EMPLOYEES_WRITE | Create and update team members and their wage settings |
TIMECARDS_READ | Read shifts and timecards |
TIMECARDS_WRITE | Create and update shifts and timecards |
TIMECARDS_SETTINGS_READ | Read break types and workweek configurations |
TIMECARDS_SETTINGS_WRITE | Create and update break types and workweek configurations |
DISPUTES_READ | Read payment disputes and their evidence |
DISPUTES_WRITE | Accept disputes and submit dispute evidence |
BANK_ACCOUNTS_READ | Read the bank accounts linked to the Square account |
BANK_ACCOUNTS_WRITE | Link bank accounts to the Square account |
PAYOUTS_READ | Read payouts and payout entries |
CASH_DRAWER_READ | Read cash drawer shifts and their events |
DEVICES_READ | Read Square devices |
DEVICE_CREDENTIAL_MANAGEMENT | Create and read device codes for pairing a Square Terminal |
VENDOR_READ | Read the seller’s vendors |
VENDOR_WRITE | Create and update the seller’s vendors |
ONLINE_STORE_SITE_READ | List the seller’s Square Online sites |
ONLINE_STORE_SNIPPETS_READ | Read snippets on Square Online sites |
ONLINE_STORE_SNIPPETS_WRITE | Add, update and remove snippets on Square Online sites |
- Square has no scope selection in its Developer Console — the scopes selected in Alter are requested in the authorization URL when a user connects the app.
- Square scopes use SCREAMING_SNAKE_CASE (e.g.
PAYMENTS_READ). - Square access tokens expire after 30 days; Alter refreshes them automatically.
- Square’s sandbox is a separate OAuth deployment with its own Application ID and secret. Select the Sandbox environment in Alter (the Environment selector on the configuration form, or
--environment sandboxon the CLI) when entering sandbox credentials; a sandbox credential is rejected at the production authorize endpoint. - Policy families changed on operations cataloged before November 2026:
CreatePayment,CompletePayment,RefundPayment,PayOrder,DeleteInvoice,ObtainTokenandRenewTokenalso carrywrite;CancelPaymentcarriespaymentandwrite;PublishInvoicealso carriespaymentandwrite;UpdateInvoiceandCancelInvoicealso carrypaymentandsend;UpsertCatalogObjectalso carriesadminanddelete(Square deletes inlined children, such as variations, that an upsert omits;BatchUpsertCatalogObjectscarries the same families). A rule naming one of those families now matches these operations too. Most of them, andCreateOrder,SearchOrders,CreateInvoice,CreateCustomer,SearchCustomersandBatchRetrieveInventoryCounts, now project body parameters, so when a parameter-aware rule judges one of them, a request body key Square does not document for the operation is refused. - Production authorization requests carry
session=false, so a seller who manages several Square accounts under one login is asked to sign in and pick the account being connected. The sandbox ignores this parameter. - See the Square OAuth API documentation for more details.
- A grant narrowed to a subset of its scopes can call an operation only when it keeps every scope Square lists for it (
CreateInvoiceneeds bothINVOICES_WRITEandORDERS_WRITE); the Payouts operations needPAYOUTS_READ, andCalculateOrderand the Terminal dismiss operations need none. Some scopes count whenever the connection holds them, because they change what the call reaches: a narrowed grant on a connection that holdsAPPOINTMENTS_ALL_READorAPPOINTMENTS_ALL_WRITE(seller-level bookings) must keep it to call the Bookings operations, one on a connection that holdsPAYMENTS_WRITE_ADDITIONAL_RECIPIENTSmust keep it to call any operation whose request can set an application fee (app_fee_money) or additional recipients (additional_recipients):CreatePayment,UpdatePayment,RefundPayment,CreateTerminalCheckout,CreatePaymentLink,UpdatePaymentLink,CreateCheckoutandCharge; and one on a connection that holdsPAYMENTS_WRITE_SHARED_ONFILEmust keep it to callCreatePayment. The Events and Webhook Subscriptions APIs take no OAuth token, so a narrowed grant cannot call them. PAYMENTS_WRITE_IN_PERSONgatesCreateMobileAuthorizationCode(the Reader SDK sign-in code, refused by default as a credential).PAYMENTS_WRITE_SHARED_ONFILEgates no endpoint of its own: Square requires it onCreatePaymentwhen the charge uses a card on file shared from another application, and a request does not show which kind of card it charges, so while the connection holds the scope, a grant narrowed away from it cannot callCreatePaymentat all.- The v2 Team API employee routes (
GET /v2/employees,GET /v2/employees/{id}) are cataloged asListEmployeesandRetrieveEmployee; the retired v1 employee routes (GET /v1/me/employees,GET /v1/me/employees/{employee_id}) are cataloged asV1ListEmployeesandV1RetrieveEmployee.
November 18, 2026 release and migration
Section titled “November 18, 2026 release and migration”This release replaces 685 parameter-selector names across 126 operations and changes 68 operation family sets from the previous catalog. Device-code routes no longer carry the default credential refusal; their pairing-code responses still withhold payload capture. Capture is additionally withheld on 20 payment, invoice, card and bank-account routes because their responses can contain narrow secrets. CreateSubscription no longer accepts the obsolete plan_id field; use plan_variation_id.
Before using this catalog, update stored rules to the selector names in the generated operation reference and recheck their family matches. Every payment operation also carries write, including deletions. Each repeated amount control has a separately named _max selector for its largest individual amount: use it for thresholds across differently priced line items; it is not an order total. Existing scalar selectors remain independently available. Review device-code permissions explicitly and expect captures to be absent on the protected routes even when capture is enabled for the application.
Policy-cataloged operations
Section titled “Policy-cataloged operations”Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.
| Operation ID | Families | Method | Provider path | Notes |
|---|---|---|---|---|
DeleteBookingCustomAttributeDefinition | admin, delete, send | DELETE | /v2/bookings/custom-attribute-definitions/{key} | — |
DeleteBookingCustomAttribute | delete, send | DELETE | /v2/bookings/{booking_id}/custom-attributes/{key} | — |
DeleteCatalogObject | delete, payment, send, write | DELETE | /v2/catalog/object/{object_id} | — |
DeleteCustomerCustomAttributeDefinition | admin, delete, send | DELETE | /v2/customers/custom-attribute-definitions/{key} | — |
DeleteCustomerGroup | delete | DELETE | /v2/customers/groups/{group_id} | — |
DeleteCustomer | delete, send | DELETE | /v2/customers/{customer_id} | — |
DeleteCustomerCard | delete | DELETE | /v2/customers/{customer_id}/cards/{card_id} | — |
DeleteCustomerCustomAttribute | delete, send | DELETE | /v2/customers/{customer_id}/custom-attributes/{key} | — |
RemoveGroupFromCustomer | delete, send | DELETE | /v2/customers/{customer_id}/groups/{group_id} | — |
DeleteDisputeEvidence | delete, send | DELETE | /v2/disputes/{dispute_id}/evidence/{evidence_id} | — |
DeleteInvoice | delete, send, write | DELETE | /v2/invoices/{invoice_id} | — |
DeleteInvoiceAttachment | delete, payment, send, write | DELETE | /v2/invoices/{invoice_id}/attachments/{attachment_id} | — |
DeleteBreakType | delete, payment, write | DELETE | /v2/labor/break-types/{id} | — |
DeleteShift | delete, payment, send, write | DELETE | /v2/labor/shifts/{id} | — |
DeleteTimecard | delete, payment, send, write | DELETE | /v2/labor/timecards/{id} | — |
DeleteLocationCustomAttributeDefinition | admin, delete, send | DELETE | /v2/locations/custom-attribute-definitions/{key} | — |
DeleteLocationCustomAttribute | delete, send | DELETE | /v2/locations/{location_id}/custom-attributes/{key} | — |
DeleteLoyaltyReward | delete, payment, send, write | DELETE | /v2/loyalty/rewards/{reward_id} | — |
DeleteMerchantCustomAttributeDefinition | admin, delete, send | DELETE | /v2/merchants/custom-attribute-definitions/{key} | — |
DeleteMerchantCustomAttribute | delete, send | DELETE | /v2/merchants/{merchant_id}/custom-attributes/{key} | — |
DeletePaymentLink | delete, payment, write | DELETE | /v2/online-checkout/payment-links/{id} | — |
DeleteOrderCustomAttributeDefinition | admin, delete, send | DELETE | /v2/orders/custom-attribute-definitions/{key} | — |
DeleteOrderCustomAttribute | delete, send | DELETE | /v2/orders/{order_id}/custom-attributes/{custom_attribute_key} | — |
DeleteSnippet | admin, delete | DELETE | /v2/sites/{site_id}/snippet | — |
DeleteSubscriptionAction | delete, payment, send, write | DELETE | /v2/subscriptions/{subscription_id}/actions/{action_id} | — |
DeleteTransferOrder | delete, send | DELETE | /v2/transfer-orders/{transfer_order_id} | — |
V1ListOrders | read | GET | /v1/{location_id}/orders | allowed; its secret is never stored in a payload capture |
V1RetrieveOrder | read | GET | /v1/{location_id}/orders/{order_id} | allowed; its secret is never stored in a payload capture |
ListBankAccounts | read | GET | /v2/bank-accounts | — |
GetBankAccountByV1Id | read | GET | /v2/bank-accounts/by-v1-id/{v1_bank_account_id} | — |
GetBankAccount | read | GET | /v2/bank-accounts/{bank_account_id} | — |
ListBookings | read | GET | /v2/bookings | — |
RetrieveBusinessBookingProfile | read | GET | /v2/bookings/business-booking-profile | — |
ListBookingCustomAttributeDefinitions | read | GET | /v2/bookings/custom-attribute-definitions | — |
RetrieveBookingCustomAttributeDefinition | read | GET | /v2/bookings/custom-attribute-definitions/{key} | — |
ListLocationBookingProfiles | read | GET | /v2/bookings/location-booking-profiles | — |
RetrieveLocationBookingProfile | read | GET | /v2/bookings/location-booking-profiles/{location_id} | — |
ListTeamMemberBookingProfiles | read | GET | /v2/bookings/team-member-booking-profiles | — |
RetrieveTeamMemberBookingProfile | read | GET | /v2/bookings/team-member-booking-profiles/{team_member_id} | — |
RetrieveBooking | read | GET | /v2/bookings/{booking_id} | — |
ListBookingCustomAttributes | read | GET | /v2/bookings/{booking_id}/custom-attributes | — |
RetrieveBookingCustomAttribute | read | GET | /v2/bookings/{booking_id}/custom-attributes/{key} | — |
ListCards | read | GET | /v2/cards | — |
RetrieveCard | read | GET | /v2/cards/{card_id} | — |
ListCashDrawerShifts | read | GET | /v2/cash-drawers/shifts | — |
RetrieveCashDrawerShift | read | GET | /v2/cash-drawers/shifts/{shift_id} | — |
ListCashDrawerShiftEvents | read | GET | /v2/cash-drawers/shifts/{shift_id}/events | — |
CatalogInfo | read | GET | /v2/catalog/info | — |
ListCatalog | read | GET | /v2/catalog/list | — |
RetrieveCatalogObject | read | GET | /v2/catalog/object/{object_id} | — |
ListChannels | read | GET | /v2/channels | — |
RetrieveChannel | read | GET | /v2/channels/{channel_id} | — |
ListCustomers | read | GET | /v2/customers | — |
ListCustomerCustomAttributeDefinitions | read | GET | /v2/customers/custom-attribute-definitions | — |
RetrieveCustomerCustomAttributeDefinition | read | GET | /v2/customers/custom-attribute-definitions/{key} | — |
ListCustomerGroups | read | GET | /v2/customers/groups | — |
RetrieveCustomerGroup | read | GET | /v2/customers/groups/{group_id} | — |
ListCustomerSegments | read | GET | /v2/customers/segments | — |
RetrieveCustomerSegment | read | GET | /v2/customers/segments/{segment_id} | — |
RetrieveCustomer | read | GET | /v2/customers/{customer_id} | — |
ListCustomerCustomAttributes | read | GET | /v2/customers/{customer_id}/custom-attributes | — |
RetrieveCustomerCustomAttribute | read | GET | /v2/customers/{customer_id}/custom-attributes/{key} | — |
ListDevices | read | GET | /v2/devices | — |
ListDeviceCodes | read | GET | /v2/devices/codes | allowed; its secret is never stored in a payload capture |
GetDeviceCode | read | GET | /v2/devices/codes/{id} | allowed; its secret is never stored in a payload capture |
GetDevice | read | GET | /v2/devices/{device_id} | — |
ListDisputes | read | GET | /v2/disputes | — |
RetrieveDispute | read | GET | /v2/disputes/{dispute_id} | — |
ListDisputeEvidence | read | GET | /v2/disputes/{dispute_id}/evidence | — |
RetrieveDisputeEvidence | read | GET | /v2/disputes/{dispute_id}/evidence/{evidence_id} | — |
ListEmployees | read | GET | /v2/employees | — |
RetrieveEmployee | read | GET | /v2/employees/{id} | — |
ListGiftCards | read | GET | /v2/gift-cards | allowed; its secret is never stored in a payload capture |
ListGiftCardActivities | read | GET | /v2/gift-cards/activities | allowed; its secret is never stored in a payload capture |
RetrieveGiftCard | read | GET | /v2/gift-cards/{id} | allowed; its secret is never stored in a payload capture |
ListInventoryAdjustmentReasons | read | GET | /v2/inventory/adjustment-reasons | — |
DeprecatedRetrieveInventoryAdjustment | read | GET | /v2/inventory/adjustment/{adjustment_id} | — |
RetrieveInventoryAdjustment | read | GET | /v2/inventory/adjustments/{adjustment_id} | — |
DeprecatedRetrieveInventoryPhysicalCount | read | GET | /v2/inventory/physical-count/{physical_count_id} | — |
RetrieveInventoryPhysicalCount | read | GET | /v2/inventory/physical-counts/{physical_count_id} | — |
RetrieveInventoryCount | read | GET | /v2/inventory/{catalog_object_id} | — |
RetrieveInventoryChanges | read | GET | /v2/inventory/{catalog_object_id}/changes | — |
ListInvoices | read | GET | /v2/invoices | allowed; its secret is never stored in a payload capture |
GetInvoice | read | GET | /v2/invoices/{invoice_id} | allowed; its secret is never stored in a payload capture |
ListBreakTypes | read | GET | /v2/labor/break-types | — |
GetBreakType | read | GET | /v2/labor/break-types/{id} | — |
ListEmployeeWages | read | GET | /v2/labor/employee-wages | — |
GetEmployeeWage | read | GET | /v2/labor/employee-wages/{id} | — |
RetrieveScheduledShift | read | GET | /v2/labor/scheduled-shifts/{id} | — |
GetShift | read | GET | /v2/labor/shifts/{id} | — |
ListTeamMemberWages | read | GET | /v2/labor/team-member-wages | — |
GetTeamMemberWage | read | GET | /v2/labor/team-member-wages/{id} | — |
RetrieveTimecard | read | GET | /v2/labor/timecards/{id} | — |
ListWorkweekConfigs | read | GET | /v2/labor/workweek-configs | — |
ListLocations | read | GET | /v2/locations | — |
ListLocationCustomAttributeDefinitions | read | GET | /v2/locations/custom-attribute-definitions | — |
RetrieveLocationCustomAttributeDefinition | read | GET | /v2/locations/custom-attribute-definitions/{key} | — |
RetrieveLocation | read | GET | /v2/locations/{location_id} | — |
ListLocationCustomAttributes | read | GET | /v2/locations/{location_id}/custom-attributes | — |
RetrieveLocationCustomAttribute | read | GET | /v2/locations/{location_id}/custom-attributes/{key} | — |
ListTransactions | read | GET | /v2/locations/{location_id}/transactions | — |
RetrieveTransaction | read | GET | /v2/locations/{location_id}/transactions/{transaction_id} | — |
RetrieveLoyaltyAccount | read | GET | /v2/loyalty/accounts/{account_id} | — |
ListLoyaltyPrograms | read | GET | /v2/loyalty/programs | — |
RetrieveLoyaltyProgram | read | GET | /v2/loyalty/programs/{program_id} | — |
ListLoyaltyPromotions | read | GET | /v2/loyalty/programs/{program_id}/promotions | — |
RetrieveLoyaltyPromotion | read | GET | /v2/loyalty/programs/{program_id}/promotions/{promotion_id} | — |
RetrieveLoyaltyReward | read | GET | /v2/loyalty/rewards/{reward_id} | — |
ListMerchants | read | GET | /v2/merchants | — |
ListMerchantCustomAttributeDefinitions | read | GET | /v2/merchants/custom-attribute-definitions | — |
RetrieveMerchantCustomAttributeDefinition | read | GET | /v2/merchants/custom-attribute-definitions/{key} | — |
RetrieveMerchant | read | GET | /v2/merchants/{merchant_id} | — |
ListMerchantCustomAttributes | read | GET | /v2/merchants/{merchant_id}/custom-attributes | — |
RetrieveMerchantCustomAttribute | read | GET | /v2/merchants/{merchant_id}/custom-attributes/{key} | — |
RetrieveLocationSettings | read | GET | /v2/online-checkout/location-settings/{location_id} | — |
RetrieveMerchantSettings | read | GET | /v2/online-checkout/merchant-settings | — |
ListPaymentLinks | read | GET | /v2/online-checkout/payment-links | allowed; its secret is never stored in a payload capture |
RetrievePaymentLink | read | GET | /v2/online-checkout/payment-links/{id} | allowed; its secret is never stored in a payload capture |
ListOrderCustomAttributeDefinitions | read | GET | /v2/orders/custom-attribute-definitions | — |
RetrieveOrderCustomAttributeDefinition | read | GET | /v2/orders/custom-attribute-definitions/{key} | — |
RetrieveOrder | read | GET | /v2/orders/{order_id} | — |
ListOrderCustomAttributes | read | GET | /v2/orders/{order_id}/custom-attributes | — |
RetrieveOrderCustomAttribute | read | GET | /v2/orders/{order_id}/custom-attributes/{custom_attribute_key} | — |
ListPayments | read | GET | /v2/payments | allowed; its secret is never stored in a payload capture |
GetPayment | read | GET | /v2/payments/{payment_id} | allowed; its secret is never stored in a payload capture |
ListPayouts | read | GET | /v2/payouts | — |
GetPayout | read | GET | /v2/payouts/{payout_id} | — |
ListPayoutEntries | read | GET | /v2/payouts/{payout_id}/payout-entries | — |
ListPaymentRefunds | read | GET | /v2/refunds | — |
GetPaymentRefund | read | GET | /v2/refunds/{refund_id} | — |
ListSites | read | GET | /v2/sites | — |
RetrieveSnippet | read | GET | /v2/sites/{site_id}/snippet | — |
RetrieveSubscription | read | GET | /v2/subscriptions/{subscription_id} | — |
ListSubscriptionEvents | read | GET | /v2/subscriptions/{subscription_id}/events | — |
ListJobs | read | GET | /v2/team-members/jobs | — |
RetrieveJob | read | GET | /v2/team-members/jobs/{job_id} | — |
RetrieveTeamMember | read | GET | /v2/team-members/{team_member_id} | — |
RetrieveWageSetting | read | GET | /v2/team-members/{team_member_id}/wage-setting | — |
GetTerminalAction | read | GET | /v2/terminals/actions/{action_id} | — |
GetTerminalCheckout | read | GET | /v2/terminals/checkouts/{checkout_id} | — |
GetTerminalRefund | read | GET | /v2/terminals/refunds/{terminal_refund_id} | — |
RetrieveTransferOrder | read | GET | /v2/transfer-orders/{transfer_order_id} | — |
RetrieveVendor | read | GET | /v2/vendors/{vendor_id} | — |
RetrieveTokenStatus | read | POST | /oauth2/token/status | — |
RegisterDomain | admin, write | POST | /v2/apple-pay/domains | — |
CreateBankAccount | write | POST | /v2/bank-accounts | allowed; its secret is never stored in a payload capture |
DisableBankAccount | delete, send, write | POST | /v2/bank-accounts/{bank_account_id}/disable | — |
CreateBooking | send, write | POST | /v2/bookings | — |
SearchAvailability | read | POST | /v2/bookings/availability/search | — |
BulkRetrieveBookings | read | POST | /v2/bookings/bulk-retrieve | — |
CreateBookingCustomAttributeDefinition | admin, send, write | POST | /v2/bookings/custom-attribute-definitions | — |
BulkDeleteBookingCustomAttributes | delete, send | POST | /v2/bookings/custom-attributes/bulk-delete | — |
BulkUpsertBookingCustomAttributes | send, write | POST | /v2/bookings/custom-attributes/bulk-upsert | — |
BulkRetrieveTeamMemberBookingProfiles | read | POST | /v2/bookings/team-member-booking-profiles/bulk-retrieve | — |
CancelBooking | delete, send, write | POST | /v2/bookings/{booking_id}/cancel | — |
CreateCard | send, write | POST | /v2/cards | allowed; its secret is never stored in a payload capture |
DisableCard | delete, send, write | POST | /v2/cards/{card_id}/disable | — |
BatchDeleteCatalogObjects | delete, payment, send, write | POST | /v2/catalog/batch-delete | — |
BatchRetrieveCatalogObjects | read | POST | /v2/catalog/batch-retrieve | — |
BatchUpsertCatalogObjects | admin, delete, payment, send, write | POST | /v2/catalog/batch-upsert | — |
CreateCatalogImage | send, write | POST | /v2/catalog/images | — |
UpsertCatalogObject | admin, delete, payment, send, write | POST | /v2/catalog/object | — |
SearchCatalogObjects | read | POST | /v2/catalog/search | — |
SearchCatalogItems | read | POST | /v2/catalog/search-catalog-items | — |
UpdateItemModifierLists | delete, payment, send, write | POST | /v2/catalog/update-item-modifier-lists | — |
UpdateItemTaxes | delete, payment, send, write | POST | /v2/catalog/update-item-taxes | — |
BulkRetrieveChannels | read | POST | /v2/channels/bulk-retrieve | — |
CreateCustomer | send, write | POST | /v2/customers | — |
BulkCreateCustomers | send, write | POST | /v2/customers/bulk-create | — |
BulkDeleteCustomers | delete, send | POST | /v2/customers/bulk-delete | — |
BulkRetrieveCustomers | read | POST | /v2/customers/bulk-retrieve | — |
BulkUpdateCustomers | delete, send, write | POST | /v2/customers/bulk-update | — |
CreateCustomerCustomAttributeDefinition | admin, send, write | POST | /v2/customers/custom-attribute-definitions | — |
BulkUpsertCustomerCustomAttributes | send, write | POST | /v2/customers/custom-attributes/bulk-upsert | — |
CreateCustomerGroup | write | POST | /v2/customers/groups | — |
SearchCustomers | read | POST | /v2/customers/search | — |
CreateCustomerCard | write | POST | /v2/customers/{customer_id}/cards | allowed; its secret is never stored in a payload capture |
UpsertCustomerCustomAttribute | send, write | POST | /v2/customers/{customer_id}/custom-attributes/{key} | — |
CreateDeviceCode | admin, write | POST | /v2/devices/codes | allowed; its secret is never stored in a payload capture |
AcceptDispute | payment, send, write | POST | /v2/disputes/{dispute_id}/accept | — |
CreateDisputeEvidenceFile | send, write | POST | /v2/disputes/{dispute_id}/evidence-files | — |
CreateDisputeEvidenceText | send, write | POST | /v2/disputes/{dispute_id}/evidence-text | — |
SubmitEvidence | payment, send, write | POST | /v2/disputes/{dispute_id}/submit-evidence | — |
CreateGiftCard | send, write | POST | /v2/gift-cards | allowed; its secret is never stored in a payload capture |
CreateGiftCardActivity | delete, payment, send, write | POST | /v2/gift-cards/activities | allowed; its secret is never stored in a payload capture |
RetrieveGiftCardFromGAN | read | POST | /v2/gift-cards/from-gan | allowed; its secret is never stored in a payload capture |
RetrieveGiftCardFromNonce | read | POST | /v2/gift-cards/from-nonce | allowed; its secret is never stored in a payload capture |
LinkCustomerToGiftCard | send, write | POST | /v2/gift-cards/{gift_card_id}/link-customer | allowed; its secret is never stored in a payload capture |
UnlinkCustomerFromGiftCard | delete, send | POST | /v2/gift-cards/{gift_card_id}/unlink-customer | allowed; its secret is never stored in a payload capture |
CreateInventoryAdjustmentReason | write | POST | /v2/inventory/adjustment-reasons/create | — |
DeleteInventoryAdjustmentReason | delete, write | POST | /v2/inventory/adjustment-reasons/delete | — |
RestoreInventoryAdjustmentReason | write | POST | /v2/inventory/adjustment-reasons/restore | — |
RetrieveInventoryAdjustmentReason | read | POST | /v2/inventory/adjustment-reasons/retrieve | — |
DeprecatedBatchChangeInventory | send, write | POST | /v2/inventory/batch-change | — |
DeprecatedBatchRetrieveInventoryChanges | read | POST | /v2/inventory/batch-retrieve-changes | — |
DeprecatedBatchRetrieveInventoryCounts | read | POST | /v2/inventory/batch-retrieve-counts | — |
BatchChangeInventory | send, write | POST | /v2/inventory/changes/batch-create | — |
BatchRetrieveInventoryChanges | read | POST | /v2/inventory/changes/batch-retrieve | — |
BatchRetrieveInventoryCounts | read | POST | /v2/inventory/counts/batch-retrieve | — |
CreateInvoice | send, write | POST | /v2/invoices | — |
SearchInvoices | read | POST | /v2/invoices/search | allowed; its secret is never stored in a payload capture |
CreateInvoiceAttachment | payment, send, write | POST | /v2/invoices/{invoice_id}/attachments | — |
CancelInvoice | delete, payment, send, write | POST | /v2/invoices/{invoice_id}/cancel | allowed; its secret is never stored in a payload capture |
PublishInvoice | payment, send, write | POST | /v2/invoices/{invoice_id}/publish | allowed; its secret is never stored in a payload capture |
CreateBreakType | payment, write | POST | /v2/labor/break-types | — |
CreateScheduledShift | send, write | POST | /v2/labor/scheduled-shifts | — |
BulkPublishScheduledShifts | delete, send, write | POST | /v2/labor/scheduled-shifts/bulk-publish | — |
SearchScheduledShifts | read | POST | /v2/labor/scheduled-shifts/search | — |
PublishScheduledShift | delete, send, write | POST | /v2/labor/scheduled-shifts/{id}/publish | — |
CreateShift | payment, send, write | POST | /v2/labor/shifts | — |
SearchShifts | read | POST | /v2/labor/shifts/search | — |
CreateTimecard | payment, send, write | POST | /v2/labor/timecards | — |
SearchTimecards | read | POST | /v2/labor/timecards/search | — |
CreateLocation | admin, send, write | POST | /v2/locations | — |
CreateLocationCustomAttributeDefinition | admin, send, write | POST | /v2/locations/custom-attribute-definitions | — |
BulkDeleteLocationCustomAttributes | delete, send | POST | /v2/locations/custom-attributes/bulk-delete | — |
BulkUpsertLocationCustomAttributes | send, write | POST | /v2/locations/custom-attributes/bulk-upsert | — |
CreateCheckout | payment, send, write | POST | /v2/locations/{location_id}/checkouts | allowed; its secret is never stored in a payload capture |
UpsertLocationCustomAttribute | send, write | POST | /v2/locations/{location_id}/custom-attributes/{key} | — |
CreateLoyaltyAccount | send, write | POST | /v2/loyalty/accounts | — |
SearchLoyaltyAccounts | read | POST | /v2/loyalty/accounts/search | — |
AccumulateLoyaltyPoints | payment, send, write | POST | /v2/loyalty/accounts/{account_id}/accumulate | — |
AdjustLoyaltyPoints | payment, send, write | POST | /v2/loyalty/accounts/{account_id}/adjust | — |
SearchLoyaltyEvents | read | POST | /v2/loyalty/events/search | — |
CalculateLoyaltyPoints | read | POST | /v2/loyalty/programs/{program_id}/calculate | — |
CreateLoyaltyPromotion | payment, send, write | POST | /v2/loyalty/programs/{program_id}/promotions | — |
CancelLoyaltyPromotion | delete, payment, send, write | POST | /v2/loyalty/programs/{program_id}/promotions/{promotion_id}/cancel | — |
CreateLoyaltyReward | payment, send, write | POST | /v2/loyalty/rewards | — |
SearchLoyaltyRewards | read | POST | /v2/loyalty/rewards/search | — |
RedeemLoyaltyReward | payment, send, write | POST | /v2/loyalty/rewards/{reward_id}/redeem | — |
CreateMerchantCustomAttributeDefinition | admin, send, write | POST | /v2/merchants/custom-attribute-definitions | — |
BulkDeleteMerchantCustomAttributes | delete, send | POST | /v2/merchants/custom-attributes/bulk-delete | — |
BulkUpsertMerchantCustomAttributes | send, write | POST | /v2/merchants/custom-attributes/bulk-upsert | — |
UpsertMerchantCustomAttribute | send, write | POST | /v2/merchants/{merchant_id}/custom-attributes/{key} | — |
CreatePaymentLink | payment, send, write | POST | /v2/online-checkout/payment-links | allowed; its secret is never stored in a payload capture |
CreateOrder | payment, send, write | POST | /v2/orders | — |
BatchRetrieveOrders | read | POST | /v2/orders/batch-retrieve | — |
CalculateOrder | read | POST | /v2/orders/calculate | — |
CloneOrder | write | POST | /v2/orders/clone | — |
CreateOrderCustomAttributeDefinition | admin, send, write | POST | /v2/orders/custom-attribute-definitions | — |
BulkDeleteOrderCustomAttributes | delete, send | POST | /v2/orders/custom-attributes/bulk-delete | — |
BulkUpsertOrderCustomAttributes | send, write | POST | /v2/orders/custom-attributes/bulk-upsert | — |
SearchOrders | read | POST | /v2/orders/search | — |
UpsertOrderCustomAttribute | send, write | POST | /v2/orders/{order_id}/custom-attributes/{custom_attribute_key} | — |
PayOrder | delete, payment, write | POST | /v2/orders/{order_id}/pay | — |
CreatePayment | payment, send, write | POST | /v2/payments | allowed; its secret is never stored in a payload capture |
CancelPaymentByIdempotencyKey | delete, payment, send, write | POST | /v2/payments/cancel | — |
CancelPayment | delete, payment, send, write | POST | /v2/payments/{payment_id}/cancel | allowed; its secret is never stored in a payload capture |
CompletePayment | payment, send, write | POST | /v2/payments/{payment_id}/complete | allowed; its secret is never stored in a payload capture |
RefundPayment | payment, send, write | POST | /v2/refunds | allowed; its secret is never stored in a payload capture |
UpsertSnippet | admin, send, write | POST | /v2/sites/{site_id}/snippet | — |
CreateSubscription | payment, send, write | POST | /v2/subscriptions | — |
BulkSwapPlan | payment, send, write | POST | /v2/subscriptions/bulk-swap-plan | — |
SearchSubscriptions | read | POST | /v2/subscriptions/search | — |
ChangeBillingAnchorDate | payment, send, write | POST | /v2/subscriptions/{subscription_id}/billing-anchor | — |
CancelSubscription | delete, payment, send, write | POST | /v2/subscriptions/{subscription_id}/cancel | — |
PauseSubscription | delete, payment, send, write | POST | /v2/subscriptions/{subscription_id}/pause | — |
ResumeSubscription | payment, send, write | POST | /v2/subscriptions/{subscription_id}/resume | — |
SwapPlan | payment, send, write | POST | /v2/subscriptions/{subscription_id}/swap-plan | — |
CreateTeamMember | admin, payment, send, write | POST | /v2/team-members | — |
BulkCreateTeamMembers | admin, payment, send, write | POST | /v2/team-members/bulk-create | — |
BulkUpdateTeamMembers | admin, delete, payment, send, write | POST | /v2/team-members/bulk-update | account-security or privilege changes are refused by default when (body.@TeamMember.status is one of [“ACTIVE”] ({"missing”: false, “type”: “string”, “valid_values”: [“ACTIVE”, “INACTIVE"]})) or (body.@TeamMember.assigned_locations is present ({"missing”: false})) (an explicit credential_minting allowance can allow the reviewed request); unreadable or invalid effect inputs are refused when the request condition reads them |
CreateJob | payment, send, write | POST | /v2/team-members/jobs | — |
SearchTeamMembers | read | POST | /v2/team-members/search | — |
CreateTerminalAction | send, write | POST | /v2/terminals/actions | — |
SearchTerminalActions | read | POST | /v2/terminals/actions/search | — |
CancelTerminalAction | delete, send, write | POST | /v2/terminals/actions/{action_id}/cancel | — |
DismissTerminalAction | delete, send, write | POST | /v2/terminals/actions/{action_id}/dismiss | — |
CreateTerminalCheckout | payment, send, write | POST | /v2/terminals/checkouts | — |
SearchTerminalCheckouts | read | POST | /v2/terminals/checkouts/search | — |
CancelTerminalCheckout | delete, payment, send, write | POST | /v2/terminals/checkouts/{checkout_id}/cancel | — |
DismissTerminalCheckout | delete, payment, send, write | POST | /v2/terminals/checkouts/{checkout_id}/dismiss | — |
CreateTerminalRefund | payment, send, write | POST | /v2/terminals/refunds | — |
SearchTerminalRefunds | read | POST | /v2/terminals/refunds/search | — |
CancelTerminalRefund | delete, payment, send, write | POST | /v2/terminals/refunds/{terminal_refund_id}/cancel | — |
DismissTerminalRefund | delete, payment, send, write | POST | /v2/terminals/refunds/{terminal_refund_id}/dismiss | — |
CreateTransferOrder | send, write | POST | /v2/transfer-orders | — |
SearchTransferOrders | read | POST | /v2/transfer-orders/search | — |
CancelTransferOrder | delete, send, write | POST | /v2/transfer-orders/{transfer_order_id}/cancel | — |
ReceiveTransferOrder | send, write | POST | /v2/transfer-orders/{transfer_order_id}/receive | — |
StartTransferOrder | send, write | POST | /v2/transfer-orders/{transfer_order_id}/start | — |
BulkCreateVendors | send, write | POST | /v2/vendors/bulk-create | — |
BulkRetrieveVendors | read | POST | /v2/vendors/bulk-retrieve | — |
CreateVendor | send, write | POST | /v2/vendors/create | — |
SearchVendors | read | POST | /v2/vendors/search | — |
V1UpdateOrder | delete, payment, send, write | PUT | /v1/{location_id}/orders/{order_id} | allowed; its secret is never stored in a payload capture |
UpdateBookingCustomAttributeDefinition | admin, send, write | PUT | /v2/bookings/custom-attribute-definitions/{key} | — |
UpdateBooking | send, write | PUT | /v2/bookings/{booking_id} | — |
UpsertBookingCustomAttribute | send, write | PUT | /v2/bookings/{booking_id}/custom-attributes/{key} | — |
UpdateCatalogImage | send, write | PUT | /v2/catalog/images/{image_id} | — |
UpdateCustomerCustomAttributeDefinition | admin, send, write | PUT | /v2/customers/custom-attribute-definitions/{key} | — |
UpdateCustomerGroup | write | PUT | /v2/customers/groups/{group_id} | — |
UpdateCustomer | delete, send, write | PUT | /v2/customers/{customer_id} | — |
AddGroupToCustomer | send, write | PUT | /v2/customers/{customer_id}/groups/{group_id} | — |
UpdateInventoryAdjustmentReason | write | PUT | /v2/inventory/adjustment-reasons/update | — |
UpdateInventoryAdjustment | write | PUT | /v2/inventory/adjustments/update | — |
UpdateInvoice | delete, payment, send, write | PUT | /v2/invoices/{invoice_id} | allowed; its secret is never stored in a payload capture |
UpdateBreakType | payment, write | PUT | /v2/labor/break-types/{id} | — |
UpdateScheduledShift | delete, send, write | PUT | /v2/labor/scheduled-shifts/{id} | — |
UpdateShift | delete, payment, send, write | PUT | /v2/labor/shifts/{id} | — |
UpdateTimecard | delete, payment, send, write | PUT | /v2/labor/timecards/{id} | — |
UpdateWorkweekConfig | admin, payment, write | PUT | /v2/labor/workweek-configs/{id} | — |
UpdateLocationCustomAttributeDefinition | admin, send, write | PUT | /v2/locations/custom-attribute-definitions/{key} | — |
UpdateLocation | admin, delete, send, write | PUT | /v2/locations/{location_id} | — |
UpdateMerchantCustomAttributeDefinition | admin, send, write | PUT | /v2/merchants/custom-attribute-definitions/{key} | — |
UpdateLocationSettings | admin, payment, send, write | PUT | /v2/online-checkout/location-settings/{location_id} | — |
UpdateMerchantSettings | admin, write | PUT | /v2/online-checkout/merchant-settings | — |
UpdatePaymentLink | payment, send, write | PUT | /v2/online-checkout/payment-links/{id} | allowed; its secret is never stored in a payload capture |
UpdateOrderCustomAttributeDefinition | admin, send, write | PUT | /v2/orders/custom-attribute-definitions/{key} | — |
UpdateOrder | delete, payment, send, write | PUT | /v2/orders/{order_id} | — |
UpdatePayment | payment, send, write | PUT | /v2/payments/{payment_id} | allowed; its secret is never stored in a payload capture |
UpdateSubscription | delete, payment, send, write | PUT | /v2/subscriptions/{subscription_id} | — |
UpdateJob | payment, send, write | PUT | /v2/team-members/jobs/{job_id} | — |
UpdateTeamMember | admin, delete, payment, send, write | PUT | /v2/team-members/{team_member_id} | account-security or privilege changes are refused by default when (body.@TeamMember.status is one of [“ACTIVE”] ({"missing”: false, “type”: “string”, “valid_values”: [“ACTIVE”, “INACTIVE"]})) or (body.@TeamMember.assigned_locations is present ({"missing”: false})) (an explicit credential_minting allowance can allow the reviewed request); unreadable or invalid effect inputs are refused when the request condition reads them |
UpdateWageSetting | delete, payment, send, write | PUT | /v2/team-members/{team_member_id}/wage-setting | — |
UpdateTransferOrder | delete, send, write | PUT | /v2/transfer-orders/{transfer_order_id} | — |
BulkUpdateVendors | delete, send, write | PUT | /v2/vendors/bulk-update | — |
UpdateVendor | delete, send, write | PUT | /v2/vendors/{vendor_id} | — |
RevokeToken | admin, delete | POST | /oauth2/revoke | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it); account-security or privilege changes are refused by default (an explicit credential_minting allowance can allow the reviewed request); served by the provider but absent from its published spec |
ObtainToken | admin, write | POST | /oauth2/token | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it); account-security or privilege changes are refused by default (an explicit credential_minting allowance can allow the reviewed request); served by the provider but absent from its published spec |
SearchEvents | read | POST | /v2/events | refused on every connection: no rule or allowance can allow it; its secret is never stored in a payload capture |
DisableEvents | admin, delete, write | PUT | /v2/events/disable | refused on every connection: no rule or allowance can allow it; account-security or privilege changes are refused by default (no allowance lifts the independent route refusal) |
EnableEvents | admin, write | PUT | /v2/events/enable | refused on every connection: no rule or allowance can allow it; account-security or privilege changes are refused by default (no allowance lifts the independent route refusal) |
ListEventTypes | read | GET | /v2/events/types | refused on every connection: no rule or allowance can allow it |
ListWebhookEventTypes | read | GET | /v2/webhooks/event-types | refused on every connection: no rule or allowance can allow it |
ListWebhookSubscriptions | read | GET | /v2/webhooks/subscriptions | refused on every connection: no rule or allowance can allow it; its secret is never stored in a payload capture |
CreateWebhookSubscription | admin, send, write | POST | /v2/webhooks/subscriptions | refused on every connection: no rule or allowance can allow it; its secret is never stored in a payload capture; delivery address in policy parameter subscription_notification_url |
DeleteWebhookSubscription | admin, delete | DELETE | /v2/webhooks/subscriptions/{subscription_id} | refused on every connection: no rule or allowance can allow it |
RetrieveWebhookSubscription | read | GET | /v2/webhooks/subscriptions/{subscription_id} | refused on every connection: no rule or allowance can allow it; its secret is never stored in a payload capture |
UpdateWebhookSubscription | admin, delete, send, write | PUT | /v2/webhooks/subscriptions/{subscription_id} | refused on every connection: no rule or allowance can allow it; its secret is never stored in a payload capture; delivery address in policy parameter subscription_notification_url |
UpdateWebhookSubscriptionSignatureKey | admin, write | POST | /v2/webhooks/subscriptions/{subscription_id}/signature-key | refused on every connection: no rule or allowance can allow it; its secret is never stored in a payload capture |
TestWebhookSubscription | send | POST | /v2/webhooks/subscriptions/{subscription_id}/test | refused on every connection: no rule or allowance can allow it |
CreateMobileAuthorizationCode | admin, write | POST | /mobile/authorization-code | allowed; its secret is never stored in a payload capture; Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
RenewToken | admin, write | POST | /oauth2/clients/{client_id}/access-token/renew | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it); account-security or privilege changes are refused by default (an explicit credential_minting allowance can allow the reviewed request); Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
V1ListEmployees | read | GET | /v1/me/employees | Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
CreateEmployee | admin, send, write | POST | /v1/me/employees | account-security or privilege changes are refused by default (an explicit credential_minting allowance can allow the reviewed request); Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
V1RetrieveEmployee | read | GET | /v1/me/employees/{employee_id} | Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
UpdateEmployee | admin, send, write | PUT | /v1/me/employees/{employee_id} | account-security or privilege changes are refused by default (an explicit credential_minting allowance can allow the reviewed request); Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
ListEmployeeRoles | read | GET | /v1/me/roles | Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
CreateEmployeeRole | admin, write | POST | /v1/me/roles | account-security or privilege changes are refused by default (an explicit credential_minting allowance can allow the reviewed request); Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
RetrieveEmployeeRole | read | GET | /v1/me/roles/{role_id} | Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
UpdateEmployeeRole | admin, write | PUT | /v1/me/roles/{role_id} | account-security or privilege changes are refused by default (an explicit credential_minting allowance can allow the reviewed request); Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
V1ListPayments | read | GET | /v1/{location_id}/payments | allowed; its secret is never stored in a payload capture; Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
RetrievePayment | read | GET | /v1/{location_id}/payments/{payment_id} | allowed; its secret is never stored in a payload capture; Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
ListRefunds | read | GET | /v1/{location_id}/refunds | also accepts V1ListRefunds; Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
CreateRefund | payment, write | POST | /v1/{location_id}/refunds | also accepts V1CreateRefund; Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
RetrieveInventoryTransfer | read | GET | /v2/inventory/transfers/{transfer_id} | Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
ListTransactionRefunds | read | GET | /v2/locations/{location_id}/refunds | also accepts get:/v2/locations/{location_id}/refunds; Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
Charge | payment, write | POST | /v2/locations/{location_id}/transactions | allowed; its secret is never stored in a payload capture; Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
CaptureTransaction | payment, write | POST | /v2/locations/{location_id}/transactions/{transaction_id}/capture | Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
CreateTransactionRefund | payment, write | POST | /v2/locations/{location_id}/transactions/{transaction_id}/refund | also accepts post:/v2/locations/{location_id}/transactions/{transaction_id}/refund; Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
VoidTransaction | delete, payment, write | POST | /v2/locations/{location_id}/transactions/{transaction_id}/void | Retired from Square’s current specification; the existing raw route remains classified without adding an SDK method |
Typed SDK
Section titled “Typed SDK”Use the Square SDK for typed, version-pinned calls through the same OAuth grant, policy, approval and audit controls.