Skip to Content

SquareUp API

SquareUp API icon
Arcade Starter

Tools that enable LLMs to interact directly with the squareup API.

Author:Arcade
Version:4.0.0
Auth:User authorization via the Squareup auth provider
286tools
PyPI VersionPython VersionsWheel StatusDownloadsLicense

SquareupApi is a toolkit designed for integrating with the Squareup API, empowering developers to facilitate seamless interactions with various Square services. This toolkit enables various operations, including managing customer data, handling invoices, and managing loyalty points. Capabilities: - Access detailed information about customers, orders, and transactions. - Perform CRUD operations on bookings, inventory, and payments. - Manage loyalty programs, including points and rewards. OAuth: The toolkit utilizes OAuth2 authentication via Squareup, with scopes allowing comprehensive access to appointments, customers, payments, and more. Secrets: None required.

Available tools(286)

286 of 286
Tool nameDescriptionSecrets
Accept the loss on a dispute and update its status to ACCEPTED. This tool should be called when you need to accept the loss on a dispute for a transaction. It updates the dispute state to ACCEPTED and returns the disputed amount to the cardholder. Square debits the corresponding amount from the seller's account. Use this when a dispute resolution is finalized, and the seller agrees to the loss.
Add points to a loyalty account for a purchase. This tool adds loyalty points to a customer's account following a purchase. It can be used with or without the Orders API. If using the Orders API, provide the `order_id` for automatic point calculation based on the program and promotions. If not, manually compute and provide the `points` to add.
Activates a domain for use with Apple Pay and Square. Use this tool to activate a domain for Apple Pay on the Web with Square. It performs a validation to ensure the domain is Apple Pay enabled, allowing platforms to bulk activate Apple Pay for their merchants. Ensure a valid domain verification file is hosted as per the guidelines.
Adds a card on file to an existing merchant. This tool is used to store a new card on file for an existing merchant, facilitating future transactions. It provides confirmation once the card is successfully added. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Adds a customer to a specified group. Use this tool to assign a customer to a specific group using their customer ID and the group ID. This helps in categorizing customers into different groups for better management.
Add or update a snippet on a Square Online site. This tool adds a new snippet to or updates an existing snippet on a Square Online site's `head` element. It excludes checkout pages and requires the site's ID. Use ListSites to find site IDs.
Manually adjust loyalty points for a buyer's account. Use this tool to manually add or subtract loyalty points from a buyer's account when automatic accumulation is not applied. Ideal for scenarios requiring manual point corrections.
Apply batch adjustments to inventory quantities. Use this tool to apply inventory adjustments and counts to item quantities. Returns updated quantities on success, or a list of errors if the operation fails. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Batch create or update up to 10,000 catalog objects. The tool creates or updates catalog objects in batches, each containing up to 1,000 objects. It's an all-or-nothing operation for each batch, meaning if one object in a batch is invalid, the entire batch fails. The tool ensures consistency by processing one update request at a time per seller account. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Create multiple customer profiles in bulk. Use this tool to create multiple customer profiles for a business at once. You need to provide at least one identifying value for each customer, such as given name, family name, company name, email address, or phone number. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Create multiple team members in bulk. Use this tool to create multiple team member records at once. It processes each creation individually and returns details for successful operations, along with error information for any failures. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Create multiple vendor profiles for suppliers. Use this tool to create one or more vendor profiles, representing suppliers for a seller, in bulk. Ideal for onboarding multiple vendors at once. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Bulk delete custom attributes for bookings. Use this tool to delete multiple custom attributes associated with bookings in bulk. Ensure the proper OAuth permissions are set: 'APPOINTMENTS_WRITE' for buyer-level and both 'APPOINTMENTS_ALL_WRITE' and 'APPOINTMENTS_WRITE' for seller-level. Requires an active subscription to 'Appointments Plus' or 'Appointments Premium' for seller-level actions. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Deletes multiple customer profiles at once. Use this tool to remove several customer profiles in a single action by providing their IDs. It returns a map of responses detailing the outcome for each profile.
Delete custom attributes for multiple locations at once. This tool deletes custom attributes for locations in bulk. It is used when the visibility setting is 'VISIBILITY_READ_WRITE_VALUES', allowing the deletion of attributes owned by other applications. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Bulk delete custom attributes for a merchant. Use this tool to delete custom attributes for a merchant in bulk. It can only delete attributes with 'VISIBILITY_READ_WRITE_VALUES' if owned by another application. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Perform bulk deletion of custom attributes from orders. Use this tool to delete multiple custom attributes from one or more orders in bulk. It processes a map of delete requests and returns a map of responses, each paired with a request ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Publish multiple scheduled shifts in bulk. Use this tool to publish between 1 to 100 scheduled shifts at once. It processes a map of individual publish requests and provides corresponding responses. Ensure all shifts have start and end times within a two-week window. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Retrieve multiple bookings using booking IDs. This tool retrieves a list of bookings by their IDs. It requires appropriate OAuth scopes for buyer or seller level permissions.
Retrieve multiple customer profiles using IDs. Use this tool to fetch detailed customer profiles by providing a list of customer IDs. It is useful for applications needing to access multiple customer data at once.
Schedule a plan variation swap for multiple subscriptions. This tool schedules a swap of plan variations for all active subscriptions under a specified plan variation. It is used when there is a need to change the plan variation for multiple subscriptions simultaneously.
Update multiple team members in bulk. This tool updates multiple team member objects at once. It should be called when you need to perform bulk updates to team members. While processing, if any updates fail, the tool still returns the updated members along with specific error details for the failed attempts. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Update multiple vendor records simultaneously. Use this tool to update details of multiple vendors at once. It modifies existing vendor records that are suppliers to a seller, streamlining vendor management tasks. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Bulk upserts custom attributes for bookings. Use this tool to update or insert multiple custom attributes for bookings at once. Requires specific OAuth permissions depending on whether you operate at the buyer or seller level. Ensure sellers are subscribed to necessary service tiers. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Bulk create or update custom attributes for customer profiles. Use this tool to set or update the value of custom attributes for multiple customer profiles in a Square seller account. It handles up to 25 upsert requests, returning responses mapped to their request IDs. Useful for managing multiple custom attributes at once. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Page 1 of 12(25 of 286)

Selected tools

No tools selected.

Click "Show all tools" to add tools.

Requirements

Select tools to see requirements

#

SquareupApi.AcceptDisputeLoss

Accept the loss on a dispute and update its status to ACCEPTED. This tool should be called when you need to accept the loss on a dispute for a transaction. It updates the dispute state to ACCEPTED and returns the disputed amount to the cardholder. Square debits the corresponding amount from the seller's account. Use this when a dispute resolution is finalized, and the seller agrees to the loss.

Parameters

ParameterTypeReq.Description
dispute_idstringRequiredThe unique ID of the dispute to accept and resolve.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'AcceptDispute'.
#

SquareupApi.AccumulateLoyaltyPoints

Add points to a loyalty account for a purchase. This tool adds loyalty points to a customer's account following a purchase. It can be used with or without the Orders API. If using the Orders API, provide the `order_id` for automatic point calculation based on the program and promotions. If not, manually compute and provide the `points` to add.

Parameters

ParameterTypeReq.Description
loyalty_account_idstringRequiredThe unique identifier for the target loyalty account to which points will be added.
purchase_location_idstringRequiredThe ID of the location where the purchase was made, necessary for loyalty point accumulation.
unique_request_idstringRequiredA unique string identifier for the `AccumulateLoyaltyPoints` request. Must be unique for each request to ensure idempotency.
loyalty_program_idstringOptionalThe ID of the loyalty program to add points to. Required to identify the correct program.
order_id_for_accumulationstringOptionalThe ID of the order for which points are accumulated. Required if using the Orders API.
points_to_accumulateintegerOptionalSpecify the number of points to add to the loyalty account from the purchase event if not using the Orders API.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'AccumulateLoyaltyPoints'.
#

SquareupApi.ActivateDomainForApplePay

Activates a domain for use with Apple Pay and Square. Use this tool to activate a domain for Apple Pay on the Web with Square. It performs a validation to ensure the domain is Apple Pay enabled, allowing platforms to bulk activate Apple Pay for their merchants. Ensure a valid domain verification file is hosted as per the guidelines.

Parameters

ParameterTypeReq.Description
apple_pay_domain_namestringRequiredEnter the domain name, as per RFC-1034, to register it with Apple Pay.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RegisterDomain'.
#

SquareupApi.AddCardToMerchant

Adds a card on file to an existing merchant. This tool is used to store a new card on file for an existing merchant, facilitating future transactions. It provides confirmation once the card is successfully added. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateCard'.
#

SquareupApi.AddGroupToCustomer

Adds a customer to a specified group. Use this tool to assign a customer to a specific group using their customer ID and the group ID. This helps in categorizing customers into different groups for better management.

Parameters

ParameterTypeReq.Description
customer_group_idstringRequiredThe unique identifier of the group to which the customer will be added. This is necessary to specify the exact group for categorization purposes.
customer_idstringRequiredThe unique identifier of the customer to be added to the specified group.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'AddGroupToCustomer'.
#

SquareupApi.AddOrUpdateSquareOnlineSnippet

Add or update a snippet on a Square Online site. This tool adds a new snippet to or updates an existing snippet on a Square Online site's `head` element. It excludes checkout pages and requires the site's ID. Use ListSites to find site IDs.

Parameters

ParameterTypeReq.Description
site_id_for_snippetstringRequiredThe ID of the site where you want to add or update the snippet. Obtained through ListSites function.
snippet_code_contentstringRequiredThe code snippet to add or update, which can include valid HTML, JavaScript, or both. This will be appended to the head element of all site pages except checkout pages.
snippet_idstringOptionalThe Square-assigned ID for the snippet to add or update.
snippet_initial_creation_timestampstringOptionalThe timestamp indicating when the snippet was initially added to the site, in RFC 3339 format.
snippet_last_updated_timestampstringOptionalThe timestamp for when the snippet was last updated on the site, in RFC 3339 format.
snippet_site_idstringOptionalThe ID of the site that contains the snippet to be updated or added.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpsertSnippet'.
#

SquareupApi.AdjustLoyaltyPoints

Manually adjust loyalty points for a buyer's account. Use this tool to manually add or subtract loyalty points from a buyer's account when automatic accumulation is not applied. Ideal for scenarios requiring manual point corrections.

Parameters

ParameterTypeReq.Description
loyalty_account_idstringRequiredThe unique ID of the buyer's loyalty account to adjust.
points_adjustment_amountintegerRequiredThe number of points to add or remove from the buyer's account.
unique_request_identifierstringRequiredA unique string to identify this loyalty points adjustment request. Must be unique for each request to prevent duplicates.
adjustment_reasonstringOptionalThe reason for adjusting the loyalty points, such as 'customer courtesy' or 'error correction'.
allow_negative_balancebooleanOptionalSet to true to allow a negative balance after point subtraction. Defaults to false if not specified.
loyalty_program_idstringOptionalThe Square-assigned ID of the loyalty program to adjust points for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'AdjustLoyaltyPoints'.
#

SquareupApi.ApplyInventoryAdjustments

Apply batch adjustments to inventory quantities. Use this tool to apply inventory adjustments and counts to item quantities. Returns updated quantities on success, or a list of errors if the operation fails. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BatchChangeInventory'.
#

SquareupApi.BatchUpsertCatalogObjects

Batch create or update up to 10,000 catalog objects. The tool creates or updates catalog objects in batches, each containing up to 1,000 objects. It's an all-or-nothing operation for each batch, meaning if one object in a batch is invalid, the entire batch fails. The tool ensures consistency by processing one update request at a time per seller account. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BatchUpsertCatalogObjects'.
#

SquareupApi.BulkCreateCustomers

Create multiple customer profiles in bulk. Use this tool to create multiple customer profiles for a business at once. You need to provide at least one identifying value for each customer, such as given name, family name, company name, email address, or phone number. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkCreateCustomers'.
#

SquareupApi.BulkCreateTeamMembers

Create multiple team members in bulk. Use this tool to create multiple team member records at once. It processes each creation individually and returns details for successful operations, along with error information for any failures. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkCreateTeamMembers'.
#

SquareupApi.BulkCreateVendors

Create multiple vendor profiles for suppliers. Use this tool to create one or more vendor profiles, representing suppliers for a seller, in bulk. Ideal for onboarding multiple vendors at once. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkCreateVendors'.
#

SquareupApi.BulkDeleteBookingCustomAttributes

Bulk delete custom attributes for bookings. Use this tool to delete multiple custom attributes associated with bookings in bulk. Ensure the proper OAuth permissions are set: 'APPOINTMENTS_WRITE' for buyer-level and both 'APPOINTMENTS_ALL_WRITE' and 'APPOINTMENTS_WRITE' for seller-level. Requires an active subscription to 'Appointments Plus' or 'Appointments Premium' for seller-level actions. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkDeleteBookingCustomAttributes'.
#

SquareupApi.BulkDeleteCustomers

Deletes multiple customer profiles at once. Use this tool to remove several customer profiles in a single action by providing their IDs. It returns a map of responses detailing the outcome for each profile.

Parameters

ParameterTypeReq.Description
customer_profile_idsarray<string>RequiredArray of customer profile IDs to be deleted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkDeleteCustomers'.
#

SquareupApi.BulkDeleteLocationCustomAttributes

Delete custom attributes for multiple locations at once. This tool deletes custom attributes for locations in bulk. It is used when the visibility setting is 'VISIBILITY_READ_WRITE_VALUES', allowing the deletion of attributes owned by other applications. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkDeleteLocationCustomAttributes'.
#

SquareupApi.BulkDeleteMerchantCustomAttributes

Bulk delete custom attributes for a merchant. Use this tool to delete custom attributes for a merchant in bulk. It can only delete attributes with 'VISIBILITY_READ_WRITE_VALUES' if owned by another application. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkDeleteMerchantCustomAttributes'.
#

SquareupApi.BulkDeleteOrderCustomAttributes

Perform bulk deletion of custom attributes from orders. Use this tool to delete multiple custom attributes from one or more orders in bulk. It processes a map of delete requests and returns a map of responses, each paired with a request ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkDeleteOrderCustomAttributes'.
#

SquareupApi.BulkPublishScheduledShifts

Publish multiple scheduled shifts in bulk. Use this tool to publish between 1 to 100 scheduled shifts at once. It processes a map of individual publish requests and provides corresponding responses. Ensure all shifts have start and end times within a two-week window. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkPublishScheduledShifts'.
#

SquareupApi.BulkRetrieveBookings

Retrieve multiple bookings using booking IDs. This tool retrieves a list of bookings by their IDs. It requires appropriate OAuth scopes for buyer or seller level permissions.

Parameters

ParameterTypeReq.Description
booking_idsarray<string>RequiredA non-empty list of booking IDs to retrieve the corresponding bookings.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkRetrieveBookings'.
#

SquareupApi.BulkRetrieveCustomers

Retrieve multiple customer profiles using IDs. Use this tool to fetch detailed customer profiles by providing a list of customer IDs. It is useful for applications needing to access multiple customer data at once.

Parameters

ParameterTypeReq.Description
customer_idsarray<string>RequiredList of customer profile IDs to retrieve.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkRetrieveCustomers'.
#

SquareupApi.BulkSwapSubscriptionPlan

Schedule a plan variation swap for multiple subscriptions. This tool schedules a swap of plan variations for all active subscriptions under a specified plan variation. It is used when there is a need to change the plan variation for multiple subscriptions simultaneously.

Parameters

ParameterTypeReq.Description
location_id_associationstringRequiredThe ID of the location to associate with the swapped subscriptions. This specifies where the subscription changes are applied.
new_plan_variation_idstringRequiredThe ID of the new subscription plan variation for the swap. This field is required.
old_plan_variation_idstringRequiredThe ID of the current plan variation to swap. Active subscriptions using this plan will switch to the new variation on their next billing day.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkSwapPlan'.
#

SquareupApi.BulkUpdateTeamMembers

Update multiple team members in bulk. This tool updates multiple team member objects at once. It should be called when you need to perform bulk updates to team members. While processing, if any updates fail, the tool still returns the updated members along with specific error details for the failed attempts. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkUpdateTeamMembers'.
#

SquareupApi.BulkUpdateVendors

Update multiple vendor records simultaneously. Use this tool to update details of multiple vendors at once. It modifies existing vendor records that are suppliers to a seller, streamlining vendor management tasks. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkUpdateVendors'.
#

SquareupApi.BulkUpsertBookingCustomAttributes

Bulk upserts custom attributes for bookings. Use this tool to update or insert multiple custom attributes for bookings at once. Requires specific OAuth permissions depending on whether you operate at the buyer or seller level. Ensure sellers are subscribed to necessary service tiers. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkUpsertBookingCustomAttributes'.
#

SquareupApi.BulkUpsertCustomerAttributes

Bulk create or update custom attributes for customer profiles. Use this tool to set or update the value of custom attributes for multiple customer profiles in a Square seller account. It handles up to 25 upsert requests, returning responses mapped to their request IDs. Useful for managing multiple custom attributes at once. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkUpsertCustomerCustomAttributes'.
#

SquareupApi.BulkUpsertLocationCustomAttributes

Bulk create or update custom attributes for multiple locations. This tool is used to create or update custom attributes for multiple locations in a Square seller account. It handles multiple upsert requests simultaneously, allowing you to efficiently manage location-specific data. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkUpsertLocationCustomAttributes'.
#

SquareupApi.BulkUpsertOrderCustomAttributes

Perform bulk create or update of order custom attributes. This tool allows for creating or updating order custom attributes in bulk. It can handle up to 25 requests at once, each identified uniquely, and provides responses for each request. It is used to manage custom attributes based on definitions in a Square seller account, and may also delete attributes. Use this when multiple order custom attributes need simultaneous updating or creation. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkUpsertOrderCustomAttributes'.
#

SquareupApi.CalculateLoyaltyPoints

Calculate loyalty points a buyer can earn from a purchase. Use this tool to determine the number of loyalty points to reward a buyer after a purchase. Provide either the `order_id` or `transaction_amount_money` to calculate points based on the order or purchase amount, respectively. Points calculation considers the base loyalty program, and possibly a loyalty promotion if applicable.

Parameters

ParameterTypeReq.Description
loyalty_program_idstringRequiredThe ID of the loyalty program, defining the rules for accruing points.
currency_codestringOptionalIndicates the associated currency for an amount of money using ISO 4217 codes. For example, 'USD' for United States Dollar.
loyalty_account_idstringOptionalThe ID of the target loyalty account. Optionally specify if using the Orders API. Determines promotion point eligibility based on trigger limits.
order_idstringOptionalThe Order ID used to calculate points. Provide this if using the Orders API. Otherwise, use transaction_amount_money.
transaction_amount_in_smallest_denominationintegerOptionalThe amount of money for the transaction, given in the smallest denomination of the currency (e.g., cents for USD).

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CalculateLoyaltyPoints'.
#

SquareupApi.CancelBooking

Cancel an existing booking. Call this tool to cancel a booking using its unique ID. Requires specific OAuth permissions depending on user level. For seller-level cancellations, an Appointments Plus or Premium subscription is necessary.

Parameters

ParameterTypeReq.Description
booking_idstringRequiredThe unique ID of the booking to be canceled. This ID is required to identify which booking to cancel.
booking_revision_numberintegerOptionalThe current revision number of the booking for optimistic concurrency control.
idempotency_keystringOptionalUnique key to ensure the request is idempotent and prevents duplicate operations.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CancelBooking'.
#

SquareupApi.CancelInvoice

