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.
Calculate Order
SQUARE_CALCULATE_ORDERTool to preview order pricing without creating an order. Use when you need to calculate the total cost, taxes, discounts, and other pricing details for an order before finalizing it. Particularly useful for integrating rewards, discounts, and complex pricing scenarios.
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
Batch Create Inventory Changes
SQUARE_CREATE_BATCH_INVENTORY_CHANGESApplies multiple inventory adjustments and physical counts in a single batch request. Returns the created changes and current inventory counts for all affected items. Use this action when you need to update inventory quantities for multiple items or locations at once, either through physical stock counts or adjustments (e.g., receiving stock, recording waste, or correcting discrepancies). Supports up to 100 inventory changes per request. Each change can be either a PHYSICAL_COUNT (setting absolute quantity) or an ADJUSTMENT (modifying quantity with state transitions). The ignore_unchanged_counts parameter controls whether calculated counts are returned in the response.
Create Bulk Customers
SQUARE_CREATE_BULK_CUSTOMERSTool to create multiple customer profiles in a single request. Use when you need to efficiently create up to 100 customers at once. Each customer is identified by a unique idempotency key.
Create Card
SQUARE_CREATE_CARDTool to create a card on file. Use when you need to securely store a customer's card for future payments. Requires a valid nonce or payment ID.
Create Customer
SQUARE_CREATE_CUSTOMERTool to create a new customer profile in Square. Use when you need to add a customer to the Square account. At least one of given_name, family_name, company_name, email_address, or phone_number is required.
Create Customer Custom Attribute Definition
SQUARE_CREATE_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITIONTool to create a customer-related custom attribute definition. Use when you need to define a new custom attribute that can be applied to customer profiles. Custom attributes allow storing additional structured data on customers beyond the standard fields.
Create Customer Group
SQUARE_CREATE_CUSTOMER_GROUPTool to create a new customer group for a business. Use when you need to organize customers into groups for targeted marketing or segmentation.
Create Dispute Evidence File
SQUARE_CREATE_DISPUTE_EVIDENCE_FILEUploads a file as supporting evidence for an existing Square dispute, such as a PDF or image. File content can be supplied inline as base64, and an idempotency key identifies the upload.
Create Dispute Evidence Text
SQUARE_CREATE_DISPUTE_EVIDENCE_TEXTUpload text evidence for a dispute challenge. Use this to submit textual information (up to 500 characters) that supports your case in a payment dispute. After uploading all evidence, you must call SubmitEvidence to finalize the dispute challenge. Endpoint: POST /v2/disputes/{dispute_id}/evidence-text
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.
Create Invoice Attachment
SQUARE_CREATE_INVOICE_ATTACHMENTUpload and attach a file to a Square invoice. Use this action to add supplementary documents (receipts, contracts, supporting documentation) to an existing invoice. Attachments can only be added to invoices in DRAFT, SCHEDULED, UNPAID, or PARTIALLY_PAID state. Square supports up to 10 attachments per invoice with a combined maximum size of 25 MB in production (1 KB in Sandbox). Supported file formats: GIF, JPEG, PNG, TIFF, BMP, PDF. Creating an attachment increments the invoice version and triggers an invoice.updated webhook event.
Create Location
SQUARE_CREATE_LOCATIONTool to create a new business location in a Square account. Use when you need to add a new physical or mobile location for the merchant.
Create Location Custom Attribute Definition
SQUARE_CREATE_LOCATION_CUSTOM_ATTRIBUTE_DEFINITIONTool to create a location-related custom attribute definition. Use when you need to define new custom attributes for Square location objects to store additional business-specific data.
Create Order
SQUARE_CREATE_ORDERCreates a new Square order with line items, taxes, discounts, and fulfillment details. Use this action when you need to create an order for processing payments or tracking sales. The created order will have a state of DRAFT or OPEN depending on the configuration. Each line item must have a quantity and either a catalog_object_id (for catalog items) or both name and base_price_money (for custom items). You can optionally include taxes, discounts, service charges, and fulfillment information. Use when: Creating a new order for a customer transaction, building a cart for checkout, or initiating a sales order workflow.
Create Refund
SQUARE_CREATE_REFUNDRefunds a Square payment in full or partially. Use this action when you need to return funds to a customer for a completed payment, such as for returned products, cancelled services, or billing errors. The refund amount cannot exceed the original payment total minus any prior refunds.