Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Accept Dispute
SQUARE_ACCEPT_DISPUTEAccepts a dispute, acknowledging liability and returning funds to the cardholder; acceptance is irreversible and requires DISPUTES_WRITE permission. Non-JSON responses, including HTTP failures, can produce an empty result, so check the returned dispute and errors.
Add Group to Customer
SQUARE_ADD_GROUP_TO_CUSTOMERTool to add a customer to a customer group. Use when you need to associate a customer with a specific group for targeted marketing, loyalty programs, or customer segmentation.
Cancel Booking
SQUARE_CANCEL_BOOKINGCancels an existing Square booking, terminating the reservation. Use this action when a customer or seller needs to cancel a scheduled appointment. The booking must be in a cancellable state, and the cancellation will update the booking status accordingly. This action is irreversible - once a booking is cancelled, it cannot be restored and must be rebooked if needed. Use the booking_version parameter to ensure safe concurrent updates.
Cancel Invoice
SQUARE_CANCEL_INVOICECancels a Square invoice, preventing further payments from being collected. Requirements: - Invoice must be in SCHEDULED, UNPAID, or PARTIALLY_PAID state - Cannot cancel invoices in DRAFT state or terminal states (PAID, REFUNDED, CANCELED, FAILED) - Requires INVOICES_WRITE and ORDERS_WRITE OAuth scopes - Version number must match the current invoice version to prevent conflicts After cancellation, the associated order status is set to CANCELED and webhook events are triggered.
Cancel Payment
SQUARE_CANCEL_PAYMENTCancels (voids) a payment that is in APPROVED status. This is typically used in delayed capture scenarios where a payment was authorized but not yet captured, allowing you to void the authorization before settlement. Important: Only payments with APPROVED status can be canceled. Attempting to cancel a payment in any other status (COMPLETED, PENDING, CANCELED, FAILED) will result in an error. Once canceled, the payment status changes to CANCELED and the card details status changes to VOIDED. Required permissions: PAYMENTS_WRITE
Create Gift Card Activity
SQUARE_CREATE_GIFT_CARD_ACTIVITYCreates a gift card activity to manage gift card balances. This action supports multiple activity types including ACTIVATE (initiate a gift card with an opening balance), LOAD (add funds), REDEEM (withdraw funds), CLEAR_BALANCE (set balance to zero), DEACTIVATE (permanently block), ADJUST_INCREMENT/ADJUST_DECREMENT (manual adjustments), REFUND (restore funds from refunds), and others. Use this action when you need to modify a gift card's balance or state. Each activity type requires specific details in the corresponding activity_details field (e.g., activate_activity_details for ACTIVATE type). Either gift_card_id or gift_card_gan must be provided to identify the target gift card. Important: DEACTIVATE and CLEAR_BALANCE are destructive operations - DEACTIVATE permanently blocks the card from future balance changes, and CLEAR_BALANCE sets the balance to zero.
Delete Customer Custom Attribute
SQUARE_DELETE_CUSTOMER_CUSTOM_ATTRIBUTETool to delete a custom attribute from a customer profile. Use when you need to remove custom data associated with a specific customer. Requires the CUSTOMERS_WRITE OAuth permission scope.
Delete Location Custom Attribute
SQUARE_DELETE_LOCATION_CUSTOM_ATTRIBUTETool to delete a custom attribute from a location. Use when you need to remove custom data associated with a specific business location. Requires the MERCHANT_PROFILE_WRITE OAuth permission scope.
Delete Locations Custom Attributes (Batch)
SQUARE_DELETE_LOCATIONS_CUSTOM_ATTRIBUTES_BATCHTool to delete custom attributes from multiple locations in a single batch request. Use when you need to remove custom metadata from multiple business locations efficiently. To delete custom attributes owned by other applications, the attribute's visibility must be set to VISIBILITY_READ_WRITE_VALUES.
Delete Merchant Custom Attribute
SQUARE_DELETE_MERCHANT_CUSTOM_ATTRIBUTETool to delete a custom attribute from a merchant profile. Use when you need to remove custom data associated with a specific merchant. Requires the MERCHANT_PROFILE_WRITE OAuth permission scope.
Delete Merchants Custom Attributes (Batch)
SQUARE_DELETE_MERCHANTS_CUSTOM_ATTRIBUTES_BATCHTool to delete custom attributes from multiple merchants in a single batch request. Use when you need to remove custom metadata from merchant profiles efficiently. To delete custom attributes owned by other applications, the attribute's visibility must be set to VISIBILITY_READ_WRITE_VALUES.
Link Customer to Gift Card
SQUARE_LINK_CUSTOMER_TO_GIFT_CARDTool to link a customer to a gift card in Square. Links the customer profile to the gift card, adding their ID to the gift card's customer_ids list. Use when you need to associate a customer with a gift card for tracking purchases, balances, or gifting purposes.
Pay Order
SQUARE_PAY_ORDERPays an existing Square order by processing approved payments and completing the transaction. Use this action when you need to finalize payment on an order that has already been created and has associated approved payments. The total amount of the payment_ids provided must equal the order total, and upon success, the order state transitions to COMPLETED. Important: The payments referenced in payment_ids must be in APPROVED status and must have been created with a reference to this order_id. For orders with a zero total, you can pass an empty payment_ids array or omit it entirely. Using the idempotency_key prevents duplicate payment processing if the request is retried. Required permissions: ORDERS_WRITE, PAYMENTS_WRITE
Remove Group From Customer
SQUARE_REMOVE_GROUP_FROM_CUSTOMERRemoves a customer from a customer group. Use this when you need to disassociate a customer from a specific group. Once removed, the customer will no longer be part of the group and won't receive group-specific benefits or targeting.
Submit Dispute Evidence
SQUARE_SUBMIT_DISPUTE_EVIDENCESubmits evidence for a dispute to the cardholder's bank. IMPORTANT: You must upload evidence FIRST using CreateDisputeEvidenceText or CreateDisputeEvidenceFile before calling this endpoint. Once evidence is submitted, it cannot be modified or removed. The dispute state will change to PROCESSING after successful submission. Use this when: (1) You have uploaded all evidence files/text, (2) The dispute is in EVIDENCE_REQUIRED state, and (3) You are ready to finalize and send evidence to the bank before the due date.
Update Booking
SQUARE_UPDATE_BOOKINGUpdates an existing Square booking with new appointment details, times, notes, or team members. Use when you need to modify a booking's start time, change appointment segments, update customer or seller notes, or modify the location type. Requires the current booking version number for optimistic concurrency control - get this from a previous retrieve booking call. Seller must subscribe to Appointments Plus or Premium to use this action.
Update Customer
SQUARE_UPDATE_CUSTOMERUpdates an existing Square customer profile, including details such as name, email, address, or phone number. Supports sparse updates and an optional version for optimistic concurrency control; null values are omitted rather than sent to remove fields.
Update Customer Custom Attribute Definition
SQUARE_UPDATE_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITIONTool to update a customer-related custom attribute definition in Square. Use when you need to modify the name, description, visibility, or schema of an existing custom attribute definition. Supports sparse updates: only include fields you want to change. Use the version parameter for optimistic concurrency control to prevent conflicting updates.
Update Customer Group
SQUARE_UPDATE_CUSTOMER_GROUPUpdates the name of an existing Square customer group identified by its ID.
Bulk Update Customers
SQUARE_UPDATE_CUSTOMERS_BULKUpdates multiple Square customer profiles in a single batch, using customer IDs and the fields to update. An optional version supports optimistic concurrency control; null-valued fields are omitted from the request.