Cancel an invoice to prevent further transactions. This tool cancels an invoice, ensuring that no payments can be collected. It cannot be used for invoices in the `DRAFT`, `PAID`, `REFUNDED`, `CANCELED`, or `FAILED` states.

Parameters

ParameterTypeReq.Description
invoice_idstringRequiredThe ID of the invoice you want to cancel. This is required to specify which invoice will be affected.
invoice_version_to_cancelintegerRequiredThe version number of the invoice to be canceled. Use GetInvoice or ListInvoices to find it if unknown.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CancelInvoice'.
#

SquareupApi.CancelLoyaltyPromotion

Cancels an active or scheduled loyalty promotion early. Use this tool to cancel a loyalty promotion that is currently active or scheduled, either earlier than its end date or if no end date is specified.

Parameters

ParameterTypeReq.Description
loyalty_program_idstringRequiredThe unique ID of the base loyalty program to identify which program the promotion is associated with.
loyalty_promotion_idstringRequiredThe ID of the loyalty promotion to cancel, which can be 'ACTIVE' or 'SCHEDULED'.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CancelLoyaltyPromotion'.
#

SquareupApi.CancelPayment

Cancel or void an approved payment. Use this tool to cancel a payment that has an APPROVED status. Ideal for reversing payments that should not proceed.

Parameters

ParameterTypeReq.Description
payment_id_to_cancelstringRequiredThe unique identifier of the payment to be canceled. Must have an APPROVED status.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CancelPayment'.
#

SquareupApi.CancelPaymentByIdempotency

Cancel a payment by idempotency key when status is unknown. Use this tool to cancel a payment when a CreatePayment request status is uncertain, typically due to network issues. Provide the same idempotency key used in the original CreatePayment request. If no payment is found, the tool confirms no action was taken.

Parameters

ParameterTypeReq.Description
payment_idempotency_keystringRequiredThe idempotency key used to identify the payment to cancel. It should match the key used in the original CreatePayment request.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CancelPaymentByIdempotencyKey'.
#

SquareupApi.CancelSubscription

Cancel an active subscription at the end of the billing period. This tool schedules a cancellation for an active subscription, setting the cancellation date to the end of the current billing cycle. After this date, the subscription changes from ACTIVE to CANCELED.

Parameters

ParameterTypeReq.Description
subscription_idstringRequiredThe unique ID of the subscription to be canceled. Required for scheduling the cancellation action.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CancelSubscription'.
#

SquareupApi.CancelTerminalAction

Cancel a terminal action request if possible. This tool cancels a terminal action request with SquareUp if the current status allows it. Use it when you need to abort a terminal action that is still pending or in progress.

Parameters

ParameterTypeReq.Description
terminal_action_idstringRequiredUnique ID for the `TerminalAction` you want to cancel. This ID helps target the specific action to abort.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CancelTerminalAction'.
#

SquareupApi.CancelTerminalCheckout

Cancel a terminal checkout request if possible. Use this tool to cancel an ongoing Terminal checkout request if its status allows for cancellation.

Parameters

ParameterTypeReq.Description
terminal_checkout_idstringRequiredThe unique ID for the desired TerminalCheckout to be canceled.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CancelTerminalCheckout'.
#

SquareupApi.CancelTerminalRefund

Cancel a terminal refund request by its ID. Use this tool to cancel a terminal refund request when the status allows for cancellation. Provide the refund request ID to execute the cancellation.

Parameters

ParameterTypeReq.Description
refund_request_idstringRequiredThe unique ID of the terminal refund request to cancel.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CancelTerminalRefund'.
#

SquareupApi.CancelTransferOrder

Cancel a transfer order in progress for inventory locations. Use this tool to cancel a transfer order that is in either STARTED or PARTIALLY_RECEIVED status. This is useful in situations where items are no longer needed at the destination, the source location requires the inventory, or if the order was created by mistake. Cancelling the order will update inventory levels and trigger a transfer_order.updated webhook event.

Parameters

ParameterTypeReq.Description
transfer_order_idstringRequiredThe ID of the transfer order to cancel. The order must be in STARTED or PARTIALLY_RECEIVED status.
unique_request_keystringRequiredA unique string to identify this request. Must be unique for each UpdateTransferOrder request.
transfer_order_versionintegerOptionalProvide the version number for optimistic concurrency when canceling the transfer order.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CancelTransferOrder'.
#

SquareupApi.ChangeBillingAnchorDate

Change the billing anchor date for a subscription. Use this tool to modify the billing anchor date for a specific subscription. This can be useful for adjusting billing cycles and ensuring proper timing for subscription charges.

Parameters

ParameterTypeReq.Description
subscription_idstringRequiredThe ID of the subscription for which the billing anchor date will be updated.
billing_anchor_dayintegerOptionalThe day (1-31) of the month to set as the billing anchor for the cycle.
scheduled_billing_anchor_change_datestringOptionalThe `YYYY-MM-DD`-formatted date when the `BILLING_ANCHOR_CHANGE` action occurs. If unspecified or within current billing cycle, change is immediate.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ChangeBillingAnchorDate'.
#

SquareupApi.CloneOrderDraft

Clone an existing order as a draft. This tool creates a new order in the DRAFT state by duplicating an existing order. It copies core fields such as line items, taxes, and discounts from the original order.

Parameters

ParameterTypeReq.Description
order_id_to_clonestringRequiredThe ID of the order you want to clone.
clone_request_idempotency_keystringOptionalA unique string to identify the clone request. Allows safe retries without duplicating cloned orders.
order_versionintegerOptionalAn optional integer specifying the order version for concurrency protection. If omitted, the latest version is used.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CloneOrder'.
#

SquareupApi.CompletePayment

Complete an approved payment using Squareup. Use this tool to complete or capture a payment with an 'APPROVED' status, finalizing the transaction.

Parameters

ParameterTypeReq.Description
payment_identifierstringRequiredThe unique ID identifying the payment to be completed. This is required for completing a payment with an 'APPROVED' status.
current_payment_version_tokenstringOptionalThe token identifying the current Payment version for optimistic concurrency. It ensures the Payment version matches the caller's expectations to prevent mismatches.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CompletePayment'.
#

SquareupApi.CreateBooking

Create a new booking for a service. This tool creates a booking using specified details like location, start time, team member, and service variation. Ideal for scheduling appointments with buyer or seller permissions, ensuring necessary subscriptions are met. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateBooking'.
#

SquareupApi.CreateBreakType

Create a new BreakType template for a location. This tool creates a new BreakType, which is a template for establishing Break objects. Required inputs include location ID, break name, expected duration, and payment status. Note that each location can have a maximum of three BreakType instances.

Parameters

ParameterTypeReq.Description
break_expected_durationstringRequiredThe expected length of the break in RFC-3339 duration format (e.g., PT15M for 15 minutes).
break_namestringRequiredA human-readable name for the break type, displayed to team members.
is_break_paidbooleanRequiredIndicates if the break counts towards compensated work time. Use true for a paid break, false for an unpaid break.
location_idstringRequiredThe ID of the business location where this break type will apply. It is required to associate the break type with a specific location.
break_type_uuidstringOptionalThe UUID for the BreakType object. It uniquely identifies the break type.
concurrency_versionintegerOptionalInteger for resolving concurrency issues; fails if it doesn't match server version.
created_at_timestampstringOptionalA read-only timestamp in RFC 3339 format, automatically populated and not required for input.
idempotency_keystringOptionalA unique string to ensure the operation is idempotent, avoiding duplicate actions.
updated_at_timestampstringOptionalA read-only timestamp in RFC 3339 format indicating when the BreakType was last updated.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateBreakType'.
#

SquareupApi.CreateCustomer

Creates a new customer for a business in Square. This tool is used to create a new customer profile for a business in Square. You must provide at least one of the following details: given name, family name, company name, email address, or phone number. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateCustomer'.
#

SquareupApi.CreateCustomerGroup

Creates a new customer group for a business. Use this tool to create a new customer group by specifying the group's name. It should be called when a business needs to organize customers into a new group for targeted marketing or management purposes.

Parameters

ParameterTypeReq.Description
customer_group_namestringRequiredThe name of the customer group to be created. It is required for organizing customers into the group.
customer_group_idstringOptionalA unique Square-generated ID for the customer group. This is automatically generated by Square and is used to identify the customer group.
group_created_timestampstringOptionalSpecify the timestamp for when the customer group was created, in RFC 3339 format.
group_last_updated_timestringOptionalThe timestamp when the customer group was last updated, in RFC 3339 format.
idempotency_keystringOptionalA unique string to ensure the request is processed only once. See [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency).

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateCustomerGroup'.
#

SquareupApi.CreateCustomerSubscription

Enroll a customer in a subscription plan. This tool enrolls a customer in a subscription, either charging a card on file or sending an invoice to the customer's email. The subscription can start immediately or on a specified start date and is linked to a specific location. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateSubscription'.
#

SquareupApi.CreateDraftInvoice

Create a draft invoice for an order using Squareup. This tool creates a draft invoice for an order via Squareup. The invoice remains in draft status until published, at which point it can be emailed to the customer or a card on file can be charged. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateInvoice'.
#

SquareupApi.CreateGiftCard

Create and register digital or physical gift cards. This tool creates a digital or registers a physical gift card in a pending state. To activate the gift card for purchases, further action is needed using CreateGiftCardActivity for activation or RefundPayment for refunds. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateGiftCard'.
#

SquareupApi.CreateGiftCardActivity

Creates a gift card activity to manage gift card balance or state. Use this tool to create activities such as activation for gift cards, to manage their balance or state. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateGiftCardActivity'.
#

SquareupApi.CreateJobInSellerAccount

Create a job for a seller account. This tool is used to create a job in a seller's account, specifying the job title and its tip eligibility. It should be called when you need to define a new job role for team members in a seller's business operations.

Parameters

ParameterTypeReq.Description
unique_creation_request_idstringRequiredA unique string to identify the `CreateJob` request, ensuring it is not processed multiple times.
is_tip_eligiblebooleanOptionalIndicates whether team members can earn tips for the job. Accepts a boolean value.
job_creation_timestampstringOptionalThe timestamp for when the job was created, in RFC 3339 format.
job_idstringOptionalUnique Square-assigned job ID. This is read-only and used internally by Square.
job_last_updated_timestampstringOptionalThe timestamp indicating when the job was last updated, in RFC 3339 format.
job_titlestringOptionalThe title of the job to be created in the seller's account.
job_version_readonlyintegerOptionalRead-only field for the current version of the job, used for optimistic concurrency in `UpdateJob` requests.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateJob'.
#

SquareupApi.CreateLoyaltyAccount

Create a loyalty account for a buyer. Create a loyalty account by providing a program ID and buyer's phone number mapping. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateLoyaltyAccount'.
#

SquareupApi.CreateLoyaltyPromotion

Create a new loyalty promotion for a program. This tool creates a loyalty promotion within a specified loyalty program, allowing buyers to earn additional points. It sets the promotion to either 'ACTIVE' or 'SCHEDULED' based on the available time setting. A program can have up to 10 active or scheduled promotions. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
loyalty_program_idstringOptionalThe ID of the loyalty program to associate with the promotion. Use the RetrieveLoyaltyProgram endpoint with the 'main' keyword to obtain it. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateLoyaltyPromotion'.
#

SquareupApi.CreateLoyaltyReward

Create a loyalty reward by locking points for a customer. This tool creates a loyalty reward by using a specified reward tier ID to lock points. Optionally, it can add the reward and related discount to an existing order if an order ID is provided. After creation, the points are locked and unavailable for redemption.

Parameters

ParameterTypeReq.Description
loyalty_account_idstringRequiredThe Square-assigned ID of the loyalty account to which the reward belongs.
reward_tier_idstringRequiredThe Square-assigned ID of the reward tier used to create the loyalty reward.
unique_request_keystringRequiredA unique string that identifies this CreateLoyaltyReward request. Must be unique for each request to prevent duplication.
loyalty_reward_idstringOptionalThe Square-assigned ID of the loyalty reward to be created or referenced.
loyalty_reward_statusstringOptionalThe status of the loyalty reward. Possible values: 'ISSUED', 'REDEEMED', 'DELETED'.
number_of_loyalty_pointsintegerOptionalThe number of loyalty points to use for creating the reward.
order_idstringOptionalThe Square-assigned ID of the order to which the reward is attached. Optional if no order is involved.
reward_creation_timestampstringOptionalThe timestamp when the reward was created, in RFC 3339 format. This indicates the date and time of reward creation.
reward_last_updated_timestampstringOptionalThe timestamp when the reward was last updated, in RFC 3339 format.
reward_redeemed_timestampstringOptionalThe timestamp when the reward was redeemed, in RFC 3339 format. This value indicates the moment the reward was used.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateLoyaltyReward'.
#

SquareupApi.CreateNewLocation

Create a new location for sales and configuration. This tool creates a new location using the Square Locations API. It's useful for setting up separate configurations for receipt layouts, item prices, and sales reports. Ideal for developers integrating Square with their applications to manage distinct sales activities. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateLocation'.
#

SquareupApi.CreateOrderForPurchase

Creates a new order for purchase with product details. Use this tool to create a new order, specifying products and settings for purchase. This tool is ideal for initiating a purchase order that includes specific product information. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateOrder'.
#

SquareupApi.CreatePayment

Create a payment using credit/debit card or other sources. This tool is used to create a payment through a specified source, such as a credit/debit card or to record an external payment. It returns the details of the payment created. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreatePayment'.
#

SquareupApi.CreateScheduledShift

Create a scheduled shift with draft shift details. Use this tool to create a scheduled shift by providing necessary draft shift details such as location ID, job ID, and start and end times. It returns the details of the created shift. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateScheduledShift'.
#

SquareupApi.CreateSquareTerminalDeviceCode

Generate a DeviceCode for Square Terminal login. Creates a code for logging into a Square Terminal device in connected terminal mode. Useful for setting up devices for point-of-sale operations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateDeviceCode'.
#

SquareupApi.CreateTeamMember

Create a new team member with given and family names. This tool is used to create a single TeamMember object by providing the required given name and family name. It returns the created TeamMember object upon success. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateTeamMember'.
#

SquareupApi.CreateTeamMemberTimecard

Create a timecard for a team member's workday. This tool creates a new timecard representing a full workday for a specified team member. Use it when you need to log work hours for employees. Ensure no existing open timecard for the member, that the start time isn't future-dated, and that it doesn't overlap with other timecards. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateTimecard'.
#

SquareupApi.CreateTerminalAction

Create and send a terminal action request to a device. This tool creates a terminal action request and sends it to the specified device using the SquareUp API. It should be called when you need to initiate an action on a terminal device. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateTerminalAction'.
#

SquareupApi.CreateTerminalCheckout

Create a Terminal checkout request for payment. Initiates a Terminal checkout request to process a payment on a specified device using Square's Terminal API. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateTerminalCheckout'.
#

SquareupApi.CreateTerminalRefund

Creates a refund request for Interac payments on Square Terminal. This tool creates a request to refund an Interac payment completed on a Square Terminal. It is specifically for Interac debit card payments in Canada. For other types of refunds, use the Refunds API. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateTerminalRefund'.
#

SquareupApi.CreateTransferOrder

Create a draft transfer order between locations. This tool creates a new transfer order in DRAFT status to move CatalogItemVariations between different locations within a Square account. It should be called when there's a need to initiate the transfer of items, allowing you to add or remove items, modify quantities, or update shipping information before finalizing. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateTransferOrder'.
#

SquareupApi.CreateVendor

Create a vendor for a supplier to a seller. This tool creates a new vendor object to represent a supplier in the system. Use it when you need to add or register a vendor for business operations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateVendor'.
#

SquareupApi.CreateWebhookSubscription

Creates a webhook subscription. Use this tool to establish a webhook subscription for receiving event notifications from the service.

Parameters

ParameterTypeReq.Description
api_versionstringOptionalSpecifies the API version for the webhook subscription. Optional; defaults to the application's current API version if not provided.
enable_subscriptionbooleanOptionalIndicates whether the subscription is enabled (`true`) or not (`false`).
event_typesarray<string>OptionalAn array of event types for the subscription, each as a string.
subscription_created_atstringOptionalThe creation timestamp of the subscription in RFC 3339 format, e.g., "2016-09-04T23:59:33.123Z".
subscription_last_updated_timestampstringOptionalThe timestamp of when the subscription was last updated, in RFC 3339 format (e.g., '2016-09-04T23:59:33.123Z').
subscription_namestringOptionalThe name for the webhook subscription.
subscription_signature_keystringOptionalThe Square-generated signature key used to validate the origin of the webhook event.
subscription_unique_idstringOptionalA Square-generated unique ID for the webhook subscription.
unique_request_identifierstringOptionalA unique string to ensure the idempotence of the CreateWebhookSubscription request, preventing duplicate entries.
webhook_notification_urlstringOptionalThe URL where webhook notifications will be sent. Ensure it is accessible and accurately formatted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateWebhookSubscription'.
#

SquareupApi.DeleteBookingCustomAttribute

Deletes a custom attribute from a booking. Use this tool to delete a specific custom attribute from a booking. Requires appropriate OAuth permissions depending on user level. Seller-level usage requires a subscription to Appointments Plus or Appointments Premium.

Parameters

ParameterTypeReq.Description
booking_idstringRequiredThe unique identifier for the booking from which the custom attribute will be deleted.
custom_attribute_keystringRequiredThe key of the custom attribute to delete. Must match the key in the Square seller account. Use a qualified key if not the definition owner.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteBookingCustomAttribute'.
#

SquareupApi.DeleteBookingCustomAttributeDefinition

Deletes a booking's custom attribute definition. Use this tool to delete a custom attribute definition for bookings. Ensure appropriate OAuth scopes are set: 'APPOINTMENTS_WRITE' for buyer-level permissions, or 'APPOINTMENTS_ALL_WRITE' and 'APPOINTMENTS_WRITE' for seller-level permissions. Seller-level permissions require a subscription to Appointments Plus or Premium.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute definition to delete for bookings.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteBookingCustomAttributeDefinition'.
#

SquareupApi.DeleteBreakType

Deletes an existing BreakType. Use this tool to delete an existing BreakType, even if it is referenced in a Shift.

Parameters

ParameterTypeReq.Description
break_type_uuidstringRequiredThe UUID of the BreakType to be deleted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteBreakType'.
#

SquareupApi.DeleteCatalogItems

Deletes catalog items and their children by IDs. Use this tool to delete a set of catalog items by providing their IDs. Deletion is cascading, removing both the items and their associated variations. The tool succeeds even if only part of the requested deletions can be processed, returning only the successfully deleted item IDs.

Parameters

ParameterTypeReq.Description
catalog_object_ids_to_deletearray<string>RequiredThe IDs of the catalog objects to be deleted. Deletion is cascading, removing the item and dependent objects.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BatchDeleteCatalogObjects'.
#

SquareupApi.DeleteCatalogObject

Delete a catalog object and its children by ID. This tool deletes a catalog object in the Squareup catalog using the provided ID. The deletion is cascading, removing all child objects as well. Only one delete request is processed at a time per seller account.

Parameters

ParameterTypeReq.Description
catalog_object_idstringRequiredThe unique ID of the catalog object to delete. Deletion is cascading, removing all dependent objects.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteCatalogObject'.
#

SquareupApi.DeleteCustomerAttributeDefinition

Delete a customer custom attribute definition from Square. Deletes a custom attribute definition linked to customer profiles from a Square seller account, removing it from all associated customer profiles. Only the owner of the definition can perform this action.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute definition to delete from a Square seller account.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteCustomerCustomAttributeDefinition'.
#

SquareupApi.DeleteCustomerCustomAttribute

Deletes a custom attribute from a customer profile. Use this tool to delete a custom attribute associated with a customer profile. Applicable when removing attributes with visibility set to READ_WRITE.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute to delete. Must match the key of a custom attribute definition in the Square seller account. Use the qualified key if not the definition owner.
customer_profile_idstringRequiredThe ID of the target customer profile for which the custom attribute will be deleted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteCustomerCustomAttribute'.
#

SquareupApi.DeleteCustomerGroup

Deletes a customer group by its ID. Use this tool to delete a customer group in your database by specifying the group ID. It confirms the successful deletion of the group.

Parameters

ParameterTypeReq.Description
customer_group_idstringRequiredThe ID of the customer group you want to delete.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteCustomerGroup'.
#

SquareupApi.DeleteCustomerProfile

Delete a customer profile from a business system. Use this tool to delete a customer profile from a business's records. It requires the customer ID, especially if the profile was created by merging existing profiles.

Parameters

ParameterTypeReq.Description
customer_idstringRequiredThe ID of the customer to delete from the business system. Required for identifying the customer profile to remove.
customer_profile_versionintegerOptionalThe current version of the customer profile for optimistic concurrency control.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteCustomer'.
#

SquareupApi.DeleteDraftTransferOrder

Delete a draft transfer order and trigger webhook event. Use this tool to delete a transfer order in DRAFT status. Only applicable to orders that have not yet been started. A webhook event 'transfer_order.deleted' is triggered upon deletion.

Parameters

ParameterTypeReq.Description
transfer_order_idstringRequiredThe ID of the transfer order in DRAFT status to delete. Only draft orders are eligible.
optimistic_concurrency_versionintegerOptionalVersion number used for optimistic concurrency control to ensure data consistency when deleting a draft transfer order.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteTransferOrder'.
#

SquareupApi.DeleteInvoice

Delete a draft invoice and change order status to CANCELED. This tool deletes a specified draft invoice. Once deleted, the associated order status changes to CANCELED. It cannot delete a published invoice, including those scheduled for processing.

Parameters

ParameterTypeReq.Description
invoice_idstringRequiredThe ID of the draft invoice to delete.
invoice_versionintegerOptionalThe version number of the invoice to delete. Use GetInvoice or ListInvoices if unknown.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteInvoice'.
#

SquareupApi.DeleteLocationCustomAttribute

Delete a custom attribute definition from a location. This tool deletes a location-related custom attribute definition from a Square seller account. It also removes the corresponding custom attribute from all locations. Only the definition owner can perform this action.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe identifier for the custom attribute definition to remove.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteLocationCustomAttributeDefinition'.
#

SquareupApi.DeleteLoyaltyReward

Deletes a loyalty reward and restores points to the account. This tool deletes a specified loyalty reward, restoring the corresponding points to the user's account. It also updates any associated order to remove the reward and related discounts, if an order ID was specified upon reward creation. Cannot be used on rewards that have been redeemed.

Parameters

ParameterTypeReq.Description
loyalty_reward_idstringRequiredThe ID of the loyalty reward to delete, returning points to the account. Cannot delete redeemed rewards.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteLoyaltyReward'.
#

SquareupApi.DeleteMerchantCustomAttribute

Delete a custom attribute definition for a Square merchant. Deletes a merchant-specific custom attribute definition from a Square seller account, including the associated custom attribute. Only the definition owner can perform this deletion.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute definition to be deleted from the Square account.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteMerchantCustomAttributeDefinition'.
#

SquareupApi.DeleteOrderCustomAttribute

Delete a custom attribute from an order profile. Use this tool to delete a custom attribute associated with an order. Ensure that the visibility setting is 'VISIBILITY_READ_WRITE_VALUES' for attributes owned by other applications.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute to delete. Must match an existing custom attribute definition key.
order_idstringRequiredThe unique identifier of the order from which the custom attribute will be deleted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteOrderCustomAttribute'.
#

SquareupApi.DeleteOrderCustomAttributeDefinition

Delete a custom attribute definition from an order. This tool deletes an order-related custom attribute definition from a Square seller account. Only the definition owner has the permission to perform this action.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute definition to delete from an order.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteOrderCustomAttributeDefinition'.
#

SquareupApi.DeleteSquareSnippet

Delete a snippet from a Square Online site. Use this tool to remove a snippet from a specified Square Online site. Useful when you need to update or clean up content on a site. Make sure to retrieve the site IDs using the ListSites API beforehand.

Parameters

ParameterTypeReq.Description
site_idstringRequiredThe ID of the Square Online site containing the snippet to be deleted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteSnippet'.
#

SquareupApi.DeleteSubscriptionAction

Delete a scheduled action for a subscription. Use this tool to delete a specific scheduled action related to a subscription when changes or cancellations are needed.

Parameters

ParameterTypeReq.Description
subscription_idstringRequiredThe ID of the subscription for which the action is to be deleted. Provide the correct subscription ID to ensure accurate targeting.
targeted_action_idstringRequiredThe ID of the specific action to be deleted from the subscription.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteSubscriptionAction'.
#

SquareupApi.DeleteTimecard

Delete a specific timecard entry. This tool deletes a specified timecard entry using its unique identifier. Use it when a timecard needs to be permanently removed from the system.

Parameters

ParameterTypeReq.Description
timecard_uuidstringRequiredThe UUID for the Timecard being deleted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteTimecard'.
#

SquareupApi.DeleteWebhookSubscription

Deletes a specified webhook subscription. Use this tool to delete an existing webhook subscription by providing the subscription ID. It should be called when there is a need to remove a webhook subscription.

Parameters

ParameterTypeReq.Description
webhook_subscription_idstringRequiredThe ID of the webhook subscription to delete. This ID is required to specify which subscription needs to be removed.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteWebhookSubscription'.
#

SquareupApi.DisableCreditCard

Disable a credit card to prevent further charges. Use this tool to disable a credit card, which will prevent any further updates or charges on the card. Attempting to disable an already disabled card is allowed but will have no effect.

Parameters

ParameterTypeReq.Description
credit_card_idstringRequiredUnique ID of the credit card to be disabled. This is required to specify the card to be deactivated.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DisableCard'.
#

SquareupApi.DisableSearchableEvents

Disable events to prevent them from being searchable. Use this tool to disable events, ensuring they cannot be searched. Useful for controlling event visibility during specific time periods.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DisableEvents'.
#

SquareupApi.DismissTerminalAction

Dismiss a Terminal action request if permitted. This tool dismisses a Terminal action request when the status and type allow it. Use it for canceling or dismissing actions on a Square Terminal. Refer to the Square documentation for more about linking and dismissing actions.

Parameters

ParameterTypeReq.Description
terminal_action_idstringRequiredUnique ID for the TerminalAction to be dismissed.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DismissTerminalAction'.
#

SquareupApi.DismissTerminalCheckout

Dismiss a Terminal checkout request. Use this tool to dismiss a Terminal checkout request when the status and type allow dismissal.

Parameters

ParameterTypeReq.Description
terminal_checkout_idstringRequiredUnique ID for the `TerminalCheckout` to be dismissed.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DismissTerminalCheckout'.
#

SquareupApi.DismissTerminalRefund

Dismiss a Terminal refund request. Use this tool to dismiss a Terminal refund request if it's allowable based on the status and type of the request.

Parameters

ParameterTypeReq.Description
terminal_refund_unique_idstringRequiredUnique ID for the TerminalRefund associated with the refund to be dismissed.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DismissTerminalRefund'.
#

SquareupApi.EnableEventsSearch

Enable events to make them searchable. This tool should be called to enable events, allowing them to be searchable from this point onward. Only events that occur while in the enabled state will be searchable.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'EnableEvents'.
#

SquareupApi.FetchInventoryChanges

Retrieve historical inventory changes and adjustments. Use this tool to access historical physical counts and inventory adjustments based on specific filter criteria. The results are paginated and sorted by the `occurred_at` timestamp in ascending order, providing a comprehensive log of inventory changes.

Parameters

ParameterTypeReq.Description
filter_by_catalog_object_idsarray<string>OptionalFilter results by providing an array of CatalogObject IDs. Only applicable when set.
filter_by_location_idsarray<string>OptionalReturn results filtered by specific `Location` IDs. This is optional and defaults to null.
filter_by_updated_before_timestampstringOptionalReturn results with `created_at` or `calculated_at` before this RFC 3339 timestamp.
filter_inventory_change_typesarray<string>OptionalA list of `InventoryChangeType` values to filter results, excluding `TRANSFER`. Default is `[PHYSICAL_COUNT, ADJUSTMENT]`.
filter_updated_after_timestampstringOptionalReturn results with `calculated_at` after specified time in RFC 3339 format. Default is the UNIX epoch (`1970-01-01T00:00:00Z`).
inventory_states_filterarray<string>OptionalFilter to return `ADJUSTMENT` query results by `InventoryState`. Only applies if set. Accepts a list of states.
number_of_records_to_returnintegerOptionalThe number of inventory change records to return in the response.
pagination_cursorstringOptionalA cursor for pagination to retrieve the next set of inventory results. Use this from a previous call to continue fetching data.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BatchRetrieveInventoryChanges'.
#

SquareupApi.GetAccountDisputes

Retrieve a list of disputes for an account. Use this tool to obtain a list of disputes related to a specific account. It is useful for managing and reviewing disputes.

Parameters

ParameterTypeReq.Description
dispute_states_filterstringOptionalSpecify dispute states to filter the results. Options: INQUIRY_EVIDENCE_REQUIRED, INQUIRY_PROCESSING, INQUIRY_CLOSED, EVIDENCE_REQUIRED, PROCESSING, WON, LOST, ACCEPTED. Defaults to all states if not provided.
location_idstringOptionalThe unique ID of the location to filter disputes for. If omitted, disputes from all locations are returned.
pagination_cursorstringOptionalA string cursor from a previous call to retrieve the next set of dispute results. See [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListDisputes'.
#

SquareupApi.GetBankAccountDetails

Retrieve details of a bank account linked to a Square account. Use this tool to obtain detailed information about a specific bank account associated with a Square account by providing the bank account ID.

Parameters

ParameterTypeReq.Description
bank_account_idstringRequiredSquare-issued ID of the desired bank account to retrieve its details.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetBankAccount'.
#

SquareupApi.GetBankAccountDetailsByV1Id

Fetches bank account details using a V1 ID. Use this tool to retrieve details of a bank account by providing the V1 bank account ID. Useful for obtaining specific bank account information from the Squareup service.

Parameters

ParameterTypeReq.Description
v1_bank_account_idstringRequiredThe V1 ID of the bank account to retrieve details for. This ID is used to fetch specific account information from the Squareup service.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetBankAccountByV1Id'.
#

SquareupApi.GetBreakTypeById

Retrieve details of a specific BreakType by ID. Use this tool to get information about a specific BreakType using its unique ID. It should be called when details about a particular break type in the system are required.

Parameters

ParameterTypeReq.Description
break_type_uuidstringRequiredThe UUID of the BreakType to retrieve.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetBreakType'.
#

SquareupApi.GetCatalogItemInfo

Retrieve detailed information for a specific catalog item. This tool retrieves a single catalog item as a CatalogObject based on the provided ID. It includes all relevant information, such as CatalogItemVariation children, references to CatalogModifierList objects, and applicable CatalogTax IDs.

Parameters

ParameterTypeReq.Description
catalog_object_idstringRequiredThe object ID of the catalog item to retrieve detailed information for.
catalog_versionintegerOptionalSpecify a catalog version to retrieve historical object data. If not provided, the current catalog version is used.
include_category_path_to_rootbooleanOptionalInclude the category's path to the root in the response to show its hierarchy. Returns an empty list for top-level categories.
include_related_objectsbooleanOptionalSet to `true` to include additional related objects, like associated categories, taxes, and images, in the response. Ideal for immediate user display.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveCatalogObject'.
#

SquareupApi.GetCustomerCustomAttribute

Retrieve a custom attribute from a customer profile. Retrieves a custom attribute associated with a customer profile in Squareup. Optionally, also retrieves the custom attribute definition using a query parameter. Useful for accessing specific customer data fields set by sellers or other applications.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute to retrieve. This must match an existing custom attribute key in the Square seller account. Use a qualified key if not the definition owner.
customer_profile_idstringRequiredThe ID of the customer profile to retrieve the custom attribute from.
attribute_versionintegerOptionalThe version of the custom attribute for consistent reads. A higher version will return a BAD_REQUEST error.
include_custom_attribute_definitionbooleanOptionalSet to true to include the custom attribute definition with name, description, data type, and other details. Default is false.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveCustomerCustomAttribute'.
#

SquareupApi.GetCustomerCustomAttributeDefinition

Retrieve a customer's custom attribute definition from Square. Use this tool to get a specific customer-related custom attribute definition from a Square seller account. It retrieves details about the attribute, provided it has the correct visibility settings.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute definition to retrieve. Use the qualified key if not the owner.
custom_attribute_versionintegerOptionalThe current version of the custom attribute definition to ensure consistent reads. Use to check for the most up-to-date data.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveCustomerCustomAttributeDefinition'.
#

SquareupApi.GetCustomerGroup

Retrieve details of a specific customer group by group ID. Use this tool to get information about a specific customer group using its unique group ID.

Parameters

ParameterTypeReq.Description
customer_group_idstringRequiredThe unique ID of the customer group to retrieve details for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveCustomerGroup'.
#

SquareupApi.GetCustomerSegment

Retrieve specific customer segment information. Use this tool to get information about a specific customer segment using the segment ID.

Parameters

ParameterTypeReq.Description
customer_segment_idstringRequiredThe Square-issued ID of the customer segment to retrieve.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveCustomerSegment'.
#

SquareupApi.GetDisputeEvidence

Retrieve evidence for a specific dispute. Use this tool to obtain a list of all evidence linked to a particular dispute, identified by its dispute ID.

Parameters

ParameterTypeReq.Description
dispute_idstringRequiredSpecify the ID of the dispute to retrieve its associated evidence.
pagination_cursorstringOptionalA cursor for pagination. Provide this to retrieve the next set of results for the original query.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListDisputeEvidence'.
#

SquareupApi.GetDisputeEvidenceMetadata

Get metadata for specified dispute evidence. Use this tool to retrieve the metadata of a specific piece of evidence related to a dispute by providing the dispute ID and evidence ID. Useful for managing and reviewing evidence details.

Parameters

ParameterTypeReq.Description
dispute_idstringRequiredThe unique ID of the dispute to retrieve evidence metadata from.
evidence_idstringRequiredThe unique identifier for the evidence to retrieve metadata for. Required to specify which evidence's metadata is needed in the dispute.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveDisputeEvidence'.
#

SquareupApi.GetInventoryCount

Retrieve current stock count for a specific catalog item. Use this tool to get the current calculated inventory count for a specific CatalogObject at specified locations. This is useful for tracking stock levels in real-time.

Parameters

ParameterTypeReq.Description
catalog_object_idstringRequiredThe ID of the CatalogObject to retrieve inventory count for.
location_idsstringOptionalComma-separated list of Location IDs to query. Use an empty list to query all locations.
pagination_cursorstringOptionalA cursor for paginating results, from previous call, to fetch next page.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveInventoryCount'.
#

SquareupApi.GetInventoryPhysicalCount

Retrieve details of a specific inventory physical count. Use this tool to get details of an inventory physical count using the provided physical count ID.

Parameters

ParameterTypeReq.Description
inventory_physical_count_idstringRequiredID of the InventoryPhysicalCount to retrieve details for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveInventoryPhysicalCount'.
#

SquareupApi.GetLocationCustomAttribute

Retrieve a custom attribute for a specific location. This tool fetches a custom attribute linked with a specific location. It can also include the attribute definition if specified. Use this when you need details about a location's custom attributes.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key for the custom attribute to retrieve. Must match the key in Square's custom attribute definition. Use qualified key if needed.
target_location_idstringRequiredThe ID of the target location to retrieve its custom attribute.
custom_attribute_versionintegerOptionalSpecify the current version of the custom attribute for consistent data retrieval. A BAD_REQUEST error is returned if this version exceeds the current version.
include_custom_attribute_definitionbooleanOptionalSet to true to include details like name, description, and data type of the custom attribute definition. Default is false.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveLocationCustomAttribute'.
#

SquareupApi.GetLoyaltyProgram

Retrieve the loyalty program details for a seller. Use this tool to get information about the loyalty program in a seller's account. You can specify the program by its ID or use the keyword 'main' to access the primary program. This is useful for understanding how buyers earn points and redeem rewards in the loyalty program.

Parameters

ParameterTypeReq.Description
loyalty_program_identifierstringRequiredThe ID of the loyalty program or the keyword 'main'. Use to retrieve the loyalty program of a seller.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveLoyaltyProgram'.
#

SquareupApi.GetLoyaltyReward

Retrieve details of a specific loyalty reward. Use this tool to fetch details about a particular loyalty reward by providing the reward ID. This can help understand customer incentives or verify reward status.

Parameters

ParameterTypeReq.Description
loyalty_reward_idstringRequiredThe ID of the loyalty reward to retrieve. This is required to fetch details about a specific reward for a customer.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveLoyaltyReward'.
#

SquareupApi.GetMerchantCustomAttributeDefinition

Retrieves custom attribute definition for a Square seller account. This tool retrieves a custom attribute definition related to a merchant from a Square seller account. It is useful for obtaining detailed attribute information created by other applications, provided the visibility settings are set to allow access.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute definition to retrieve. Use the qualified key if not the definition owner.
custom_attribute_versionintegerOptionalSpecifies the current version of the custom attribute definition for retrieving the most up-to-date data. If the specified version is higher than the current, a 'BAD_REQUEST' error is returned.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveMerchantCustomAttributeDefinition'.
#

SquareupApi.GetMerchantDetails

Retrieve details about a specific merchant. This tool provides information about the merchant associated with a given access token, returning a list with a single merchant object. Useful for acquiring merchant details when the merchant ID is unknown.

Parameters

ParameterTypeReq.Description
previous_response_cursorintegerOptionalThe cursor generated by the previous response for fetching subsequent pages.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListMerchants'.
#

SquareupApi.GetPaymentDetails

Retrieve detailed information about a specific payment. This tool retrieves details for a specific payment using its ID. It should be called when information about a particular payment is needed, such as transaction details, status, and other relevant data.

Parameters

ParameterTypeReq.Description
payment_idstringRequiredUnique ID to retrieve specific payment details.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetPayment'.
#

SquareupApi.GetPayoutDetails

Retrieve details of a specific payout using payout ID. Use this tool to obtain detailed information about a specific payout by providing its payout ID. Ensure that the required OAuth scope `PAYOUTS_READ` is set before calling this tool.

Parameters

ParameterTypeReq.Description
payout_idstringRequiredThe unique identifier of the payout to retrieve details for. This ID is required to fetch the specific payout information.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetPayout'.
#

SquareupApi.GetSquareCatalogInfo

Retrieve Square Catalog API information and batch size limits. This tool fetches details about the Square Catalog API, including information on batch size limits for the `BatchUpsertCatalogObjects` endpoint. Use this to understand API constraints and capabilities.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CatalogInfo'.
#

SquareupApi.GetTeamMemberBookingProfile

Retrieve a team member's booking profile from Square. Use this tool to get specific booking information for a team member by their unique ID. Ideal for checking availability or scheduling details.

Parameters

ParameterTypeReq.Description
team_member_unique_idstringRequiredThe unique identifier for the team member whose booking profile is being retrieved.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveTeamMemberBookingProfile'.
#

SquareupApi.GetTeamMemberDetails

Retrieve details for a specific team member by ID. Use this tool to get information about a specific team member using their ID. Useful for managing team details and troubleshooting within the Squareup platform.

Parameters

ParameterTypeReq.Description
team_member_idstringRequiredThe unique identifier for the team member to retrieve their details from Squareup.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveTeamMember'.
#

SquareupApi.GetTeamMemberWage

Retrieve wage details for a specific team member. Use this tool to obtain wage information for a specific team member by their ID. Useful for managing payroll or reviewing individual compensation.

Parameters

ParameterTypeReq.Description
team_member_wage_idstringRequiredThe unique identifier (UUID) for retrieving the specific TeamMemberWage record.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetTeamMemberWage'.
#

SquareupApi.GetTerminalRefund

Retrieve details of an Interac Terminal refund by ID. Call this tool to get information about a specific Interac Terminal refund using its ID. Refund details are available for 30 days after the refund is processed.

Parameters

ParameterTypeReq.Description
terminal_refund_idstringRequiredThe unique ID for the desired TerminalRefund. Use this ID to retrieve specific refund details available for 30 days.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetTerminalRefund'.
#

SquareupApi.GetTimecardById

Fetch details of a specific timecard by ID. Use this tool to retrieve information about a specific timecard using its unique ID. This is useful for accessing detailed timecard records for employees.

Parameters

ParameterTypeReq.Description
timecard_idstringRequiredThe unique UUID identifying the timecard you want to retrieve.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveTimecard'.
#

SquareupApi.LinkCustomerToGiftCard

Link a customer to a gift card for future use. This tool is used to link a specific customer to a gift card, which allows storing the card on file for the customer. Use it when you want to associate a gift card with a customer for tracking and usage purposes.

Parameters

ParameterTypeReq.Description
customer_idstringRequiredThe ID of the customer to link to the gift card. This should be a unique identifier representing the customer in the system.
gift_card_identifierstringRequiredThe unique ID of the gift card to link to the customer.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'LinkCustomerToGiftCard'.
#

SquareupApi.ListAllLocations

Fetch details of all seller's locations, including inactive ones. This tool retrieves and provides information about all of the seller's locations from SquareUp, including those with inactive status. Locations are listed alphabetically by name and can be used to gain insights into the seller's business locations.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListLocations'.
#

SquareupApi.ListBankAccounts

Fetches bank accounts linked to a Square account. Use this tool to get a list of all bank accounts associated with a Square account. It retrieves relevant bank account details.

Parameters

ParameterTypeReq.Description
location_id_filterstringOptionalSpecify this optional filter to retrieve bank accounts linked to a specific location.
max_bank_accountsintegerOptionalSpecify the maximum number of bank accounts to return. The limit can be up to 1000, which is also the default.
pagination_cursorstringOptionalThe pagination cursor from a previous `ListBankAccounts` call to retrieve the next set of results.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListBankAccounts'.
#

SquareupApi.ListBookingCustomAttributeDefinitions

Retrieve all custom attribute definitions for bookings. Use this tool to get all custom attribute definitions associated with bookings. It requires appropriate OAuth permissions based on buyer or seller level access. This tool is ideal for managing and understanding the custom attributes tied to booking data.

Parameters

ParameterTypeReq.Description
pagination_cursorstringOptionalCursor from the previous response to get the next page of results.
result_limitintegerOptionalMaximum results to return per page. Must be between 1 and 100, default is 20.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListBookingCustomAttributeDefinitions'.
#

SquareupApi.ListBookingCustomAttributes

Retrieve a booking's custom attributes. Use this tool to list custom attributes associated with a specific booking. Ensure proper OAuth scope with 'APPOINTMENTS_READ' for buyer-level permissions or both 'APPOINTMENTS_ALL_READ' and 'APPOINTMENTS_READ' for seller-level permissions.

Parameters

ParameterTypeReq.Description
booking_idstringRequiredThe unique identifier for the target booking to list custom attributes for. This is required to specify which booking's attributes to retrieve.
include_custom_attribute_definitionsbooleanOptionalSet to true to include custom attribute definitions, providing names, descriptions, data types, and other details. Default is false.
maximum_results_limitintegerOptionalThe maximum number of results to return in a single response (1-100). Default is 20.
pagination_cursorstringOptionalThe cursor from the previous API response used to retrieve the next page of results.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListBookingCustomAttributes'.
#

SquareupApi.ListBookingProfiles

Retrieve booking profiles for team members. Use this tool to obtain a list of booking profiles associated with team members. Ideal for viewing or managing team schedules and bookings.

Parameters

ParameterTypeReq.Description
filter_by_location_idstringOptionalFilter to return only team members enabled at the specified location ID.
include_only_bookable_membersbooleanOptionalSet to true to include only team members who are bookable. False includes all members.
maximum_results_limitintegerOptionalSpecify the maximum number of results to return in a paged response.
pagination_cursorstringOptionalThe cursor for pagination to retrieve the next page of results. Omit for the first page of results.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListTeamMemberBookingProfiles'.
#

SquareupApi.ListBreakTypes

Retrieve a paginated list of break types for a business. Use this tool to obtain a list of different break types defined in a business. Ideal for accessing and managing labor-related break policies.

Parameters

ParameterTypeReq.Description
filter_by_location_idstringOptionalFilter results to break types associated with the specified location ID.
max_results_per_pageintegerOptionalSpecify the maximum number of BreakType results to return per page. Must be between 1 and 200. Default is 200.
next_page_cursorstringOptionalA pointer to the next page of `BreakType` results to fetch for continued listing of break types.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListBreakTypes'.
#

SquareupApi.ListCashDrawerShiftEvents

Retrieve events for a specific cash drawer shift. Use this tool to get a list of events related to a specific cash drawer shift. This is useful for tracking activities during the shift.

Parameters

ParameterTypeReq.Description
location_idstringRequiredThe unique identifier for the location to retrieve cash drawer shift events from.
shift_idstringRequiredThe ID of the cash drawer shift to retrieve events for.
max_results_per_pageintegerOptionalNumber of results to return per page (default is 200, maximum is 1000).
pagination_cursorstringOptionalOpaque cursor for fetching the next page of cash drawer shift event results.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListCashDrawerShiftEvents'.
#

SquareupApi.ListCashDrawerShifts

Retrieve cash drawer shift details for a location and date range. Use this tool to obtain detailed information about cash drawer shifts for a specific location during a specified date range. Ideal for managing and auditing cash flows in business operations.

Parameters

ParameterTypeReq.Description
location_idstringRequiredThe unique identifier of the location to retrieve cash drawer shifts for.
exclusive_query_end_timestringOptionalThe exclusive end time for the query on opened_at, provided in ISO 8601 format.
pagination_cursorstringOptionalOpaque cursor used for fetching the next page of results from the API.
results_per_pageintegerOptionalNumber of cash drawer shift events per page. Default is 200, with a maximum of 1000.
sort_orderstringOptionalSpecifies the order of cash drawer shifts based on their opened_at field. Options are 'ASC' for ascending and 'DESC' for descending. Default is 'ASC'.
start_timestringOptionalThe inclusive start time for the query in ISO 8601 format.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListCashDrawerShifts'.
#

SquareupApi.ListCatalogItems

Retrieve a list of catalog objects by type from Square catalog. Use this tool to get a list of catalog objects from Square, specifying desired types such as ITEM, ITEM_VARIATION, MODIFIER, etc. Note: It does not include deleted items.

Parameters

ParameterTypeReq.Description
catalog_object_typesstringOptionalA case-insensitive, comma-separated list of object types to retrieve. Valid types include ITEM, ITEM_VARIATION, CATEGORY, DISCOUNT, TAX, MODIFIER, MODIFIER_LIST, IMAGE, etc. Defaults to top-level types if unspecified.
catalog_version_numberintegerOptionalSpecify the catalog version number to retrieve historical objects. If omitted, retrieves current version.
pagination_cursorstringOptionalThe cursor for pagination from a previous response. Leave unset for the initial request. Page size is 100.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListCatalog'.
#

SquareupApi.ListCustomerCustomAttributeDefinitions

Retrieve customer custom attribute definitions for a Square seller. Lists customer-related custom attribute definitions of a Square seller account, including those visible to the requesting app. This includes custom attributes that are read-only or read-write.

Parameters

ParameterTypeReq.Description
max_results_per_pageintegerOptionalMaximum number of results to return per page. It ranges from 1 to 100, defaulting to 20.
pagination_cursorstringOptionalCursor from the previous response for pagination. Use it to get the next page of results.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListCustomerCustomAttributeDefinitions'.
#

SquareupApi.ListCustomerCustomAttributes

Retrieve custom attributes of a customer profile. This tool lists the custom attributes associated with a customer profile, with an option to include custom attribute definitions. It retrieves all custom attributes visible to the requesting application, including those owned by other applications with shared visibility settings.

Parameters

ParameterTypeReq.Description
customer_profile_idstringRequiredThe unique identifier of the customer profile whose custom attributes are to be retrieved.
include_attribute_definitionsbooleanOptionalSet to true to include custom attribute definitions in each custom attribute's definition field. Default is false.
maximum_results_per_pageintegerOptionalThe maximum number of results to return in a single response. Valid values are 1 to 100, default is 20.
paging_cursorstringOptionalCursor from the previous response to get the next page of results. Used for pagination.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListCustomerCustomAttributes'.
#

SquareupApi.ListCustomerGroups

Retrieve a list of customer groups for a business. Call this tool to get the customer groups associated with a business. Useful for understanding customer segments or managing customer-related operations.

Parameters

ParameterTypeReq.Description
max_results_per_pageintegerOptionalThe maximum number of customer groups to return per page. Must be between 1 and 50.
pagination_cursorstringOptionalA pagination cursor to retrieve the next set of results from a previous query. Useful for handling paginated responses.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListCustomerGroups'.
#

SquareupApi.ListCustomerProfiles

Retrieve customer profiles from a Square account. Use this tool to list customer profiles linked to a Square account. It is useful when you need to access or manage customer data stored on Square. Newly created or updated profiles may take up to a minute to be available for listing during network incidents.

Parameters

ParameterTypeReq.Description
customer_sort_fieldstringOptionalSpecifies the field by which customers should be sorted. Options: 'DEFAULT' or 'CREATED_AT'. Default is 'DEFAULT'.
customer_sort_orderstringOptionalSpecify sorting order for customers: 'ASC' for ascending or 'DESC' for descending. Default is 'ASC'.
include_total_customer_countbooleanOptionalSet to true to include the total customer count in the response. Default is false.
max_results_per_pageintegerOptionalSpecify the maximum number of customer profiles to retrieve in a single page. Must be between 1 and 100. Default is 100.
pagination_cursorstringOptionalA pagination cursor from a previous request to retrieve the next set of results.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListCustomers'.
#

SquareupApi.ListCustomerSegments

Retrieve customer segments for a business. Use this tool to get the current list of customer segments associated with a business. Ideal for understanding customer categorization and segmentation.

Parameters

ParameterTypeReq.Description
max_results_per_pageintegerOptionalThe maximum number of results to return in a single page. Value must be between 1 and 50. Default is 50.
pagination_cursorstringOptionalA pagination cursor for retrieving the next set of customer segment results. Use a cursor returned from a previous call to continue listing.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListCustomerSegments'.
#

SquareupApi.ListDeviceCodes

List all device codes for a merchant. Fetches all device codes linked to a merchant, providing access to their associated data.

Parameters

ParameterTypeReq.Description
device_code_statusstringOptionalFilter DeviceCodes by statuses: 'UNKNOWN', 'UNPAIRED', 'PAIRED', or 'EXPIRED'. Defaults to 'PAIRED' and 'UNPAIRED' if empty.
location_id_filterstringOptionalFilter to return only DeviceCodes from the specified location. Returns data from all locations if not provided.
pagination_cursorstringOptionalA pagination cursor from a previous call. Use to get the next set of results.
product_type_filterstringOptionalSpecify the product type to filter DeviceCodes. Defaults to all if empty. Options include 'TERMINAL_API'.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListDeviceCodes'.
#

SquareupApi.ListEventTypes

Retrieve available event types for webhooks and API queries. Fetches all event types that can be subscribed to as webhooks or queried via the Events API using Squareup.

Parameters

ParameterTypeReq.Description
api_versionstringOptionalSpecify the API version to list event types, overriding the application's default version.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListEventTypes'.
#

SquareupApi.ListGiftCardActivities

Retrieve and filter gift card activities. Fetches gift card activities for the seller's account, allowing optional filters for specific cards, regions, or timeframes.

Parameters

ParameterTypeReq.Description
activity_sort_orderstringOptionalSpecify the order to return gift card activities: 'ASC' for oldest to newest, 'DESC' for newest to oldest (default).
end_time_rfc3339stringOptionalThe inclusive end timestamp for the reporting period in RFC 3339 format. Defaults to current time.
filter_by_activity_typestringOptionalSpecify a type of gift card activity to filter the results. If not provided, all activity types are returned.
filter_by_location_idstringOptionalSpecify a location ID to filter gift card activities for that location. Leave empty for activities across all locations.
pagination_cursorstringOptionalA cursor returned by a previous call to paginate results. Use to retrieve the next set of results.
reporting_period_start_timestringOptionalThe starting timestamp for filtering gift card activities, in RFC 3339 format. Inclusive of the provided time; defaults to one year ago.
results_limit_per_pageintegerOptionalSpecify the number of results per page. Maximum is 100; default is 50.
specific_gift_card_idstringOptionalSpecify a gift card ID to retrieve activities related to that specific card. If not provided, activities for all gift cards will be returned.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListGiftCardActivities'.
#

SquareupApi.ListGiftCards

Retrieve and filter a list of gift cards. This tool calls the API to list all available gift cards, with the option to apply filters for a more specific subset. Results are returned sorted by their creation date in ascending order.

Parameters

ParameterTypeReq.Description
filter_by_customer_idstringOptionalProvide a customer ID to return only the gift cards linked to that specific customer.
gift_card_statestringOptionalSpecify the state of the gift cards to filter the results by their current status. If not provided, all states are included.
gift_card_typestringOptionalFilter gift cards by a specified type, or return all types if not provided.
pagination_cursorstringOptionalA pagination cursor from a previous call to retrieve the next set of results. If not provided, returns the first page.
results_per_page_limitintegerOptionalSpecify the number of gift cards to return per page. Maximum is 200; default is 30.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListGiftCards'.
#

SquareupApi.ListInvoices

Retrieve a list of invoices for a specified location. This tool retrieves a list of invoices associated with a particular location. It supports pagination, so if the response is too large, a cursor is provided for subsequent requests to fetch the remaining invoices.

Parameters

ParameterTypeReq.Description
location_identifierstringRequiredThe unique identifier for the location to fetch invoices from.
maximum_invoices_to_returnintegerOptionalSpecify the maximum number of invoices to return. The limit is 200; default is 100 if not set.
pagination_cursorstringOptionalA cursor for pagination to retrieve the next set of invoice results.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListInvoices'.
#

SquareupApi.ListJobs

Retrieve jobs from a seller's account, sorted by title. Use this tool to obtain a list of jobs associated with a seller's account. The jobs are organized in ascending order by their title.

Parameters

ParameterTypeReq.Description
pagination_cursorstringOptionalThe pagination cursor for retrieving the next page of results. Use the cursor from the previous call to continue fetching.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListJobs'.
#

SquareupApi.ListLocationCustomAttributeDefinitions

Get location-related custom attribute definitions for a Square account. Use this tool to retrieve all location-related custom attribute definitions associated with a Square seller account, including those with different visibility settings.

Parameters

ParameterTypeReq.Description
filter_by_visibilitystringOptionalFilter results by visibility values: 'ALL', 'READ', or 'READ_WRITE'. Determines the visibility of custom attribute definitions returned.
maximum_results_per_pageintegerOptionalSets the maximum number of results to return in a single response page. Accepts values between 1 and 100, default is 20.
pagination_cursorstringOptionalThe cursor from the previous response to fetch the next page of results.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListLocationCustomAttributeDefinitions'.
#

SquareupApi.ListLocationCustomAttributes

Retrieve custom attributes for a specific location. This tool retrieves custom attributes associated with a specific location from Square. Optionally, custom attribute definitions can be included. It returns attributes visible to the requester, including those with varying visibility settings.

Parameters

ParameterTypeReq.Description
location_idstringRequiredThe ID of the target location to retrieve custom attributes for.
filter_by_visibilitystringOptionalFilters custom attribute definitions by visibility values. Options include 'ALL', 'READ', or 'READ_WRITE'.
include_custom_attribute_definitionsbooleanOptionalSet to true to include custom attribute definitions, providing name, description, and data type details. Defaults to false.
maximum_results_limitintegerOptionalThe maximum number of results to return in a single response. Valid range: 1 to 100. Default is 20.
pagination_cursorstringOptionalThe cursor for fetching the next page of results in a paginated response.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListLocationCustomAttributes'.
#

SquareupApi.ListLoyaltyPromotions

Retrieve promotions from a specific loyalty program. Call this tool to list loyalty promotions associated with a specific loyalty program, sorted by the most recent creation date.

Parameters

ParameterTypeReq.Description
loyalty_program_idstringRequiredThe ID of the loyalty program to list promotions for. Obtain via `RetrieveLoyaltyProgram` using `main`.
max_results_per_pageintegerOptionalSpecify the maximum number of promotions to return in a single response. Must be between 1 and 30, defaults to 30.
pagination_cursorstringOptionalThe cursor for retrieving the next page of results from the previous call.
promotion_status_filterstringOptionalSpecify the status to filter loyalty promotions. Options include ACTIVE, ENDED, CANCELED, SCHEDULED. Returns promotions with the specified status.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListLoyaltyPromotions'.
#

SquareupApi.ListMerchantCustomAttributeDefinitions

Retrieve merchant custom attribute definitions. Fetch all merchant-related custom attribute definitions for a Square seller account, including those visible to the requesting application, even if created by other applications.

Parameters

ParameterTypeReq.Description
max_results_per_pageintegerOptionalThe maximum number of results to return in a single response, ranging from 1 to 100. Default is 20.
pagination_cursorstringOptionalThe cursor for retrieving the next page of results from a previous response.
visibility_filter_optionstringOptionalSpecify the visibility level of the CustomAttributeDefinition results. Options: ALL, READ, READ_WRITE.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListMerchantCustomAttributeDefinitions'.
#

SquareupApi.ListMerchantCustomAttributes

Retrieve custom attributes for a specified merchant. This tool retrieves the custom attributes associated with a specific merchant, including those visible to the requesting application and owned by other applications. Useful for managing and analyzing merchant-specific data.

Parameters

ParameterTypeReq.Description
merchant_identifierstringRequiredThe unique identifier for the target merchant whose custom attributes are to be listed.
filter_custom_attribute_visibilitystringOptionalFilters custom attribute definition results by visibility values. Valid options are 'ALL', 'READ', or 'READ_WRITE'.
include_custom_attribute_definitionsbooleanOptionalSet to true to include custom attribute definitions, providing details like name, description, and data type.
maximum_results_limitintegerOptionalThe maximum number of results to return in a single response. Minimum is 1, maximum is 100, defaults to 20.
paging_cursorstringOptionalThe cursor from the previous paged response to retrieve the next set of results.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListMerchantCustomAttributes'.
#

SquareupApi.ListMerchantDevices

Retrieve a list of devices for a merchant's terminal API. This tool is used to list all devices associated with a merchant, specifically for the Terminal API. It is helpful for businesses needing an overview of their registered devices.

Parameters

ParameterTypeReq.Description
device_listing_orderstringOptionalSpecifies whether to list devices from oldest to newest ('ASC') or newest to oldest ('DESC').
filter_by_location_idstringOptionalReturn devices only at the specified location ID, if provided.
pagination_cursorstringOptionalA string used to fetch the next set of device results. Obtained from a prior API call, it facilitates pagination.
results_page_limitintegerOptionalThe number of results to return in a single page. Use this to control pagination of the device list.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListDevices'.
#

SquareupApi.ListOrderCustomAttributeDefinitions

Retrieve order-related custom attribute definitions for a Square seller. Lists all order-related custom attribute definitions for a Square seller account, including those with read-only or read-write visibility set by other applications.

Parameters

ParameterTypeReq.Description
custom_attribute_visibility_filterstringOptionalSpecify whether to return all custom attributes, or only those that are read-only ('READ') or read-write ('READ_WRITE'). Valid options are 'ALL', 'READ', or 'READ_WRITE'.
maximum_results_per_pageintegerOptionalThe maximum number of results to return in a single response. Accepts values 1 to 100, default is 20.
pagination_cursorstringOptionalThe cursor for fetching the next page of results in a multi-page response. It should be used as returned from a previous call.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListOrderCustomAttributeDefinitions'.
#

SquareupApi.ListOrderCustomAttributes

Retrieve custom attributes associated with an order. This tool fetches the custom attributes linked to a specific order, optionally including their definitions. It provides all visible custom attributes, including those owned by other applications with specific visibility settings.

Parameters

ParameterTypeReq.Description
target_order_idstringRequiredThe unique identifier of the target order to retrieve custom attributes for.
custom_attributes_visibilitystringOptionalSpecify which custom attributes to return: 'ALL', 'READ', or 'READ_WRITE'.
include_custom_attribute_definitionsbooleanOptionalSet to true to include custom attribute definition details such as name, description, and data type. Defaults to false.
max_results_per_pageintegerOptionalSpecifies the maximum number of custom attribute results returned per page. Accepts values from 1 to 100, default is 20.
pagination_cursorstringOptionalThe cursor used to retrieve the next page of results in a paginated response.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListOrderCustomAttributes'.
#

SquareupApi.ListPaymentRefunds

Retrieve a list of payment refunds for the account. Use this tool to get a list of refunds associated with the account. This is useful for checking all refund transactions. Note that results are eventually consistent and may take a few seconds to update.

Parameters

ParameterTypeReq.Description
end_time_rfc3339stringOptionalSpecifies the end time in RFC 3339 format to retrieve `PaymentRefunds` based on `created_at`. Defaults to the current time.
limit_results_to_location_idstringOptionalLimit results to refunds from the specified location. By default, returns all locations.
maximum_results_per_pageintegerOptionalSpecifies the max number of refund results per page. Max value is 100; defaults to 100.
pagination_cursorstringOptionalA pagination cursor from a previous response to fetch the next set of results.
refund_status_filterstringOptionalSpecify a refund status to filter the results. If omitted, refunds of all statuses are returned.
refunds_start_timestringOptionalThe start time in RFC 3339 format to retrieve PaymentRefunds based on the created_at field. Default is the current time minus one year.
results_sort_orderstringOptionalThe order in which results are listed by their creation date: `ASC` for oldest to newest, `DESC` for newest to oldest (default).
sort_results_by_fieldstringOptionalThe field used to sort payment refund results. Options: 'CREATED_AT' (default) or 'UPDATED_AT'.
source_payment_typestringOptionalSpecify to only return refunds for payments with the indicated source type (e.g., CARD, BANK_ACCOUNT).
updated_at_end_timestringOptionalThe end of the time range for retrieving refunds, in RFC 3339 format. Default is the current time.
updated_at_start_timestringOptionalStart of time range for retrieving each PaymentRefund, in RFC 3339 format. Defaults to begin_time if omitted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListPaymentRefunds'.
#

SquareupApi.ListPayoutEntries

Retrieve all payout entries for a specific payout. Use this tool to get a list of payout entries related to a specific payout ID. Ensure the `PAYOUTS_READ` OAuth scope is set before calling this tool.

Parameters

ParameterTypeReq.Description
payout_idstringRequiredThe unique string identifier for the specific payout to retrieve information for.
maximum_results_per_pageintegerOptionalSpecifies the maximum number of results to return on a single page (max 100). Default is 100.
pagination_cursorstringOptionalA cursor to retrieve the next set of results in a paginated response. Use a cursor from a previous response for continuity.
payout_entries_sort_orderstringOptionalSpecify the order (ASC or DESC) in which payout entries are listed.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListPayoutEntries'.
#

SquareupApi.ListPayouts

Retrieve a list of payouts for the default location. This tool retrieves all payouts for the default location. It allows filtering by location ID, status, time range, and ordering results. Ensure that `PAYOUTS_READ` is set for the OAuth scope.

Parameters

ParameterTypeReq.Description
begin_timestampstringOptionalThe starting timestamp for the payout creation time, in RFC 3339 format. Defaults to one year ago if not provided.
end_time_rfc3339stringOptionalRFC 3339 timestamp marking the end of the payout creation time. Defaults to current time if not specified.
filter_payout_statusstringOptionalIf provided, only payouts with the specified status ('SENT', 'FAILED', 'PAID') are returned.
location_identifierstringOptionalThe ID of the location for which to list the payouts. Defaults to the main location associated with the seller if not specified.
pagination_cursorstringOptionalA cursor for pagination, returned by a previous call. Use it to retrieve the next set of results. Be aware of changes in request parameters between calls.
payout_sort_orderstringOptionalSpecifies the order for listing payouts. Use 'DESC' for descending or 'ASC' for ascending order.
results_per_pageintegerOptionalMaximum number of results per page. Defaults to 100 and cannot exceed 100.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListPayouts'.
#

SquareupApi.ListSalesChannels

Retrieve a list of available sales channels. Use this tool to obtain a list of all available sales channels through which transactions can be processed. Useful for managing sales operations and integrations.

Parameters

ParameterTypeReq.Description
channel_reference_typestringOptionalType of reference associated with the sales channel, such as LOCATION or ONLINE_SITE.
channel_statusstringOptionalSpecify the status of the channel. Options are 'ACTIVE' or 'INACTIVE'.
maximum_results_limitintegerOptionalSpecify the maximum number of sales channels to return. Defaults to 100 if not provided.
next_page_cursorstringOptionalProvide the cursor to fetch the next set of results if pagination is needed.
reference_idstringOptionalID of the reference associated with the sales channel.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListChannels'.
#

SquareupApi.ListScheduledShifts

Retrieve a list of scheduled shifts with filtering options. Fetch a paginated list of scheduled work shifts. You can apply filters and sort the results, which are by default ordered by start time in ascending order. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchScheduledShifts'.
#

SquareupApi.ListSellerBookingProfiles

Retrieve booking profiles for seller locations. Call this tool to obtain a list of booking profiles for a seller's locations. Useful for understanding how bookings are managed across different locations of a seller.

Parameters

ParameterTypeReq.Description
max_results_per_pageintegerOptionalThe maximum number of booking profiles to return in a single response page.
pagination_cursorstringOptionalUse this to fetch the next page of results. Leave blank for the first page.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListLocationBookingProfiles'.
#

SquareupApi.ListSquareOnlineSites

List all Square Online sites for a seller. Fetches a list of Square Online sites associated with a seller account, ordered by creation date. Useful for managing or reviewing existing sites.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListSites'.
#

SquareupApi.ListSubscriptionEvents

Retrieve all events for a specific subscription. This tool retrieves all events related to a specific subscription, providing insight into its activities and changes.

Parameters

ParameterTypeReq.Description
subscription_idstringRequiredThe unique identifier for the subscription whose events are to be retrieved.
event_limitintegerOptionalThe maximum number of subscription events to retrieve in the response.
pagination_cursorstringOptionalSpecify the cursor from a previous response to fetch the next page of subscription events. Leave unset to get the last page.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListSubscriptionEvents'.
#

SquareupApi.ListTeamMemberWages

Retrieve paginated list of team member wages for a business. This tool retrieves a paginated list of wage details for team members in a business. It can be called when specific information about team member wages is needed.

Parameters

ParameterTypeReq.Description
filter_by_team_member_idstringOptionalFilter wages to only those associated with the specified team member by ID.
max_results_per_pageintegerOptionalThe maximum number of TeamMemberWage results to return per page, ranging from 1 to 200. Default is 200.
next_page_cursorstringOptionalA pointer to the next page of team member wage results to fetch.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListTeamMemberWages'.
#

SquareupApi.ListUserCards

Retrieve a list of cards owned by the account. This tool fetches up to 25 cards associated with the user's account. It should be called when there is a need to view all cards linked to the account making the request.

Parameters

ParameterTypeReq.Description
filter_by_customer_idstringOptionalLimit results to cards associated with a specific customer ID. By default, all cards owned by the merchant are returned.
include_disabled_cardsbooleanOptionalInclude disabled cards in the results. By default, only enabled cards are returned.
limit_to_reference_idstringOptionalLimit results to cards associated with the given reference ID. Use this to filter cards matching a specific reference.
pagination_cursorstringOptionalA string token to retrieve the next set of card results for pagination.
sort_orderstringOptionalSpecifies the sort order of the list by card creation date. Options are 'ASC' (ascending) or 'DESC' (descending). Defaults to 'ASC'.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListCards'.
#

SquareupApi.ListWebhookEventTypes

Retrieve all webhook event types available for subscription. This tool is used to fetch a list of all available webhook event types that can be subscribed to. It helps users identify which events they can set up webhooks for in order to receive notifications.

Parameters

ParameterTypeReq.Description
api_version_for_event_typesstringOptionalSpecify the API version to list event types, overriding the default version.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListWebhookEventTypes'.
#

SquareupApi.ListWebhookSubscriptions

Lists all webhook subscriptions owned by the application. Use this tool to retrieve all webhook subscriptions associated with your Square application. It provides a comprehensive list of active webhook subscriptions.

Parameters

ParameterTypeReq.Description
include_disabled_subscriptionsbooleanOptionalIf set to true, includes disabled subscriptions in the results. By default, only enabled subscriptions are returned.
maximum_results_per_pageintegerOptionalThe maximum number of results returned in one page, up to 100.
pagination_cursorstringOptionalA cursor from a previous call for paginating results. Use it to retrieve the next set of results.
sort_orderstringOptionalSort returned list by subscription creation date. Options are 'ASC' for ascending or 'DESC' for descending. Defaults to 'ASC'.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListWebhookSubscriptions'.
#

SquareupApi.ListWorkweekConfigs

Retrieve workweek configurations for a business. This tool retrieves a list of workweek configurations, providing details about the workweek setup for a business.

Parameters

ParameterTypeReq.Description
maximum_results_per_pageintegerOptionalMaximum number of WorkweekConfig results to return per page.
pagination_cursorstringOptionalPointer to the next page of WorkweekConfig results to fetch.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListWorkweekConfigs'.
#

SquareupApi.ObtainOauthToken

Obtain OAuth access and refresh tokens. This tool is used to obtain an OAuth access token and refresh token using either the authorization_code or refresh_token grant type. It's applicable for both code flow and PKCE flow scenarios, depending on the credentials and additional parameters provided.

Parameters

ParameterTypeReq.Description
application_idstringRequiredThe Square-issued ID of your application, available as the Application ID in the Developer Console. Required for code and PKCE flows.
oauth_grant_typestringRequiredSpecifies the method for obtaining an OAuth access token. Choose from 'authorization_code', 'refresh_token', or 'migration_token'.
application_client_secretstringOptionalThe application's secret key from the Developer Console, required for code flow. Distinct from a personal access token.
application_redirect_urlstringOptionalThe registered redirect URL for your application. Required for code flow and PKCE flow if `grant_type` is `authorization_code`.
authorization_codestringOptionalThe authorization code for exchanging an OAuth access token, required for code flow and PKCE flow if `grant_type` is `authorization_code`.
expire_token_in_24_hoursbooleanOptionalSet to true to make the access token expire in 24 hours. Optional for any grant type.
legacy_migration_tokenstringOptionalA valid legacy access token for generating a new OAuth access token, required if `grant_type` is `migration_token`.
pkce_code_verifierstringOptionalThe secret your application generated for the authorization request, required for PKCE flow when `grant_type` is `authorization_code`.
requested_scopesarray<string>OptionalList of permissions for the access token, like ["MERCHANT_PROFILE_READ", "PAYMENTS_READ"]. Optional for certain flows.
valid_refresh_tokenstringOptionalA valid refresh token used to generate a new OAuth access token, returned in a previous ObtainToken response. Required for the code and PKCE flow if grant_type is refresh_token.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ObtainToken'.
#

SquareupApi.PauseSubscription

Schedule a pause for an active subscription. Use this tool to pause an active subscription by scheduling a `PAUSE` action. Call it when you need to temporarily halt a subscription's services.

Parameters

ParameterTypeReq.Description
subscription_idstringRequiredThe unique ID of the subscription you want to pause.
pause_cycle_countintegerOptionalSpecify the number of billing cycles to pause the subscription. A 'RESUME' action will be scheduled at the end of this period. Do not set 'resume_effective_date' or 'resume_change_timing' if this is used.
pause_effective_datestringOptionalThe `YYYY-MM-DD`-formatted date when the scheduled `PAUSE` action occurs. If unspecified or within the current billing cycle, the subscription pauses at the start of the next cycle.
pause_reasonstringOptionalThe reason provided by the user for pausing the subscription. It should convey the rationale behind the pause action.
reactivation_datestringOptionalThe date (YYYY-MM-DD) when the subscription is reactivated by a scheduled `RESUME` action. Must be at least one billing cycle after `pause_effective_date`.
resume_change_timingstringOptionalSpecifies when the subscription resume action takes place. Options are 'IMMEDIATE' or 'END_OF_BILLING_CYCLE'.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'PauseSubscription'.
#

SquareupApi.PayOrder

Settle an order using approved payments. This tool is used to pay for an order with approved payments, or to mark an order with a total of 0 as paid. Ensure all payments reference the order correctly. Useful for completing transactions with delayed capture payments.

Parameters

ParameterTypeReq.Description
order_idstringRequiredThe unique identifier of the order to be paid.
unique_transaction_identifierstringRequiredA unique string to identify the request and ensure the prevention of duplicate payments. Reuse the same key for retrying the same request.
order_versionintegerOptionalSpecify the version of the order to be paid. Defaults to latest if not provided.
payment_ids_to_collectarray<string>OptionalArray of payment IDs to collect; total must match the order total.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'PayOrder'.
#

SquareupApi.PreviewOrderPricing

Preview order pricing without creating an order. Call this tool to obtain an estimate of the pricing for an order without the need to actually create the order. Useful for displaying potential costs to customers before finalizing the transaction. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CalculateOrder'.
#

SquareupApi.PublishInvoice

Publish a draft invoice with Square, updating its status. This tool publishes a specified draft invoice using Square's service, updating its status and triggering configured actions such as sending emails or charging stored cards. The tool should be called when an invoice needs to be finalized and sent or processed according to its settings.

Parameters

ParameterTypeReq.Description
invoice_idstringRequiredThe ID of the draft invoice that you wish to publish. This ID uniquely identifies the invoice within the system.
invoice_versionintegerRequiredSpecify the current version number of the invoice to publish. This must match the existing invoice version to avoid rejection.
unique_request_identifierstringOptionalA unique string to identify the `PublishInvoice` request. If omitted or empty, each request is treated as independent. Refer to the Square documentation on idempotency for more information.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'PublishInvoice'.
#

SquareupApi.PublishScheduledShift

Publish a scheduled shift to make it official. Use this tool to publish a scheduled shift, confirming its details. The draft shift details are finalized and moved to the published shift details, marking the shift as official.

Parameters

ParameterTypeReq.Description
scheduled_shift_idstringRequiredThe ID of the scheduled shift to publish.
unique_idempotency_keystringRequiredA unique identifier for ensuring the idempotency of the publish request. Prevents duplicate operations if the request is retried.
current_shift_versionintegerOptionalThe current version of the scheduled shift for optimistic concurrency control. If it doesn't match the server version, the request fails.
notification_audiencestringOptionalSpecify who receives email notifications when a scheduled shift is published. Options are: ALL, AFFECTED, NONE.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'PublishScheduledShift'.
#

SquareupApi.RecordTransferOrderReceipt

Record received items for a transfer order. Use this tool to record the receipt of items for a transfer order, including handling partial receipts and damaged items. It updates the inventory based on item condition and progresses the order status. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
transfer_order_idstringOptionalThe ID of the transfer order for which items are being received. This ID is required to process the receipt of items, including partial and damaged quantities, and update inventory accordingly. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ReceiveTransferOrder'.
#

SquareupApi.RedeemLoyaltyReward

Redeem a loyalty reward for a customer purchase. Use this tool to mark a loyalty reward as redeemed after a customer has completed a purchase. Suitable for use when processing orders outside the Orders API. Once redeemed, rewards cannot be reversed.

Parameters

ParameterTypeReq.Description
idempotency_keystringRequiredA unique string to identify this `RedeemLoyaltyReward` request, ensuring uniqueness for each request.
location_idstringRequiredThe ID of the location where the loyalty reward is redeemed.
loyalty_reward_idstringRequiredThe unique ID of the loyalty reward to redeem. Required for specifying which reward to process.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RedeemLoyaltyReward'.
#

SquareupApi.RefundPayment

Refund a payment partially or fully using Square. Use this tool to refund the entire amount or a portion of a payment. It supports card payments as well as cash or external payments. Relevant for reversing transactions in case of errors or customer returns. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RefundPayment'.
#

SquareupApi.RemoveCustomerGroup

Remove a group membership from a customer. Call this tool to remove a specific group association from a customer using their customer ID and group ID.

Parameters

ParameterTypeReq.Description
customer_idstringRequiredThe ID of the customer to remove from the group. Provide the unique identifier associated with the customer.
group_idstringRequiredThe unique identifier of the customer group to remove the customer from.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RemoveGroupFromCustomer'.
#

SquareupApi.RemoveDisputeEvidence

Removes specified evidence from a dispute in Square. This tool should be called when there's a need to remove specific evidence from a dispute in the Square platform. It ensures the evidence is not sent to the bank by Square.

Parameters

ParameterTypeReq.Description
dispute_idstringRequiredThe ID of the dispute to remove evidence from. Provide a valid string ID to specify the dispute.
evidence_idstringRequiredThe ID of the evidence to be removed from the dispute.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteDisputeEvidence'.
#

SquareupApi.RemoveInvoiceAttachment

Removes an attachment from an invoice. Use this tool to permanently delete an attachment from an invoice. Applicable only for invoices in 'DRAFT', 'SCHEDULED', 'UNPAID', or 'PARTIALLY_PAID' states.

Parameters

ParameterTypeReq.Description
attachment_idstringRequiredThe unique identifier for the invoice attachment to be deleted. Required for removing the specified file from the invoice.
invoice_identifierstringRequiredThe unique ID of the invoice from which to delete the attachment. Applicable for specific invoice states.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteInvoiceAttachment'.
#

SquareupApi.RemoveLocationCustomAttribute

Delete a custom attribute from a location. Use this tool to delete a custom attribute associated with a specific location. The attribute must have a visibility setting of `VISIBILITY_READ_WRITE_VALUES` if owned by another application.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute to delete, matching the key of a custom attribute definition in the Square seller account. Use the qualified key if not the definition owner.
location_idstringRequiredThe unique identifier for the target location where the custom attribute will be deleted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteLocationCustomAttribute'.
#

SquareupApi.RemoveMerchantAttribute

Delete a custom attribute from a merchant. Use this tool to remove a custom attribute associated with a merchant in Squareup. Deletion is possible if the attribute's visibility setting is 'VISIBILITY_READ_WRITE_VALUES' when owned by another application.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute to delete. Use the qualified key if the attribute is owned by another application.
merchant_idstringRequiredThe unique identifier of the merchant whose custom attribute is being deleted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'DeleteMerchantCustomAttribute'.
#

SquareupApi.ResumeSubscription

Resume a paused or deactivated subscription. Use this tool to schedule a resume action for subscriptions that are currently paused or deactivated.

Parameters

ParameterTypeReq.Description
subscription_idstringRequiredThe ID of the subscription to resume. Provide a valid subscription ID string.
resume_change_timingstringOptionalSpecify when the pending change to resume the subscription takes effect. Choose between 'IMMEDIATE' or 'END_OF_BILLING_CYCLE'.
subscription_resume_effective_datestringOptionalThe `YYYY-MM-DD`-formatted date when the subscription is reactivated.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ResumeSubscription'.
#

SquareupApi.RetrieveBooking

Retrieve detailed information about a booking. Use this tool to get comprehensive details of a specific booking by providing the booking ID. It requires appropriate OAuth permissions to access booking data.

Parameters

ParameterTypeReq.Description
booking_idstringRequiredThe ID of the Booking object to retrieve details for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveBooking'.
#

SquareupApi.RetrieveBookingCustomAttribute

Retrieve custom attributes of a booking. This tool retrieves a specific custom attribute for a booking using the booking ID and custom attribute key. Ensure proper OAuth permissions are set: `APPOINTMENTS_READ` for buyer-level, and `APPOINTMENTS_ALL_READ` with `APPOINTMENTS_READ` for seller-level.

Parameters

ParameterTypeReq.Description
booking_idstringRequiredThe unique identifier for the target booking. This ID is required to retrieve the specific custom attribute for the booking.
custom_attribute_keystringRequiredThe key of the custom attribute to retrieve. Must match the `key` of a custom attribute definition in the Square seller account. Use the qualified key if not the definition owner.
custom_attribute_versionintegerOptionalThe desired version for strong consistency reads of the custom attribute. Uses the specified version or a higher one if available.
include_custom_attribute_definitionbooleanOptionalSet to true to include the custom attribute definition, providing name, description, and data type details. Default is false.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveBookingCustomAttribute'.
#

SquareupApi.RetrieveBookingCustomAttributeDefinition

Retrieve a booking's custom attribute definition. Use this tool to retrieve detailed information about a specific booking's custom attribute definition. Ensure proper OAuth scope: `APPOINTMENTS_READ` for buyer-level or `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for seller-level permissions.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key for the custom attribute definition to retrieve. Use a qualified key if not the definition owner.
current_version_of_custom_attribute_definitionintegerOptionalThe current version of the custom attribute definition for consistent reads. Provides the specified version or higher if available. Returns `BAD_REQUEST` if the version is higher than current.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveBookingCustomAttributeDefinition'.
#

SquareupApi.RetrieveBookingProfile

Retrieve a seller's booking profile information. Use this tool to obtain details about a seller's booking profile. Ideal for acquiring booking-related information for businesses.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveBusinessBookingProfile'.
#

SquareupApi.RetrieveBookings

Retrieve a collection of bookings. Call this tool to get a list of bookings. Ensure appropriate OAuth scopes are set depending on buyer-level or seller-level permissions.

Parameters

ParameterTypeReq.Description
customer_id_for_bookingsstringOptionalThe ID of the customer for whom to retrieve bookings. If not provided, retrieves bookings for all customers.
earliest_start_timestringOptionalThe RFC 3339 timestamp specifying the earliest start time for bookings. Defaults to current time if not set.
latest_start_timestringOptionalThe latest possible start time of bookings in RFC 3339 format. Defaults to 31 days after `start_at_min` if not set.
max_results_per_pageintegerOptionalThe maximum number of results per page to return in a paged response.
pagination_cursorstringOptionalThe pagination cursor for the next page of results. Leave empty for the first page.
specific_location_idstringOptionalRetrieve bookings for a specific location by its ID. If not set, retrieves bookings for all locations.
team_member_idstringOptionalThe ID of the team member to retrieve bookings for. Leave unset to retrieve bookings for all members.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListBookings'.
#

SquareupApi.RetrieveCardDetails

Retrieve details for a specific card. Use this tool to get information about a specific card by providing the card ID.

Parameters

ParameterTypeReq.Description
card_idstringRequiredUnique ID for the desired card to retrieve its details.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveCard'.
#

SquareupApi.RetrieveCashDrawerShiftSummary

Retrieve summary details for a specific cash drawer shift. This tool fetches summary details for a single cash drawer shift. It should be used when you need to know the specifics of a particular shift, such as its total cash movements and status. Ideal for financial reconciliations and auditing tasks.

Parameters

ParameterTypeReq.Description
location_identifierstringRequiredThe unique ID of the location to retrieve cash drawer shifts from.
shift_identifierstringRequiredThe unique ID of the specific cash drawer shift to retrieve details for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveCashDrawerShift'.
#

SquareupApi.RetrieveCatalogObjects

Retrieve detailed catalog objects by provided IDs. This tool retrieves a set of catalog objects based on provided IDs, including comprehensive details like item variations, modifier lists, and applicable tax IDs.

Parameters

ParameterTypeReq.Description
catalog_object_idsarray<string>RequiredAn array of IDs representing the CatalogObjects to retrieve. Each ID must be a string.
catalog_versionintegerOptionalThe specific version of catalog objects to retrieve, allowing access to historical data. If omitted, the current version is used.
include_category_path_to_rootbooleanOptionalInclude the `path_to_root` list for each returned category instance if set to true. Shows the path from parent categories to root.
include_deleted_objectsbooleanOptionalSet to `true` to include deleted objects (`is_deleted` attribute) in the response.
include_related_objectsbooleanOptionalIf true, include additional related objects in the response. These are objects referenced by ID, included one level deep. Defaults to false.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BatchRetrieveCatalogObjects'.
#

SquareupApi.RetrieveChannelInfo

Retrieve detailed information about a specific channel. Use this tool to obtain detailed information about a channel using its channel ID.

Parameters

ParameterTypeReq.Description
channel_idstringRequiredThe unique identifier for the channel to retrieve information about.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveChannel'.
#

SquareupApi.RetrieveCustomerDetails

Retrieve detailed information for a specific customer. Use this tool to obtain detailed information about a single customer by their ID. Ideal for cases where customer-specific information is needed, such as contact details, purchase history, or personalized service.

Parameters

ParameterTypeReq.Description
customer_idstringRequiredThe unique identifier of the customer to retrieve details for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveCustomer'.
#

SquareupApi.RetrieveDeviceById

Retrieve specific device information using its ID. Call this tool to obtain details about a specific device using its unique ID. Useful for accessing device-related information in Square's system.

Parameters

ParameterTypeReq.Description
device_identifierstringRequiredThe unique identifier for the device to retrieve information from Square's system.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetDevice'.
#

SquareupApi.RetrieveDeviceCode

Retrieve device code details by ID. Use this tool to obtain device code details when given a specific ID.

Parameters

ParameterTypeReq.Description
device_code_idstringRequiredThe unique identifier for the device code to retrieve its details.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetDeviceCode'.
#

SquareupApi.RetrieveDisputeDetails

Retrieve details about a specific dispute using its ID. Call this tool to obtain information about a particular dispute, including its details, by providing the dispute ID.

Parameters

ParameterTypeReq.Description
dispute_idstringRequiredThe unique identifier for the dispute you want to retrieve details about.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveDispute'.
#

SquareupApi.RetrieveGiftCard

Retrieve a gift card using its account number. This tool retrieves details of a gift card by using the gift card account number (GAN). It should be called when you need to access information about a specific gift card.

Parameters

ParameterTypeReq.Description
gift_card_account_numberstringRequiredThe account number (GAN) of the gift card to retrieve. Max length 255 digits; Square-issued GANs have 16 digits.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveGiftCardFromGAN'.
#

SquareupApi.RetrieveGiftCardFromToken

Retrieve a gift card using a secure token. Call this tool to obtain gift card details using a secure payment token.

Parameters

ParameterTypeReq.Description
secure_payment_tokenstringRequiredThe secure payment token used to retrieve the gift card. Generated by the Web Payments SDK or In-App Payments SDK.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveGiftCardFromNonce'.
#

SquareupApi.RetrieveGiftCardSquareup

Retrieve gift card details using a gift card ID. Use this tool to obtain information about a specific gift card by providing its ID. Ideal for checking balance, status, or other gift card details.

Parameters

ParameterTypeReq.Description
gift_card_idstringRequiredThe unique ID of the gift card to retrieve information.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveGiftCard'.
#

SquareupApi.RetrieveInventoryAdjustment

Fetches inventory adjustment details by ID. Use this tool to get details of a specific inventory adjustment by its ID. Ideal for tracking changes in inventory levels.

Parameters

ParameterTypeReq.Description
inventory_adjustment_idstringRequiredID of the InventoryAdjustment to retrieve.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveInventoryAdjustment'.
#

SquareupApi.RetrieveInventoryCounts

Retrieve current inventory counts for specific items and locations. Call this tool to get current inventory counts for specified catalog objects at specific locations. Results are sorted by newest first and can be filtered by changes since a given timestamp to facilitate synchronization.

Parameters

ParameterTypeReq.Description
filter_by_catalog_object_idsarray<string>OptionalA list of `CatalogObject` IDs to filter the inventory results. Only applicable when set.
filter_by_location_idsarray<string>OptionalAn array of Location IDs to filter inventory counts. Only applicable when set.
filter_by_updated_after_timestampstringOptionalFilter results to include only those with a `calculated_at` timestamp after the specified RFC 3339 time. Default is the UNIX epoch.
inventory_state_filtersarray<string>OptionalFilter results by specific inventory states. Ignored states: NONE, SOLD, UNLINKED_RETURN. Provide as an array of strings.
pagination_cursorstringOptionalA pagination cursor to retrieve the next set of results for the original query.
record_limitintegerOptionalSpecify the number of inventory count records to return.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BatchRetrieveInventoryCounts'.
#

SquareupApi.RetrieveInventoryTransfer

Retrieve detailed inventory transfer information. Use this tool to obtain information about a specific inventory transfer using the transfer ID.

Parameters

ParameterTypeReq.Description
inventory_transfer_idstringRequiredThe unique identifier for the InventoryTransfer to retrieve.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveInventoryTransfer'.
#

SquareupApi.RetrieveInvoiceById

Retrieve invoice details using an invoice ID. Use this tool to get detailed information of an invoice by providing a specific invoice ID.

Parameters

ParameterTypeReq.Description
invoice_idstringRequiredThe ID of the invoice to retrieve. This should be a unique string representing a specific invoice.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetInvoice'.
#

SquareupApi.RetrieveJobDetails

Retrieve details of a specified job. Use this tool to fetch detailed information about a specific job using the job's unique identifier.

Parameters

ParameterTypeReq.Description
job_identifierstringRequiredThe unique string ID of the job to retrieve details for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveJob'.
#

SquareupApi.RetrieveLocationCustomAttributeDefinition

Retrieve a location's custom attribute definition. Use this tool to obtain the custom attribute definition for a specified location in a Square seller account. Ensure the attribute's visibility is set appropriately to access it.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key for the custom attribute definition to retrieve, using the qualified key if not the owner.
current_custom_attribute_versionintegerOptionalThe version number of the custom attribute definition for consistent reads. Must match the current or higher version.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveLocationCustomAttributeDefinition'.
#

SquareupApi.RetrieveLocationDetails

Retrieve details of a specific business location. Use this tool to get information about a specific location by providing its ID. Specify 'main' to get details of the main location.

Parameters

ParameterTypeReq.Description
location_idstringRequiredThe ID of the location to retrieve. Use "main" to return the main location details.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveLocation'.
#

SquareupApi.RetrieveLocationSettings

Retrieve settings for a Square-hosted checkout page location. Call this tool to get the specific settings configured for a location's Square-hosted checkout page. Useful for understanding location-specific checkout configurations.

Parameters

ParameterTypeReq.Description
location_idstringRequiredThe unique ID of the location for which to retrieve the checkout page settings.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveLocationSettings'.
#

SquareupApi.RetrieveLoyaltyAccount

Retrieve details of a specific loyalty account. This tool fetches the information of a specific loyalty account using the account ID. Use it to access a member's loyalty details and activities.

Parameters

ParameterTypeReq.Description
loyalty_account_idstringRequiredThe unique identifier of the loyalty account to retrieve.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveLoyaltyAccount'.
#

SquareupApi.RetrieveLoyaltyPromotion

Retrieve details of a specific loyalty promotion. Use this tool to obtain information about a particular loyalty promotion by providing the program and promotion IDs. It should be called when you need to view the specifics of a loyalty promotion.

Parameters

ParameterTypeReq.Description
loyalty_program_idstringRequiredThe ID of the base loyalty program. Obtain this by calling the RetrieveLoyaltyProgram API using the 'main' keyword.
promotion_idstringRequiredThe ID of the loyalty promotion to retrieve. This ID is necessary to specify which promotion details to access.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveLoyaltyPromotion'.
#

SquareupApi.RetrieveMerchantCustomAttribute

Retrieve a custom attribute associated with a merchant. Use this tool to get a specific custom attribute of a merchant, optionally including the attribute's definition. This can be used when you need to access merchant-specific settings or details defined by custom attributes.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute to retrieve, matching the `key` of a custom attribute definition in the Square seller account.
merchant_identifierstringRequiredThe unique identifier of the target merchant to retrieve the custom attribute for.
custom_attribute_versionintegerOptionalInteger value representing the custom attribute's current version for consistent reads. If specified version exceeds current, an error is returned.
include_custom_attribute_definitionbooleanOptionalSet to true to return the custom attribute definition, including name, description, and data type. Defaults to false.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveMerchantCustomAttribute'.
#

SquareupApi.RetrieveMerchantInfo

Retrieve merchant details using their ID. Use this tool to get comprehensive information about a merchant by providing the merchant ID. This is useful for obtaining merchant-specific data, such as business details or other relevant merchant information.

Parameters

ParameterTypeReq.Description
merchant_idstringRequiredThe ID of the merchant to retrieve. Use 'me' to get the merchant accessible to this call.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveMerchant'.
#

SquareupApi.RetrieveMultipleOrders

Retrieve multiple orders using their IDs. This tool retrieves details of multiple orders from Square using their IDs. It ignores any non-existent order IDs, ensuring no errors are returned for invalid IDs.

Parameters

ParameterTypeReq.Description
order_ids_listarray<string>RequiredAn array of order IDs to retrieve, with a maximum of 100 per request.
location_idstringOptionalOptional location ID for the orders. Omit to use the current merchant's ID.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BatchRetrieveOrders'.
#

SquareupApi.RetrieveOnlineSiteSnippet

Retrieve a specific snippet from a Square Online site. Use this tool to get the snippet added by your application to a specific Square Online site. Ensure you have the site ID, which can be obtained by calling the ListSites API.

Parameters

ParameterTypeReq.Description
site_identifierstringRequiredThe unique ID of the Square Online site containing the snippet to retrieve.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveSnippet'.
#

SquareupApi.RetrieveOrderById

Retrieve an order's details using its ID. Use this tool to fetch the details of a specific order by providing its ID. It simplifies the process of obtaining order information from the Square API.

Parameters

ParameterTypeReq.Description
order_idstringRequiredThe unique identifier of the order to retrieve from the Square API.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveOrder'.
#

SquareupApi.RetrieveOrderCustomAttribute

Retrieve a custom attribute for a specified order. Use this tool to get a custom attribute linked to an order. It can also retrieve the custom attribute definition if needed. Visibility settings determine if attributes from other applications can be accessed.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key for the custom attribute to retrieve, matching an existing attribute definition key.
order_idstringRequiredThe unique ID of the target order to retrieve the custom attribute for.
custom_attribute_versionintegerOptionalSpecify the current version of the custom attribute for optimistic concurrency control.
include_custom_attribute_definitionbooleanOptionalSet to true to include custom attribute definition details such as name, description, and data type. Defaults to false.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveOrderCustomAttribute'.
#

SquareupApi.RetrieveOrderCustomAttributeDefinition

Retrieve a custom attribute definition for an order. This tool retrieves an order-related custom attribute definition from a Square seller account. It should be called when you need to access specific custom attribute information related to orders. Custom attributes must have visibility settings of VISIBILITY_READ_ONLY or VISIBILITY_READ_WRITE_VALUES unless defined by the seller.

Parameters

ParameterTypeReq.Description
custom_attribute_keystringRequiredThe key of the custom attribute definition you want to retrieve. This should match the key set in Square seller account.
current_custom_attribute_versionintegerOptionalSpecify the current version of the custom attribute for optimistic concurrency control.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveOrderCustomAttributeDefinition'.
#

SquareupApi.RetrievePaymentsList

Retrieve a list of payments from your account. Use this tool to access a list of payments made through your account. It provides a consistent overview of payment transactions, with a maximum of 100 results per page. Note that changes to payments may take a few seconds to reflect.

Parameters

ParameterTypeReq.Description
card_last_four_digitsstringOptionalFilter payments by the last four digits of the payment card used.
end_timestringOptionalEnd of the time range for retrieving payments, in RFC 3339 format. Defaults to the current time.
end_time_updated_for_paymentsstringOptionalThe end time for retrieving payments, in RFC 3339 format, based on `updated_at`.
is_offline_paymentbooleanOptionalSet to true to include offline payments, or false to exclude them.
max_results_per_pageintegerOptionalThe maximum number of payment results to return per page (up to 100). Defaults to 100 if more is specified.
offline_end_timestringOptionalThe end time in RFC 3339 format for retrieving offline payments, based on the `offline_payment_details.client_created_at` field. Default is the current time.
offline_payment_start_timestringOptionalStart of the time range for retrieving offline payments in RFC 3339 format. Uses 'offline_payment_details.client_created_at'.
pagination_cursorstringOptionalA pagination cursor for fetching the next set of payment results from the ListPayments endpoint.
payment_card_brandstringOptionalThe brand of the payment card to filter payments (e.g., VISA, MasterCard).
results_sort_orderstringOptionalSpecify the order of the results: `ASC` for oldest to newest, `DESC` for newest to oldest (default).
sort_by_fieldstringOptionalChoose the field to sort results by. Options: `CREATED_AT`, `OFFLINE_CREATED_AT`, `UPDATED_AT`. Default is `CREATED_AT`.
specific_location_idstringOptionalLimit results to the specified location ID. Defaults to the main location associated with the seller.
start_time_rangestringOptionalStart time to retrieve payments, in RFC 3339 format. Defaults to one year ago if not specified.
total_payment_amountintegerOptionalThe exact amount in the total_money field for a payment. Use an integer to specify the amount in cents.
updated_at_start_timestringOptionalStart of the time range for retrieving payments based on the `updated_at` field, in RFC 3339 format.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'ListPayments'.
#

SquareupApi.RetrieveRefundDetails

Retrieve details of a specific refund using the refund ID. Use this tool to get detailed information about a refund by providing the refund ID. It's useful for checking the status and details of a refund processed through Square.

Parameters

ParameterTypeReq.Description
refund_unique_idstringRequiredThe unique ID for the specific refund to retrieve details for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetPaymentRefund'.
#

SquareupApi.RetrieveSalesChannels

Retrieve bulk information about sales channels. Use this tool to fetch detailed information about multiple sales channels for business operations.

Parameters

ParameterTypeReq.Description
channel_identifiersarray<string>RequiredA list of IDs representing sales channels to retrieve details for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkRetrieveChannels'.
#

SquareupApi.RetrieveScheduledShift

Retrieve details of a scheduled shift by ID. Use this tool to obtain information about a specific scheduled shift using its ID. This is useful for accessing shift details in scheduling and labor management systems.

Parameters

ParameterTypeReq.Description
scheduled_shift_idstringRequiredThe unique identifier of the scheduled shift to retrieve details for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveScheduledShift'.
#

SquareupApi.RetrieveSellerLocationBookingProfile

Retrieve a seller's location booking profile. Use this tool to get details about a seller's location booking profile by providing the location ID.

Parameters

ParameterTypeReq.Description
location_idstringRequiredThe ID of the location for which to retrieve the booking profile.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveLocationBookingProfile'.
#

SquareupApi.RetrieveSquareMerchantSettings

Retrieve Square merchant settings for checkout pages. Use this tool to get the settings for a merchant's Square-hosted checkout page, which could be useful for understanding or managing the checkout configuration.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveMerchantSettings'.
#

SquareupApi.RetrieveSubscriptionDetails

Retrieve details of a specific subscription using its ID. Use this tool to obtain information about a subscription by providing its unique subscription ID. Useful for accessing current subscription status, billing, and service details.

Parameters

ParameterTypeReq.Description
subscription_idstringRequiredThe unique ID of the subscription to retrieve details for. Necessary to specify which subscription to access.
include_related_infostringOptionalSpecify related info to include in the response. Use 'actions' to include scheduled actions on the subscription.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveSubscription'.
#

SquareupApi.RetrieveTeamBookingProfiles

Retrieve booking profiles for one or more team members. Use this tool to get booking profiles of specified team members. Useful for accessing and managing team members' booking information.

Parameters

ParameterTypeReq.Description
team_member_idsarray<string>RequiredA non-empty list of team member IDs to retrieve booking profiles for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkRetrieveTeamMemberBookingProfiles'.
#

SquareupApi.RetrieveTeamMemberWageSetting

Retrieve wage settings for a specified team member. This tool retrieves the wage settings of a team member using their TeamMember ID. It's useful for accessing specific wage details related to a team member. If troubleshooting is needed, refer to the linked Square documentation.

Parameters

ParameterTypeReq.Description
team_member_idstringRequiredThe unique identifier for the team member whose wage setting needs to be retrieved.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveWageSetting'.
#

SquareupApi.RetrieveTerminalAction

Retrieve a Terminal action request by action ID. Call this tool to get detailed information about a specific Terminal action using its action ID. Terminal action requests are available for retrieval up to 30 days.

Parameters

ParameterTypeReq.Description
terminal_action_idstringRequiredUnique ID for the desired Terminal Action. This is required to retrieve the specific action request.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetTerminalAction'.
#

SquareupApi.RetrieveTerminalCheckout

Retrieve a Terminal checkout request by checkout ID. Use this tool to get details of a Terminal checkout request using a specific checkout ID. Ideal for accessing checkout information within a 30-day period.

Parameters

ParameterTypeReq.Description
checkout_idstringRequiredThe unique ID for the desired TerminalCheckout request. Use this ID to retrieve specific checkout details.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'GetTerminalCheckout'.
#

SquareupApi.RetrieveTokenStatus

Retrieve the status of an OAuth or personal access token. Use this tool to get information on the validity and status of an OAuth access token or a personal access token. Call this tool to check if a token is expired or unauthorized.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveTokenStatus'.
#

SquareupApi.RetrieveTransferOrderDetails

Retrieve detailed information of a specific transfer order. Use this tool to get comprehensive details of a transfer order by providing its ID. This includes status, dates, notes, line items, source and destination locations, and tracking info if available.

Parameters

ParameterTypeReq.Description
transfer_order_idstringRequiredThe ID of the transfer order to retrieve, required to get order details.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveTransferOrder'.
#

SquareupApi.RetrieveVendorDetails

Retrieve detailed information about a vendor by ID. This tool retrieves information about a specific vendor using their Vendor ID and should be called when vendor details are needed.

Parameters

ParameterTypeReq.Description
vendor_idstringRequiredThe unique ID of the vendor to retrieve details for.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveVendor'.
#

SquareupApi.RetrieveVendors

Retrieve detailed information about specific vendors. Use this tool to obtain detailed information for vendors by their IDs. Ideal for managing vendor relationships or verifying vendor details.

Parameters

ParameterTypeReq.Description
vendor_idsarray<string>OptionalList of vendor IDs to retrieve details for. Provide the IDs as an array of strings.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkRetrieveVendors'.
#

SquareupApi.RetrieveWebhookSubscription

Retrieve details of a specific webhook subscription. This tool retrieves information about a specific webhook subscription using its unique ID. It should be called when you need to access details of a webhook provided by the subscription ID.

Parameters

ParameterTypeReq.Description
webhook_subscription_idstringRequiredThe unique ID of the webhook subscription to retrieve.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RetrieveWebhookSubscription'.
#

SquareupApi.RevokeOauthAccessToken

Revoke all OAuth access tokens for an account. This tool revokes all OAuth access tokens for a given account associated with your application. It should be called when you need to invalidate the access tokens generated through the OAuth flow. Note that all tokens will be revoked regardless of which one is specified.

Parameters

ParameterTypeReq.Description
application_client_idstringOptionalThe Square-issued ID for your application, found on the OAuth page in the Developer Dashboard.
merchant_access_tokenstringOptionalThe access token of the merchant whose token you want to revoke. Cannot be used with `merchant_id`.
merchant_id_to_revokestringOptionalThe merchant ID whose token you want to revoke. Do not use if 'access_token' is provided.
terminate_single_access_tokenbooleanOptionalIf true, terminate only the specified access token without revoking the entire authorization. Defaults to false.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'RevokeToken'.
#

SquareupApi.SearchBookingAvailability

Find available booking slots for appointments. Use this tool to search for available booking slots. It requires appropriate permissions depending on user level (buyer or seller). Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchAvailability'.
#

SquareupApi.SearchCatalogItems

Find catalog items or variations based on search filters. Use this tool to search for catalog items or item variations by matching supported search attributes and custom attribute values against specified query filters. This tool is specifically for searching items or item variations, unlike the broader SearchCatalogObjects endpoint. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchCatalogItems'.
#

SquareupApi.SearchCatalogObjects

Search for catalog objects using specified query filters. Use this tool to search for any type of catalog object through the Squareup API by matching supported search attribute values. This tool is ideal for retrieving catalog objects, including deleted ones, based on provided query filters. It's useful for comprehensive catalog searches excluding custom attribute values. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchCatalogObjects'.
#

SquareupApi.SearchInvoices

Search for invoices based on location and optional customer. This tool searches for invoices from a specified location and can filter by customer. It supports pagination; if results are truncated, a cursor is provided for retrieving more invoices.

Parameters

ParameterTypeReq.Description
location_idarray<string>RequiredSpecify the location ID to limit the invoice search. Only one location ID can be provided.
customer_idarray<string>OptionalSpecify the customer ID to limit the search to invoices for that customer. Only one customer can be specified.
maximum_invoice_countintegerOptionalThe maximum number of invoices to return, up to 200. Defaults to 100 if not specified.
pagination_cursorstringOptionalA cursor to retrieve the next set of results for pagination. Use the cursor from the previous response.
sort_by_fieldstringOptionalSpecify the field for sorting results. Default is 'INVOICE_SORT_DATE'.
sort_orderstringOptionalThe order in which results are returned, either 'DESC' for descending or 'ASC' for ascending.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchInvoices'.
#

SquareupApi.SearchLoyaltyAccounts

Search for loyalty accounts by phone number or customer ID. This tool searches for loyalty accounts within a loyalty program. Use it when you need to find accounts based on a phone number or customer ID. To retrieve all accounts, you can leave the query empty. The results are sorted by the account creation date. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchLoyaltyAccounts'.
#

SquareupApi.SearchLoyaltyEvents

Retrieve and search for Square loyalty events. This tool allows you to search for loyalty events within a Square loyalty program, which logs events such as points earned, redeemed, or expired. Use this tool to get details of these events sorted by creation date.

Parameters

ParameterTypeReq.Description
end_timestringOptionalDatetime in RFC 3339 format indicating when the time range ends for the search.
location_ids_for_events_queryarray<string>OptionalList of Location IDs for querying loyalty events. Multiple IDs use OR logic.
loyalty_account_idstringOptionalThe ID of the loyalty account associated with the events to filter.
loyalty_event_typesarray<string>OptionalArray of loyalty event types to filter results. Multiple values are combined using OR logic. Refer to LoyaltyEventType for options.
max_results_countintegerOptionalThe maximum number of loyalty events to include in the response. Defaults to 30.
order_id_filterstringOptionalThe ID of the order associated with the event to filter results.
pagination_cursorstringOptionalProvide a pagination cursor to retrieve the next set of results from a previous query.
start_datetimestringOptionalA datetime value in RFC 3339 format indicating when the time range starts for the search query.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchLoyaltyEvents'.
#

SquareupApi.SearchLoyaltyRewards

Search for loyalty rewards with optional filters. This tool searches for loyalty rewards and can retrieve results for all loyalty accounts when no filters are applied. If a query object is used, the `loyalty_account_id` is required, while `status` is optional. Results are sorted by `updated_at` in descending order.

Parameters

ParameterTypeReq.Description
loyalty_account_idstringOptionalThe ID of the loyalty account to which the loyalty reward belongs. Required if using a query object.
maximum_resultsintegerOptionalThe maximum number of loyalty reward results to return. Default is 30.
pagination_cursorstringOptionalA cursor for pagination to retrieve the next set of results from a previous call.
reward_statusstringOptionalThe status of the loyalty reward. Options: ISSUED, REDEEMED, DELETED.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchLoyaltyRewards'.
#

SquareupApi.SearchSquareCustomers

Search customer profiles in a Square account. Use this tool to search for customer profiles in a Square account by applying various query filters. If no filters are provided, it returns all profiles sorted alphabetically by name. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchCustomers'.
#

SquareupApi.SearchSquareEvents

Search for Square API events within a specified timeframe. Use this tool to find events from the Square API that have occurred within a 28-day period. Ideal for tracking event history and obtaining specific event details.

Parameters

ParameterTypeReq.Description
end_time_rangestringOptionalA datetime in RFC 3339 format marking the end of the time range for the event search.
filter_by_location_idsarray<string>OptionalAn array of location IDs to filter events by specific locations.
filter_event_typesarray<string>OptionalA list of event types to filter the search results by. Each event type should be a string.
maximum_events_per_pageintegerOptionalSpecify the maximum number of events to return per page, up to 100.
merchant_ids_filterarray<string>OptionalAn array of merchant IDs used to filter events by merchant.
pagination_cursorstringOptionalA pagination cursor for retrieving the next set of events from a previous search query.
sort_key_for_event_searchstringOptionalSet the key by which to sort the returned events. Options include 'DEFAULT'.
sort_orderstringOptionalSpecify the order (chronological or alphabetical) for sorting results. Choose 'ASC' for ascending or 'DESC' for descending order.
time_range_startstringOptionalDatetime value in RFC 3339 format indicating the start of the event timeframe.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchEvents'.
#

SquareupApi.SearchSquareOrders

Search and retrieve orders from Square locations. Use this tool to search for all orders across specified Square locations, including sales, returns, and exchanges. The search can include filters, sorting, and specify whether to return detailed order information or a summary. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchOrders'.
#

SquareupApi.SearchSubscriptions

Search for subscriptions by location and customer IDs. This tool searches for subscriptions, ordering them by creation date, location, and optionally by customer IDs. If no location or customer IDs are provided, it searches across all available locations and customers.

Parameters

ParameterTypeReq.Description
customer_ids_to_filterarray<string>OptionalA list of customer IDs to filter subscriptions by. Leave empty to include all customers.
filter_by_location_idsarray<string>OptionalAn array of location IDs to filter subscriptions by location.
filter_by_source_applicationsarray<string>OptionalA list of source application names to filter subscriptions by.
include_related_infoarray<string>OptionalSpecify related information to include in the response, such as 'actions' for scheduled actions on subscriptions.
max_subscriptions_returnedintegerOptionalDefines the maximum number of subscriptions to return in a single response.
pagination_cursorstringOptionalCursor for fetching the next set of subscription results if previous results exceeded the limit. If not set, returns the last page of results.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchSubscriptions'.
#

SquareupApi.SearchTeamMembers

Retrieve a filtered list of team members for a business. This tool retrieves a paginated list of `TeamMember` objects associated with a business. It allows filtering by location IDs, status (`ACTIVE` or `INACTIVE`), or whether the team member is the Square account owner. Use this to manage or view team member details based on specific criteria.

Parameters

ParameterTypeReq.Description
filter_by_location_idsarray<string>OptionalFilter team members by specified location IDs. If empty, includes all locations.
maximum_team_members_per_pageintegerOptionalSpecify the maximum number of team members to return per page, default is 100.
pagination_cursorstringOptionalThe cursor used to retrieve the next page of results in a paginated list.
return_account_owner_onlybooleanOptionalSet to true to return only the team member who is the Square account owner.
team_member_statusstringOptionalFilter team members by their status: 'ACTIVE' or 'INACTIVE'.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchTeamMembers'.
#

SquareupApi.SearchTerminalActions

Retrieve a filtered list of terminal action requests. Use this tool to get a list of terminal action requests created by your account. Terminal actions are accessible for 30 days.

Parameters

ParameterTypeReq.Description
device_id_filterstringOptionalFilter TerminalActions by a specific device ID. Leave blank to include all devices.
end_time_rfc3339stringOptionalA datetime in RFC 3339 format indicating the end of the time range.
filter_terminal_action_statusstringOptionalFilter results by the status of the TerminalAction (e.g., `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, `COMPLETED`).
pagination_cursorstringOptionalA pagination cursor from a previous response to retrieve the next set of results.
result_limitintegerOptionalLimit the number of results returned for a single request.
result_sort_orderstringOptionalDefines the order ('DESC' or 'ASC') for sorting the terminal action requests.
start_time_rfc3339stringOptionalThe start datetime in RFC 3339 format for filtering terminal actions.
terminal_action_typestringOptionalSpecify the type of terminal action, such as 'QR_CODE', 'PING', etc. This helps filter actions by their purpose.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchTerminalActions'.
#

SquareupApi.SearchTerminalCheckouts

Retrieve filtered Terminal checkout requests for the merchant. This tool returns a filtered list of Terminal checkout requests created specifically by the application making the request. It should be called when there's a need to access Terminal checkout requests for the merchant associated with the OAuth token. Requests are available for 30 days.

Parameters

ParameterTypeReq.Description
checkout_status_filterstringOptionalSpecify the desired status to filter TerminalCheckout results. Options: PENDING, IN_PROGRESS, CANCEL_REQUESTED, CANCELED, COMPLETED.
device_id_filterstringOptionalFilters TerminalCheckout objects associated with a specific device. Omitting this shows checkouts for all devices.
end_time_rfc3339stringOptionalA datetime in RFC 3339 format indicating when the time range ends.
pagination_cursorstringOptionalA pagination cursor from a previous call, used to fetch the next set of results for the same query. Useful for traversing paginated results.
result_limitintegerOptionalMaximum number of results to return in a single request.
result_sort_orderstringOptionalSpecifies the order (DESC or ASC) for results in a request, such as chronological or alphabetical.
start_time_rangestringOptionalThe start datetime for the TerminalCheckout search in RFC 3339 format.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchTerminalCheckouts'.
#

SquareupApi.SearchTerminalRefunds

Retrieve a filtered list of Interac Terminal refund requests. Use this tool to get Interac Terminal refund requests created by the seller, available for up to 30 days. Ideal for managing recent refund activities or auditing transactions.

Parameters

ParameterTypeReq.Description
device_id_filterstringOptional`TerminalRefund` objects associated with a specific device. If not provided, all refunds for the account are displayed.
end_time_rangestringOptionalA datetime value in RFC 3339 format indicating the end of the time range for filtering terminal refund requests.
filter_terminal_refund_statusstringOptionalFilter terminal refunds by status. Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, or `COMPLETED`.
pagination_cursorstringOptionalA cursor to paginate results, used to retrieve the next set from a previous query.
result_limitintegerOptionalSpecifies the maximum number of refund results to retrieve in a single request.
sort_orderstringOptionalThe order in which terminal refund results are listed. Use 'ASC' for oldest to newest or 'DESC' for newest to oldest (default).
start_datetimestringOptionalA datetime in RFC 3339 format. Indicates when the time range starts for filtering terminal refunds.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchTerminalRefunds'.
#

SquareupApi.SearchTimecards

Retrieve filtered and sorted timecard records for a business. Use to get a list of timecard records filtered by location IDs, team member IDs, status, start and end times, or workday details. The records can also be sorted by start, end, creation, or update times. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchTimecards'.
#

SquareupApi.SearchTransferOrders

Search for transfer orders using specific filters. This tool searches for transfer orders using various filters, returning a paginated list of matching orders sorted by creation date. It can find orders by source or destination location or by a specific transfer order status.

Parameters

ParameterTypeReq.Description
destination_location_idsarray<string>OptionalArray of destination location IDs to filter transfer orders.
filter_by_order_statusesarray<string>OptionalFilter transfer orders by their statuses. Accepts an array of status strings. Refer to TransferOrderStatus for valid values.
maximum_resultsintegerOptionalSpecify the maximum number of results to return, from 1 to 100.
pagination_cursorstringOptionalA string token to continue a search from a previous position, enabling pagination through results.
sort_by_fieldstringOptionalSpecify the field to sort transfer orders. Options: CREATED_AT, UPDATED_AT.
sort_orderstringOptionalSpecify the order ('DESC' or 'ASC') in which results are returned. 'DESC' for descending and 'ASC' for ascending.
source_location_idsarray<string>OptionalArray of source location IDs to filter transfer orders by their source location.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchTransferOrders'.
#

SquareupApi.SearchVendors

Search for vendors using filters and sorters. Use this tool to find vendors by applying filters to vendor properties and sorting the results as needed. It is useful for retrieving vendor information based on specific criteria.

Parameters

ParameterTypeReq.Description
pagination_cursorstringOptionalA string used to retrieve the next set of results for a previous query. Follow the pagination guide for details.
sort_field_for_vendorsstringOptionalSpecify the vendor property field to sort the results by. Options include 'NAME' or 'CREATED_AT'.
sort_orderstringOptionalSpecify the order (e.g., chronological or alphabetical) for sorting the results. Options are 'ASC' or 'DESC'.
vendor_names_to_filterarray<string>OptionalArray of vendor names to filter the search results by. Only vendors matching these names will be retrieved.
vendor_statusesarray<string>OptionalList of vendor statuses to filter the search results. Refer to possible values in VendorStatus.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SearchVendors'.
#

SquareupApi.SetBookingCustomAttribute

Upserts a custom attribute for a booking. Use this tool to update or insert a custom attribute for a specific booking. Requires appropriate OAuth scopes and seller subscriptions to Appointments Plus or Premium. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
booking_idstringOptionalThe ID of the target booking to update or insert a custom attribute for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
custom_attribute_keystringOptionalThe key for the custom attribute to create or update, matching the existing key in the Square seller account. Use the qualified key if not the definition owner. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpsertBookingCustomAttribute'.
#

SquareupApi.StartTransferOrder

Start a transfer order to mark it as in-transit. Use this tool to change a draft transfer order to started status, which decrements inventory at the source location and marks the order as in-transit. Once started, the order is locked from deletion but can be canceled. A webhook event is created upon starting the order.

Parameters

ParameterTypeReq.Description
transfer_order_idstringRequiredThe ID of the transfer order to start. Must be in DRAFT status.
unique_request_identifierstringRequiredA unique string to identify each UpdateTransferOrder request, ensuring it is not repeated for any request.
optimistic_concurrency_versionintegerOptionalSpecify the version number for optimistic concurrency control. Ensure the version is current to avoid conflicts.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'StartTransferOrder'.
#

SquareupApi.SubmitEvidenceToBank

Submit evidence for a dispute to the cardholder's bank. Use this tool to submit evidence related to a cardholder dispute to their bank. It includes evidence from files, text submissions, and any automatically provided by Square. Evidence can't be removed once submitted.

Parameters

ParameterTypeReq.Description
dispute_identifierstringRequiredThe unique ID of the dispute for which evidence is being submitted.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SubmitEvidence'.
#

SquareupApi.SwapSubscriptionPlan

Swap a subscription plan variation for an existing subscription. This tool schedules a SWAP_PLAN action to change the plan variation for an existing subscription. It should be called when a user wants to update the current plan of their subscription. For detailed guidance, refer to the Swap Subscription Plan Variations documentation. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
subscription_idstringOptionalThe ID of the subscription to swap the plan for. This is required to identify which subscription will have its plan changed. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'SwapPlan'.
#

SquareupApi.TestWebhookSubscription

Send a test event to a webhook subscription URL. Use this tool to verify if a webhook subscription is correctly configured by sending a test event to the specified notification URL.

Parameters

ParameterTypeReq.Description
webhook_subscription_idstringRequiredThe ID of the Webhook Subscription to test. This is required for sending a test event.
test_event_typestringOptionalSpecifies the event type for testing the webhook subscription. It must match an event type in the subscription's event list.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'TestWebhookSubscription'.
#

SquareupApi.UnlinkCustomerFromGiftCard

Unlink a customer from a gift card. This tool is used to unlink or remove a customer from a gift card. Call this tool when you need to detach a customer's association with a specific gift card, also known as removing a card on file.

Parameters

ParameterTypeReq.Description
customer_id_to_unlinkstringRequiredThe unique identifier of the customer to unlink from the gift card. Ensure it matches the correct customer.
gift_card_id_to_unlinkstringRequiredThe ID of the gift card to be unlinked from the customer. Required for unlinking process.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UnlinkCustomerFromGiftCard'.
#

SquareupApi.UpdateBooking

Update an existing booking with new details. Use this tool to modify an existing booking in the Squareup system. Ensure you have the correct permissions: buyer-level permissions require 'APPOINTMENTS_WRITE', while seller-level permissions need 'APPOINTMENTS_ALL_WRITE' and 'APPOINTMENTS_WRITE'. Seller-level updates require a subscription to Appointments Plus or Premium. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
booking_identifierstringOptionalThe unique identifier of the booking to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateBooking'.
#

SquareupApi.UpdateBreakType

Update an existing BreakType configuration. Utilize this tool to modify the settings of an existing BreakType in the Squareup labor management system. Useful for updating rules related to employee break periods.

Parameters

ParameterTypeReq.Description
break_counts_for_compensationbooleanRequiredSet to true if this break counts towards time worked for compensation purposes.
break_duration_rfc3339stringRequiredThe expected duration of the break in RFC-3339 format (e.g., PT15M for 15 minutes).
break_namestringRequiredA human-readable name for the break type, shown to team members in Square products.
break_type_uuidstringRequiredThe UUID of the BreakType to be updated.
business_location_idstringRequiredThe ID of the business location this type of break applies to. Required for updating break settings.
break_type_creation_timestampstringOptionalA read-only timestamp in RFC 3339 format indicating when the BreakType was created. This is not modifiable.
break_type_idstringOptionalThe UUID for the BreakType object being updated. This is required for identifying which BreakType to modify.
readonly_updated_at_timestampstringOptionalThe read-only timestamp in RFC 3339 format indicating the last update time for BreakType. It's not modifiable.
version_for_concurrencyintegerOptionalThe version number for concurrency control. Helps resolve conflicts by matching the server's current version.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateBreakType'.
#

SquareupApi.UpdateCheckoutLocationSettings

Update location settings for a Square-hosted checkout page. This tool updates the settings for a specific location's checkout page hosted by Square. It should be called when there is a need to make changes to the location-specific configuration for an online checkout. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
location_idstringOptionalThe unique identifier of the location to update settings for the Square-hosted checkout page. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateLocationSettings'.
#

SquareupApi.UpdateCustomerCustomAttribute

Create or update a custom attribute for a customer profile. This tool allows you to create or update a custom attribute for a specified customer profile in a Square seller account. Use it when you need to manage customer-specific details that are defined by custom attribute definitions. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
customer_identifierstringOptionalThe ID of the target customer profile for which the custom attribute will be created or updated. This ID should match the customer profile in the Square system. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
custom_attribute_keystringOptionalThe key identifying the custom attribute to create or update. Must match a key in the Square seller account's custom attribute definition. Use a qualified key if the application is not the definition owner. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpsertCustomerCustomAttribute'.
#

SquareupApi.UpdateCustomerGroup

Updates a customer group by its ID. This tool updates the details of a specified customer group using its group ID. It should be called when you need to modify the attributes of an existing customer group.

Parameters

ParameterTypeReq.Description
customer_group_idstringRequiredThe ID of the customer group to update.
customer_group_namestringRequiredThe new name for the customer group to be updated.
customer_group_unique_idstringOptionalA unique Square-generated ID for the customer group to be updated.
group_creation_timestampstringOptionalThe timestamp of when the customer group was created in RFC 3339 format. Required to track creation time.
group_last_updated_timestampstringOptionalThe timestamp when the customer group was last updated, in RFC 3339 format.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateCustomerGroup'.
#

SquareupApi.UpdateCustomerProfile

Update a customer's profile with new or changed details. Use this tool to update a customer profile by specifying only the new or changed fields. You can also remove fields by setting them to null. For profiles created by merging, use the ID of the new profile. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
customer_idstringOptionalThe unique identifier of the customer to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateCustomer'.
#

SquareupApi.UpdateInvoice

Updates invoice details with specified changes. Use this tool to update fields in an existing invoice. Only the fields you wish to change need to be specified, along with the required `version` field. Note that some restrictions apply, such as the inability to change fields like `order_id` or `location_id`. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
invoice_idstringOptionalThe unique ID of the invoice you wish to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateInvoice'.
#

SquareupApi.UpdateItemModifierLists

Update modifier lists for a catalog item. This tool updates the CatalogModifierList objects for a specific CatalogItem without needing a complete item upsert. Call this tool when you need to modify which modifier lists apply to an item in your catalog.

Parameters

ParameterTypeReq.Description
catalog_item_idsarray<string>RequiredA list of catalog item IDs associated with the CatalogModifierList objects to update.
modifier_list_ids_to_disablearray<string>OptionalThe IDs of CatalogModifierList objects to disable for the CatalogItem. At least one of this or modifier_lists_to_enable must be specified.
modifier_list_ids_to_enablearray<string>OptionalThe IDs of the CatalogModifierList objects to enable for the CatalogItem. At least one of `modifier_lists_to_enable` or `modifier_lists_to_disable` must be specified.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateItemModifierLists'.
#

SquareupApi.UpdateItemTaxes

Update tax settings for specified catalog items. Use this tool to update the CatalogTax objects applied to specific CatalogItems without performing a full upsert. Ideal for making quick tax configuration changes to existing items in the catalog.

Parameters

ParameterTypeReq.Description
catalog_item_idsarray<string>RequiredList of IDs for the CatalogItems associated with the CatalogTax objects being updated. Maximum of 1,000 IDs.
catalog_tax_ids_to_disablearray<string>OptionalList of CatalogTax object IDs to disable. Specify either this or taxes_to_enable.
tax_ids_to_enablearray<string>OptionalList of CatalogTax object IDs to enable. Must specify at least one if 'tax_ids_to_disable' is not provided.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateItemTaxes'.
#

SquareupApi.UpdateJobDetails

Update job title or tip eligibility in the system. Use this tool to update the title or tip eligibility of a job within the system. The changes will affect all related job assignments, shifts, and team member wages associated with the job ID.

Parameters

ParameterTypeReq.Description
job_id_to_updatestringRequiredThe unique ID of the job to update. This specifies which job's title or tip eligibility you want to modify.
enable_tips_for_jobbooleanOptionalSet to true to allow team members to earn tips for the job, false to prevent them.
job_creation_timestampstringOptionalThe timestamp representing when the job was created, formatted in RFC 3339.
job_idstringOptionalThe unique Square-assigned ID of the job. Obtainable via ListJobs API or from team member wage settings.
job_last_updated_timestampstringOptionalThe timestamp when the job was last updated, in RFC 3339 format. Used for optimistic concurrency control.
job_titlestringOptionalThe new title of the job to update.
job_version_for_concurrencyintegerOptionalThe current version of the job for optimistic concurrency control. Must match the server version to proceed with updates.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateJob'.
#

SquareupApi.UpdateLocationSquareup

Updates a business location on Square. Call this tool to update details of a specific business location using Square's Locations API. Provide the necessary location ID and data to modify. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
location_idstringOptionalThe ID of the location to update on Square. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateLocation'.
#

SquareupApi.UpdateMerchantSettings

Updates Square-hosted checkout page settings for a merchant. Use this tool to update the settings of a Square-hosted checkout page at the merchant level, ensuring the checkout page reflects the desired configurations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateMerchantSettings'.
#

SquareupApi.UpdateMultipleCustomerProfiles

Update multiple customer profiles in one request. This tool updates several customer profiles simultaneously by taking a map of individual update requests, and returns a map of responses detailing the outcome of each request. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkUpdateCustomers'.
#

SquareupApi.UpdateOrderCustomAttribute

Create or update a custom attribute for an order. Call this tool to set or update the value of a custom attribute for a specific order. This is useful for customizing orders based on predefined custom attribute definitions in a Square seller account. Ensure the visibility setting is 'VISIBILITY_READ_WRITE_VALUES' for attributes owned by another application. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
order_idstringOptionalThe ID of the target order for which the custom attribute is being created or updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
custom_attribute_keystringOptionalThe key of the custom attribute to be created or updated. Must match an existing custom attribute definition key. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpsertOrderCustomAttribute'.
#

SquareupApi.UpdateOrderSquare

Update fields of an open Square order. This tool updates fields of an open order in Square by adding, replacing, or deleting details. It requires the order ID, the latest version of the order, and a sparse order containing only the fields to update. Use this tool to manage order details while in 'OPEN' state when changes are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
order_idstringOptionalThe unique identifier for the order that needs to be updated. This ID specifies which order will have its fields modified. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateOrder'.
#

SquareupApi.UpdatePaymentStatus

Update a payment's approved status and details. Use this tool to update a payment with an APPROVED status, modifying fields like `amount_money` and `tip_money` as necessary. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
payment_identifierstringOptionalThe unique ID of the payment you want to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdatePayment'.
#

SquareupApi.UpdateScheduledShift

Updates draft shift details for a scheduled shift. Use this tool to make updates to draft shift details such as location, job, start and end times, team member, and notes. To finalize and make updates public, the shift must be published. You can also mark a shift as deleted. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
scheduled_shift_idstringOptionalThe unique identifier of the scheduled shift to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateScheduledShift'.
#

SquareupApi.UpdateSubscription

Update subscription details with new or cleared values. This tool updates subscription details by modifying existing values or clearing fields by setting them to `null`. Use this when you need to make changes to a subscription in the Square system. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
subscription_idstringOptionalThe unique identifier of the subscription you want to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateSubscription'.
#

SquareupApi.UpdateTeamMember

Updates a single TeamMember object. Use this tool to update details of a TeamMember in your organization. It should be called when you need to modify information about an existing team member. The updated TeamMember object is returned upon successful update. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
team_member_idstringOptionalThe unique identifier of the team member to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateTeamMember'.
#

SquareupApi.UpdateTimecard

Update an existing timecard with new details. Use this tool to update an existing timecard, including adding or closing breaks. Ensure all break instances have the `end_at` property set before closing a timecard. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
timecard_idstringOptionalThe unique identifier of the timecard to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateTimecard'.
#

SquareupApi.UpdateTransferOrder

Update specific fields of a transfer order. Use this tool to modify particular fields of an existing transfer order without affecting others. This will trigger a transfer_order.updated webhook event. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
transfer_order_identifierstringOptionalThe unique identifier of the transfer order to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateTransferOrder'.
#

SquareupApi.UpdateVendorInfo

Update an existing vendor's information. Use this tool to modify the details of an existing vendor who supplies to a seller. It updates the vendor's profile in the system. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateVendor'.
#

SquareupApi.UpdateWageSetting

Create or update a team member's wage setting. This tool creates or updates a WageSetting object for a specified team member. Use it to manage wage settings by creating a new object if it doesn't exist, or replacing an existing one. Upon successful update, it returns the updated WageSetting object. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
team_member_idstringOptionalThe unique ID of the team member whose WageSetting will be updated or created. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateWageSetting'.
#

SquareupApi.UpdateWebhookSignatureKey

Update a webhook subscription's signature key. Use this tool to replace the existing signature key for a webhook subscription with a new one. This is specifically for managing webhook security by updating the signature key.

Parameters

ParameterTypeReq.Description
webhook_subscription_idstringRequiredThe ID of the Webhook Subscription to update. This is a required field.
unique_request_identifierstringOptionalA unique string to identify the UpdateWebhookSubscriptionSignatureKey request, ensuring idempotency.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateWebhookSubscriptionSignatureKey'.
#

SquareupApi.UpdateWebhookSubscription

Update a webhook subscription to modify its settings. This tool is used to update an existing webhook subscription by providing necessary changes to its settings. It should be called when there's a need to modify the webhook's parameters or configuration.

Parameters

ParameterTypeReq.Description
subscription_idstringRequiredThe unique ID of the subscription to update. This is required to identify the webhook subscription that needs to be modified.
api_version_of_subscriptionstringOptionalSpecify the API version for the subscription. Optional for creation and defaults to the application's API version if not provided.
event_typesarray<string>OptionalAn array of event types associated with this subscription that trigger the webhook.
signature_keystringOptionalThe Square-generated signature key for validating the webhook origin.
subscription_created_timestampstringOptionalThe timestamp indicating when the subscription was created, formatted in RFC 3339.
subscription_enabledbooleanOptionalSet to `true` to enable the subscription or `false` to disable it.
subscription_namestringOptionalThe new name for the webhook subscription to update.
subscription_unique_idstringOptionalA Square-generated unique ID for the webhook subscription to be updated. This is required to identify which subscription to modify.
updated_at_timestampstringOptionalThe timestamp of the last update for the subscription, in RFC 3339 format (e.g., "2016-09-04T23:59:33.123Z").
webhook_notification_urlstringOptionalThe URL to which webhooks are sent. Must be a valid URL that can receive POST requests.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateWebhookSubscription'.
#

SquareupApi.UpdateWorkweekConfiguration

Update workweek configuration settings. Use this tool to update the settings for a specific workweek configuration in the system.

Parameters

ParameterTypeReq.Description
workweek_config_idstringRequiredThe UUID for the `WorkweekConfig` object to be updated.
workweek_start_daystringRequiredSpecifies the start day of the workweek. Acceptable values are: MON, TUE, WED, THU, FRI, SAT, SUN.
workweek_start_time_localstringRequiredThe local time a business week starts, represented as a string in `HH:MM` format (`HH:MM:SS` is accepted, but seconds are truncated).
read_only_updated_atstringOptionalA read-only timestamp in RFC 3339 format; presented in UTC, to indicate the last update time of the workweek configuration.
workweek_config_uuidstringOptionalThe UUID of the workweek configuration object to be updated.
workweek_config_versionintegerOptionalVersion number to resolve concurrency issues. If it doesn't match the server, the update fails. If omitted, a blind write occurs.
workweek_creation_timestampstringOptionalRead-only UTC timestamp of workweek config creation in RFC 3339 format.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpdateWorkweekConfig'.
#

SquareupApi.UploadDisputeEvidenceText

Upload text evidence for a dispute challenge. Use this tool to upload textual evidence to support a dispute challenge. Call this tool when you need to provide written information or arguments for a dispute with a unique dispute ID.

Parameters

ParameterTypeReq.Description
dispute_idstringRequiredThe unique ID of the dispute to upload text evidence for.
evidence_text_stringstringRequiredProvide the textual evidence string to be used in the dispute challenge.
unique_request_keystringRequiredA unique key for identifying and ensuring the idempotency of the request. For additional details, see Square's idempotency documentation.
dispute_evidence_typestringOptionalSpecify the type of evidence for the dispute. Options include: GENERIC_EVIDENCE, ONLINE_OR_APP_ACCESS_LOG, AUTHORIZATION_DOCUMENTATION, etc.

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'CreateDisputeEvidenceText'.
#

SquareupApi.UpsertCatalogObject

Create or update a catalog object in Squareup. Use this tool to create a new or update an existing catalog object in Squareup. It is designed to handle requests one at a time per seller account for consistency. If another update is in process, further requests will be rejected with a `429` error. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpsertCatalogObject'.
#

SquareupApi.UpsertLocationCustomAttribute

Create or update a custom attribute for a location. Use this tool to set or modify the value of a custom attribute for a specific location. Ensure the custom attribute is defined in the Square seller account. To work with attributes owned by other applications, the visibility must be set to 'VISIBILITY_READ_WRITE_VALUES'. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
location_idstringOptionalThe ID of the target location for which the custom attribute is to be created or updated. It should be a string that uniquely identifies the location within the Square seller account. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
custom_attribute_keystringOptionalThe key for the custom attribute to create or update. Must match an existing attribute definition key in the Square account. Use a qualified key if not the owner. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpsertLocationCustomAttribute'.
#

SquareupApi.UpsertMerchantCustomAttribute

Create or update a custom attribute for a merchant. This tool creates or updates a custom attribute for a specified merchant using the Square API. It's used to set the value of a custom attribute defined in a Square seller account. The attribute can be owned by another application if the visibility setting allows read-write operations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
merchant_idstringOptionalThe unique ID of the target merchant for whom the custom attribute is being created or updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
custom_attribute_keystringOptionalThe key of the custom attribute to create or update. This key must match the key of a custom attribute definition in the Square seller account. If the requester is not the definition owner, use the qualified key. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'UpsertMerchantCustomAttribute'.
#

SquareupApi.UpsertMerchantCustomAttributesBulk

Bulk creates or updates custom attributes for a merchant. Use this tool to set multiple custom attributes for a merchant based on predefined definitions in a Square seller account. It processes 1 to 25 upsert requests, each providing a unique ID, merchant ID, and custom attribute data. Returns mapped responses with the ID of each request. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

No secrets required

Output

Type:json— Response from the API endpoint 'BulkUpsertMerchantCustomAttributes'.
Last updated on