What your agents can do

Real Square actions, managed and audited.

Your user connects Square once; your agent can then take payments and issue refunds, create orders and invoices, and search customers and catalog items — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.

  1. 01Connect

    Your user grants Square access once (OAuth) — the token lands in the vault.

  2. 02Call

    Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.

  3. 03Audit

    Every routed call appends a hash-chained audit record — nothing leaves your infra.

Tools & triggers

Supported Square tools.

Browse 324 tools in the Square catalog. Each action uses your configured authentication and tool allowlist.

Showing 324 tools.

AcceptDispute
SQUAREUP_ACCEPT_DISPUTE
Accepts the loss on a dispute. Square returns the disputed amount to the cardholder and updates the dispute state to ACCEPTED. Square debits the disputed amount from the seller’s Square account. If the Square account does not have sufficient funds, Square debits the associated bank account.
Disputes
AccumulateLoyaltyPoints
SQUAREUP_ACCUMULATE_LOYALTY_POINTS
Adds points earned from a purchase to a [loyalty account](entity:LoyaltyAccount). - If you are using the Orders API to manage orders, provide the `order_id`. Square reads the order to compute the points earned from both the base loyalty program and an associated [loyalty promotion](entity:LoyaltyPromotion). For purchases that qualify for multiple accrual rules, Square computes points based on the accrual rule that grants the most points. For purchases that qualify for multiple promotions, Square computes points based on the most recently created promotion. A purchase must first qualify for program points to be eligible for promotion points. - If you are not using the Orders API to manage orders, provide `points` with the number of points to add. You must first perform a client-side computation of the points earned from the loyalty program and loyalty promotion. For spend-based and visit-based programs, you can call [CalculateLoyaltyPoints](api-endpoint:Loyalty-CalculateLoyaltyPoints) to compute the points earned from the base loyalty program. For information about computing points earned from a loyalty promotion, see [Calculating promotion points](https://developer.squareup.com/docs/loyalty-api/loyalty-promotions#calculate-promotion-points).
Loyalty
AddGroupToCustomer
SQUAREUP_ADD_GROUP_TO_CUSTOMER
Adds a group membership to a customer. The customer is identified by the `customer_id` value and the customer group is identified by the `group_id` value.
Customers
AdjustLoyaltyPoints
SQUAREUP_ADJUST_LOYALTY_POINTS
Adds points to or subtracts points from a buyer's account. Use this endpoint only when you need to manually adjust points. Otherwise, in your application flow, you call [AccumulateLoyaltyPoints](api-endpoint:Loyalty-AccumulateLoyaltyPoints) to add points when a buyer pays for the purchase.
Loyalty
BatchChangeInventory
SQUAREUP_BATCH_CHANGE_INVENTORY
Applies adjustments and counts to the provided item quantities. On success: returns the current calculated counts for all objects referenced in the request. On failure: returns a list of related errors.
Inventory
BatchDeleteCatalogObjects
SQUAREUP_BATCH_DELETE_CATALOG_OBJECTS
Deletes a set of [CatalogItem](entity:CatalogItem)s based on the provided list of target IDs and returns a set of successfully deleted IDs in the response. Deletion is a cascading event such that all children of the targeted object are also deleted. For example, deleting a CatalogItem will also delete all of its [CatalogItemVariation](entity:CatalogItemVariation) children. `BatchDeleteCatalogObjects` succeeds even if only a portion of the targeted IDs can be deleted. The response will only include IDs that were actually deleted. To ensure consistency, only one delete request is processed at a time per seller account. While one (batch or non-batch) delete request is being processed, other (batched and non-batched) delete requests are rejected with the `429` error code.
Catalog
BatchRetrieveCatalogObjects
SQUAREUP_BATCH_RETRIEVE_CATALOG_OBJECTS
Returns a set of objects based on the provided ID. Each [CatalogItem](entity:CatalogItem) returned in the set includes all of its child information including: all of its [CatalogItemVariation](entity:CatalogItemVariation) objects, references to its [CatalogModifierList](entity:CatalogModifierList) objects, and the ids of any [CatalogTax](entity:CatalogTax) objects that apply to it.
Catalog
BatchRetrieveInventoryChanges
SQUAREUP_BATCH_RETRIEVE_INVENTORY_CHANGES
Returns historical physical counts and adjustments based on the provided filter criteria. Results are paginated and sorted in ascending order according their `occurred_at` timestamp (oldest first). BatchRetrieveInventoryChanges is a catch-all query endpoint for queries that cannot be handled by other, simpler endpoints.
Inventory
BatchRetrieveInventoryCounts
SQUAREUP_BATCH_RETRIEVE_INVENTORY_COUNTS
Returns current counts for the provided [CatalogObject](entity:CatalogObject)s at the requested [Location](entity:Location)s. Results are paginated and sorted in descending order according to their `calculated_at` timestamp (newest first). When `updated_after` is specified, only counts that have changed since that time (based on the server timestamp for the most recent change) are returned. This allows clients to perform a "sync" operation, for example in response to receiving a Webhook notification.
Inventory
BatchRetrieveOrders
SQUAREUP_BATCH_RETRIEVE_ORDERS
Retrieves a set of [orders](entity:Order) by their IDs. If a given order ID does not exist, the ID is ignored instead of generating an error.
Orders
BatchUpsertCatalogObjects
SQUAREUP_BATCH_UPSERT_CATALOG_OBJECTS
Creates or updates up to 10,000 target objects based on the provided list of objects. The target objects are grouped into batches and each batch is inserted/updated in an all-or-nothing manner. If an object within a batch is malformed in some way, or violates a database constraint, the entire batch containing that item will be disregarded. However, other batches in the same request may still succeed. Each batch may contain up to 1,000 objects, and batches will be processed in order as long as the total object count for the request (items, variations, modifier lists, discounts, and taxes) is no more than 10,000. To ensure consistency, only one update request is processed at a time per seller account. While one (batch or non-batch) update request is being processed, other (batched and non-batched) update requests are rejected with the `429` error code.
Catalog
BulkCreateCustomers
SQUAREUP_BULK_CREATE_CUSTOMERS
Creates multiple [customer profiles](entity:Customer) for a business. This endpoint takes a map of individual create requests and returns a map of responses. You must provide at least one of the following values in each create request: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`
Customers
BulkCreateTeamMembers
SQUAREUP_BULK_CREATE_TEAM_MEMBERS
Creates multiple `TeamMember` objects. The created `TeamMember` objects are returned on successful creates. This process is non-transactional and processes as much of the request as possible. If one of the creates in the request cannot be successfully processed, the request is not marked as failed, but the body of the response contains explicit error information for the failed create. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#bulk-create-team-members).
Team
BulkCreateVendors
SQUAREUP_BULK_CREATE_VENDORS
Creates one or more [Vendor](entity:Vendor) objects to represent suppliers to a seller.
Vendors
BulkDeleteBookingCustomAttributes
SQUAREUP_BULK_DELETE_BOOKING_CUSTOM_ATTRIBUTES
Bulk deletes bookings custom attributes. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
BookingCustomAttributes
BulkDeleteCustomers
SQUAREUP_BULK_DELETE_CUSTOMERS
Deletes multiple customer profiles. The endpoint takes a list of customer IDs and returns a map of responses.
Customers
BulkDeleteLocationCustomAttributes
SQUAREUP_BULK_DELETE_LOCATION_CUSTOM_ATTRIBUTES
Deletes [custom attributes](entity:CustomAttribute) for locations as a bulk operation. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
LocationCustomAttributes
BulkDeleteMerchantCustomAttributes
SQUAREUP_BULK_DELETE_MERCHANT_CUSTOM_ATTRIBUTES
Deletes [custom attributes](entity:CustomAttribute) for a merchant as a bulk operation. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
MerchantCustomAttributes
BulkDeleteOrderCustomAttributes
SQUAREUP_BULK_DELETE_ORDER_CUSTOM_ATTRIBUTES
Deletes order [custom attributes](entity:CustomAttribute) as a bulk operation. Use this endpoint to delete one or more custom attributes from one or more orders. A custom attribute is based on a custom attribute definition in a Square seller account. (To create a custom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.) This `BulkDeleteOrderCustomAttributes` endpoint accepts a map of 1 to 25 individual delete requests and returns a map of individual delete responses. Each delete request has a unique ID and provides an order ID and custom attribute. Each delete response is returned with the ID of the corresponding request. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
OrderCustomAttributes
BulkPublishScheduledShifts
SQUAREUP_BULK_PUBLISH_SCHEDULED_SHIFTS
Publishes 1 - 100 scheduled shifts. This endpoint takes a map of individual publish requests and returns a map of responses. When a scheduled shift is published, Square keeps the `draft_shift_details` field as is and copies it to the `published_shift_details` field. The minimum `start_at` and maximum `end_at` timestamps of all shifts in a `BulkPublishScheduledShifts` request must fall within a two-week period.
Labor
BulkRetrieveBookings
SQUAREUP_BULK_RETRIEVE_BOOKINGS
Bulk-Retrieves a list of bookings by booking IDs. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
Bookings
BulkRetrieveChannels
SQUAREUP_BULK_RETRIEVE_CHANNELS
BulkRetrieveChannels
Channels
BulkRetrieveCustomers
SQUAREUP_BULK_RETRIEVE_CUSTOMERS
Retrieves multiple customer profiles. This endpoint takes a list of customer IDs and returns a map of responses.
Customers
BulkRetrieveTeamMemberBookingProfiles
SQUAREUP_BULK_RETRIEVE_TEAM_MEMBER_BOOKING_PROFILES
Retrieves one or more team members' booking profiles.
Bookings
BulkRetrieveVendors
SQUAREUP_BULK_RETRIEVE_VENDORS
Retrieves one or more vendors of specified [Vendor](entity:Vendor) IDs.
Vendors
BulkSwapPlan
SQUAREUP_BULK_SWAP_PLAN
Schedules a plan variation change for all active subscriptions under a given plan variation. For more information, see [Swap Subscription Plan Variations](https://developer.squareup.com/docs/subscriptions-api/swap-plan-variations).
Subscriptions
BulkUpdateCustomers
SQUAREUP_BULK_UPDATE_CUSTOMERS
Updates multiple customer profiles. This endpoint takes a map of individual update requests and returns a map of responses.
Customers
BulkUpdateTeamMembers
SQUAREUP_BULK_UPDATE_TEAM_MEMBERS
Updates multiple `TeamMember` objects. The updated `TeamMember` objects are returned on successful updates. This process is non-transactional and processes as much of the request as possible. If one of the updates in the request cannot be successfully processed, the request is not marked as failed, but the body of the response contains explicit error information for the failed update. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#bulk-update-team-members).
Team
BulkUpdateVendors
SQUAREUP_BULK_UPDATE_VENDORS
Updates one or more of existing [Vendor](entity:Vendor) objects as suppliers to a seller.
Vendors
BulkUpsertBookingCustomAttributes
SQUAREUP_BULK_UPSERT_BOOKING_CUSTOM_ATTRIBUTES
Bulk upserts bookings custom attributes. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
BookingCustomAttributes
BulkUpsertCustomerCustomAttributes
SQUAREUP_BULK_UPSERT_CUSTOMER_CUSTOM_ATTRIBUTES
Creates or updates [custom attributes](entity:CustomAttribute) for customer profiles as a bulk operation. Use this endpoint to set the value of one or more custom attributes for one or more customer profiles. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-CreateCustomerCustomAttributeDefinition) endpoint. This `BulkUpsertCustomerCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides a customer ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
CustomerCustomAttributes
BulkUpsertLocationCustomAttributes
SQUAREUP_BULK_UPSERT_LOCATION_CUSTOM_ATTRIBUTES
Creates or updates [custom attributes](entity:CustomAttribute) for locations as a bulk operation. Use this endpoint to set the value of one or more custom attributes for one or more locations. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateLocationCustomAttributeDefinition](api-endpoint:LocationCustomAttributes-CreateLocationCustomAttributeDefinition) endpoint. This `BulkUpsertLocationCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides a location ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
LocationCustomAttributes
BulkUpsertMerchantCustomAttributes
SQUAREUP_BULK_UPSERT_MERCHANT_CUSTOM_ATTRIBUTES
Creates or updates [custom attributes](entity:CustomAttribute) for a merchant as a bulk operation. Use this endpoint to set the value of one or more custom attributes for a merchant. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateMerchantCustomAttributeDefinition](api-endpoint:MerchantCustomAttributes-CreateMerchantCustomAttributeDefinition) endpoint. This `BulkUpsertMerchantCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides a merchant ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
MerchantCustomAttributes
BulkUpsertOrderCustomAttributes
SQUAREUP_BULK_UPSERT_ORDER_CUSTOM_ATTRIBUTES
Creates or updates order [custom attributes](entity:CustomAttribute) as a bulk operation. Use this endpoint to delete one or more custom attributes from one or more orders. A custom attribute is based on a custom attribute definition in a Square seller account. (To create a custom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.) This `BulkUpsertOrderCustomAttributes` endpoint accepts a map of 1 to 25 individual upsert requests and returns a map of individual upsert responses. Each upsert request has a unique ID and provides an order ID and custom attribute. Each upsert response is returned with the ID of the corresponding request. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
OrderCustomAttributes
CalculateLoyaltyPoints
SQUAREUP_CALCULATE_LOYALTY_POINTS
Calculates the number of points a buyer can earn from a purchase. Applications might call this endpoint to display the points to the buyer. - If you are using the Orders API to manage orders, provide the `order_id` and (optional) `loyalty_account_id`. Square reads the order to compute the points earned from the base loyalty program and an associated [loyalty promotion](entity:LoyaltyPromotion). - If you are not using the Orders API to manage orders, provide `transaction_amount_money` with the purchase amount. Square uses this amount to calculate the points earned from the base loyalty program, but not points earned from a loyalty promotion. For spend-based and visit-based programs, the `tax_mode` setting of the accrual rule indicates how taxes should be treated for loyalty points accrual. If the purchase qualifies for program points, call [ListLoyaltyPromotions](api-endpoint:Loyalty-ListLoyaltyPromotions) and perform a client-side computation to calculate whether the purchase also qualifies for promotion points. For more information, see [Calculating promotion points](https://developer.squareup.com/docs/loyalty-api/loyalty-promotions#calculate-promotion-points).
Loyalty
CalculateOrder
SQUAREUP_CALCULATE_ORDER
Enables applications to preview order pricing without creating an order.
Orders
CancelBooking
SQUAREUP_CANCEL_BOOKING
Cancels an existing booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
Bookings
CancelInvoice
SQUAREUP_CANCEL_INVOICE
Cancels an invoice. The seller cannot collect payments for the canceled invoice. You cannot cancel an invoice in the `DRAFT` state or in a terminal state: `PAID`, `REFUNDED`, `CANCELED`, or `FAILED`.
Invoices
CancelLoyaltyPromotion
SQUAREUP_CANCEL_LOYALTY_PROMOTION
Cancels a loyalty promotion. Use this endpoint to cancel an `ACTIVE` promotion earlier than the end date, cancel an `ACTIVE` promotion when an end date is not specified, or cancel a `SCHEDULED` promotion. Because updating a promotion is not supported, you can also use this endpoint to cancel a promotion before you create a new one. This endpoint sets the loyalty promotion to the `CANCELED` state
Loyalty
CancelPayment
SQUAREUP_CANCEL_PAYMENT
Cancels (voids) a payment. You can use this endpoint to cancel a payment with the APPROVED `status`.
Payments
CancelPaymentByIdempotencyKey
SQUAREUP_CANCEL_PAYMENT_BY_IDEMPOTENCY_KEY
Cancels (voids) a payment identified by the idempotency key that is specified in the request. Use this method when the status of a `CreatePayment` request is unknown (for example, after you send a `CreatePayment` request, a network error occurs and you do not get a response). In this case, you can direct Square to cancel the payment using this endpoint. In the request, you provide the same idempotency key that you provided in your `CreatePayment` request that you want to cancel. After canceling the payment, you can submit your `CreatePayment` request again. Note that if no payment with the specified idempotency key is found, no action is taken and the endpoint returns successfully.
Payments
CancelSubscription
SQUAREUP_CANCEL_SUBSCRIPTION
Schedules a `CANCEL` action to cancel an active subscription. This sets the `canceled_date` field to the end of the active billing period. After this date, the subscription status changes from ACTIVE to CANCELED.
Subscriptions
CancelTerminalAction
SQUAREUP_CANCEL_TERMINAL_ACTION
Cancels a Terminal action request if the status of the request permits it.
Terminal
CancelTerminalCheckout
SQUAREUP_CANCEL_TERMINAL_CHECKOUT
Cancels a Terminal checkout request if the status of the request permits it.
Terminal
CancelTerminalRefund
SQUAREUP_CANCEL_TERMINAL_REFUND
Cancels an Interac Terminal refund request by refund request ID if the status of the request permits it.
Terminal
CancelTransferOrder
SQUAREUP_CANCEL_TRANSFER_ORDER
Cancels a transfer order in [STARTED](entity:TransferOrderStatus) or [PARTIALLY_RECEIVED](entity:TransferOrderStatus) status. Any unreceived quantities will no longer be receivable and will be immediately returned to the source [Location](entity:Location)'s inventory. Common reasons for cancellation: - Items no longer needed at destination - Source location needs the inventory - Order created in error Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.
TransferOrder
CaptureTransaction
SQUAREUP_CAPTURE_TRANSACTION
Captures a transaction that was created with the [Charge](api-endpoint:Transactions-Charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](https://developer.squareup.com/docs/payments/transactions/overview#delayed-capture) for more information.
Transactions
CatalogInfo
SQUAREUP_CATALOG_INFO
Retrieves information about the Square Catalog API, such as batch size limits that can be used by the `BatchUpsertCatalogObjects` endpoint.
Catalog
ChangeBillingAnchorDate
SQUAREUP_CHANGE_BILLING_ANCHOR_DATE
Changes the [billing anchor date](https://developer.squareup.com/docs/subscriptions-api/subscription-billing#billing-dates) for a subscription.
Subscriptions
CloneOrder
SQUAREUP_CLONE_ORDER
Creates a new order, in the `DRAFT` state, by duplicating an existing order. The newly created order has only the core fields (such as line items, taxes, and discounts) copied from the original order.
Orders
CompletePayment
SQUAREUP_COMPLETE_PAYMENT
Completes (captures) a payment. By default, payments are set to complete immediately after they are created. You can use this endpoint to complete a payment with the APPROVED `status`.
Payments
CreateBankAccount
SQUAREUP_CREATE_BANK_ACCOUNT
Store a bank account on file for a square account
BankAccounts
CreateBooking
SQUAREUP_CREATE_BOOKING
Creates a booking. The required input must include the following: - `Booking.location_id` - `Booking.start_at` - `Booking.AppointmentSegment.team_member_id` - `Booking.AppointmentSegment.service_variation_id` - `Booking.AppointmentSegment.service_variation_version` To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
Bookings
CreateBookingCustomAttributeDefinition
SQUAREUP_CREATE_BOOKING_CUSTOM_ATTRIBUTE_DEFINITION
Creates a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
BookingCustomAttributes
CreateBreakType
SQUAREUP_CREATE_BREAK_TYPE
Creates a new `BreakType`. A `BreakType` is a template for creating `Break` objects. You must provide the following values in your request to this endpoint: - `location_id` - `break_name` - `expected_duration` - `is_paid` You can only have three `BreakType` instances per location. If you attempt to add a fourth `BreakType` for a location, an `INVALID_REQUEST_ERROR` "Exceeded limit of 3 breaks per location." is returned.
Labor
CreateCard
SQUAREUP_CREATE_CARD
Adds a card on file to an existing merchant.
Cards
CreateCheckout
SQUAREUP_CREATE_CHECKOUT
Links a `checkoutId` to a `checkout_page_url` that customers are directed to in order to provide their payment information using a payment processing workflow hosted on connect.squareup.com. NOTE: The Checkout API has been updated with new features. For more information, see [Checkout API highlights](https://developer.squareup.com/docs/checkout-api#checkout-api-highlights).
Checkout
CreateCustomer
SQUAREUP_CREATE_CUSTOMER
Creates a new customer for a business. You must provide at least one of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`
Customers
CreateCustomerCard
SQUAREUP_CREATE_CUSTOMER_CARD
Adds a card on file to an existing customer. As with charges, calls to `CreateCustomerCard` are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call.
Customers
CreateCustomerCustomAttributeDefinition
SQUAREUP_CREATE_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITION
Creates a customer-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to define a custom attribute that can be associated with customer profiles. A custom attribute definition specifies the `key`, `visibility`, `schema`, and other properties for a custom attribute. After the definition is created, you can call [UpsertCustomerCustomAttribute](api-endpoint:CustomerCustomAttributes-UpsertCustomerCustomAttribute) or [BulkUpsertCustomerCustomAttributes](api-endpoint:CustomerCustomAttributes-BulkUpsertCustomerCustomAttributes) to set the custom attribute for customer profiles in the seller's Customer Directory. Sellers can view all custom attributes in exported customer data, including those set to `VISIBILITY_HIDDEN`.
CustomerCustomAttributes
CreateCustomerGroup
SQUAREUP_CREATE_CUSTOMER_GROUP
Creates a new customer group for a business. The request must include the `name` value of the group.
CustomerGroups
CreateDeviceCode
SQUAREUP_CREATE_DEVICE_CODE
Creates a DeviceCode that can be used to login to a Square Terminal device to enter the connected terminal mode.
Devices
CreateDisputeEvidenceText
SQUAREUP_CREATE_DISPUTE_EVIDENCE_TEXT
Uploads text to use as evidence for a dispute challenge.
Disputes
CreateGiftCard
SQUAREUP_CREATE_GIFT_CARD
Creates a digital gift card or registers a physical (plastic) gift card. The resulting gift card has a `PENDING` state. To activate a gift card so that it can be redeemed for purchases, call [CreateGiftCardActivity](api-endpoint:GiftCardActivities-CreateGiftCardActivity) and create an `ACTIVATE` activity with the initial balance. Alternatively, you can use [RefundPayment](api-endpoint:Refunds-RefundPayment) to refund a payment to the new gift card.
GiftCards
CreateGiftCardActivity
SQUAREUP_CREATE_GIFT_CARD_ACTIVITY
Creates a gift card activity to manage the balance or state of a [gift card](entity:GiftCard). For example, create an `ACTIVATE` activity to activate a gift card with an initial balance before first use.
GiftCardActivities
CreateInvoice
SQUAREUP_CREATE_INVOICE
Creates a draft [invoice](entity:Invoice) for an order created using the Orders API. A draft invoice remains in your account and no action is taken. You must publish the invoice before Square can process it (send it to the customer's email address or charge the customer’s card on file).
Invoices
CreateJob
SQUAREUP_CREATE_JOB
Creates a job in a seller account. A job defines a title and tip eligibility. Note that compensation is defined in a [job assignment](entity:JobAssignment) in a team member's wage setting.
Team
CreateLocation
SQUAREUP_CREATE_LOCATION
Creates a [location](https://developer.squareup.com/docs/locations-api). Creating new locations allows for separate configuration of receipt layouts, item prices, and sales reports. Developers can use locations to separate sales activity through applications that integrate with Square from sales activity elsewhere in a seller's account. Locations created programmatically with the Locations API last forever and are visible to the seller for their own management. Therefore, ensure that each location has a sensible and unique name.
Locations
CreateLocationCustomAttributeDefinition
SQUAREUP_CREATE_LOCATION_CUSTOM_ATTRIBUTE_DEFINITION
Creates a location-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to define a custom attribute that can be associated with locations. A custom attribute definition specifies the `key`, `visibility`, `schema`, and other properties for a custom attribute. After the definition is created, you can call [UpsertLocationCustomAttribute](api-endpoint:LocationCustomAttributes-UpsertLocationCustomAttribute) or [BulkUpsertLocationCustomAttributes](api-endpoint:LocationCustomAttributes-BulkUpsertLocationCustomAttributes) to set the custom attribute for locations.
LocationCustomAttributes
CreateLoyaltyAccount
SQUAREUP_CREATE_LOYALTY_ACCOUNT
Creates a loyalty account. To create a loyalty account, you must provide the `program_id` and a `mapping` with the `phone_number` of the buyer.
Loyalty
CreateLoyaltyPromotion
SQUAREUP_CREATE_LOYALTY_PROMOTION
Creates a loyalty promotion for a [loyalty program](entity:LoyaltyProgram). A loyalty promotion enables buyers to earn points in addition to those earned from the base loyalty program. This endpoint sets the loyalty promotion to the `ACTIVE` or `SCHEDULED` status, depending on the `available_time` setting. A loyalty program can have a maximum of 10 loyalty promotions with an `ACTIVE` or `SCHEDULED` status.
Loyalty
CreateLoyaltyReward
SQUAREUP_CREATE_LOYALTY_REWARD
Creates a loyalty reward. In the process, the endpoint does following: - Uses the `reward_tier_id` in the request to determine the number of points to lock for this reward. - If the request includes `order_id`, it adds the reward and related discount to the order. After a reward is created, the points are locked and not available for the buyer to redeem another reward.
Loyalty
CreateMerchantCustomAttributeDefinition
SQUAREUP_CREATE_MERCHANT_CUSTOM_ATTRIBUTE_DEFINITION
Creates a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to define a custom attribute that can be associated with a merchant connecting to your application. A custom attribute definition specifies the `key`, `visibility`, `schema`, and other properties for a custom attribute. After the definition is created, you can call [UpsertMerchantCustomAttribute](api-endpoint:MerchantCustomAttributes-UpsertMerchantCustomAttribute) or [BulkUpsertMerchantCustomAttributes](api-endpoint:MerchantCustomAttributes-BulkUpsertMerchantCustomAttributes) to set the custom attribute for a merchant.
MerchantCustomAttributes
CreateOrder
SQUAREUP_CREATE_ORDER
Creates a new [order](entity:Order) that can include information about products for purchase and settings to apply to the purchase. To pay for a created order, see [Pay for Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders). You can modify open orders using the [UpdateOrder](api-endpoint:Orders-UpdateOrder) endpoint.
Orders
CreateOrderCustomAttributeDefinition
SQUAREUP_CREATE_ORDER_CUSTOM_ATTRIBUTE_DEFINITION
Creates an order-related custom attribute definition. Use this endpoint to define a custom attribute that can be associated with orders. After creating a custom attribute definition, you can set the custom attribute for orders in the Square seller account.
OrderCustomAttributes
CreatePayment
SQUAREUP_CREATE_PAYMENT
Creates a payment using the provided source. You can use this endpoint to charge a card (credit/debit card or Square gift card) or record a payment that the seller received outside of Square (cash payment from a buyer or a payment that an external entity processed on behalf of the seller). The endpoint creates a `Payment` object and returns it in the response.
Payments
CreateScheduledShift
SQUAREUP_CREATE_SCHEDULED_SHIFT
Creates a scheduled shift by providing draft shift details such as job ID, team member assignment, and start and end times. The following `draft_shift_details` fields are required: - `location_id` - `job_id` - `start_at` - `end_at`
Labor
CreateShift
SQUAREUP_CREATE_SHIFT
Creates a new `Shift`. A `Shift` represents a complete workday for a single team member. You must provide the following values in your request to this endpoint: - `location_id` - `team_member_id` - `start_at` An attempt to create a new `Shift` can result in a `BAD_REQUEST` error when: - The `status` of the new `Shift` is `OPEN` and the team member has another shift with an `OPEN` status. - The `start_at` date is in the future. - The `start_at` or `end_at` date overlaps another shift for the same team member. - The `Break` instances are set in the request and a break `start_at` is before the `Shift.start_at`, a break `end_at` is after the `Shift.end_at`, or both.
Labor
CreateSubscription
SQUAREUP_CREATE_SUBSCRIPTION
Enrolls a customer in a subscription. If you provide a card on file in the request, Square charges the card for the subscription. Otherwise, Square sends an invoice to the customer's email address. The subscription starts immediately, unless the request includes the optional `start_date`. Each individual subscription is associated with a particular location. For more information, see [Create a subscription](https://developer.squareup.com/docs/subscriptions-api/manage-subscriptions#create-a-subscription).
Subscriptions
CreateTeamMember
SQUAREUP_CREATE_TEAM_MEMBER
Creates a single `TeamMember` object. The `TeamMember` object is returned on successful creates. You must provide the following values in your request to this endpoint: - `given_name` - `family_name` Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#createteammember).
Team
CreateTerminalAction
SQUAREUP_CREATE_TERMINAL_ACTION
Creates a Terminal action request and sends it to the specified device.
Terminal
CreateTerminalCheckout
SQUAREUP_CREATE_TERMINAL_CHECKOUT
Creates a Terminal checkout request and sends it to the specified device to take a payment for the requested amount.
Terminal
CreateTerminalRefund
SQUAREUP_CREATE_TERMINAL_REFUND
Creates a request to refund an Interac payment completed on a Square Terminal. Refunds for Interac payments on a Square Terminal are supported only for Interac debit cards in Canada. Other refunds for Terminal payments should use the Refunds API. For more information, see [Refunds API](api:Refunds).
Terminal
CreateTimecard
SQUAREUP_CREATE_TIMECARD
Creates a new `Timecard`. A `Timecard` represents a complete workday for a single team member. You must provide the following values in your request to this endpoint: - `location_id` - `team_member_id` - `start_at` An attempt to create a new `Timecard` can result in a `BAD_REQUEST` error when: - The `status` of the new `Timecard` is `OPEN` and the team member has another timecard with an `OPEN` status. - The `start_at` date is in the future. - The `start_at` or `end_at` date overlaps another timecard for the same team member. - The `Break` instances are set in the request and a break `start_at` is before the `Timecard.start_at`, a break `end_at` is after the `Timecard.end_at`, or both.
Labor
CreateTransferOrder
SQUAREUP_CREATE_TRANSFER_ORDER
Creates a new transfer order in [DRAFT](entity:TransferOrderStatus) status. A transfer order represents the intent to move [CatalogItemVariation](entity:CatalogItemVariation)s from one [Location](entity:Location) to another. The source and destination locations must be different and must belong to your Square account. In [DRAFT](entity:TransferOrderStatus) status, you can: - Add or remove items - Modify quantities - Update shipping information - Delete the entire order via [DeleteTransferOrder](api-endpoint:TransferOrders-DeleteTransferOrder) The request requires source_location_id and destination_location_id. Inventory levels are not affected until the order is started via [StartTransferOrder](api-endpoint:TransferOrders-StartTransferOrder). Common integration points: - Sync with warehouse management systems - Automate regular stock transfers - Initialize transfers from inventory optimization systems Creates a [transfer_order.created](webhook:transfer_order.created) webhook event.
TransferOrder
CreateVendor
SQUAREUP_CREATE_VENDOR
Creates a single [Vendor](entity:Vendor) object to represent a supplier to a seller.
Vendors
CreateWebhookSubscription
SQUAREUP_CREATE_WEBHOOK_SUBSCRIPTION
Creates a webhook subscription.
WebhookSubscriptions
DeleteBookingCustomAttribute
SQUAREUP_DELETE_BOOKING_CUSTOM_ATTRIBUTE
Deletes a bookings custom attribute. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
BookingCustomAttributes
DeleteBookingCustomAttributeDefinition
SQUAREUP_DELETE_BOOKING_CUSTOM_ATTRIBUTE_DEFINITION
Deletes a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
BookingCustomAttributes
DeleteBreakType
SQUAREUP_DELETE_BREAK_TYPE
Deletes an existing `BreakType`. A `BreakType` can be deleted even if it is referenced from a `Shift`.
Labor
DeleteCatalogObject
SQUAREUP_DELETE_CATALOG_OBJECT
Deletes a single [CatalogObject](entity:CatalogObject) based on the provided ID and returns the set of successfully deleted IDs in the response. Deletion is a cascading event such that all children of the targeted object are also deleted. For example, deleting a [CatalogItem](entity:CatalogItem) will also delete all of its [CatalogItemVariation](entity:CatalogItemVariation) children. To ensure consistency, only one delete request is processed at a time per seller account. While one (batch or non-batch) delete request is being processed, other (batched and non-batched) delete requests are rejected with the `429` error code.
Catalog
DeleteCustomer
SQUAREUP_DELETE_CUSTOMER
Deletes a customer profile from a business. To delete a customer profile that was created by merging existing profiles, you must use the ID of the newly created profile.
Customers
DeleteCustomerCard
SQUAREUP_DELETE_CUSTOMER_CARD
Removes a card on file from a customer.
Customers
DeleteCustomerCustomAttribute
SQUAREUP_DELETE_CUSTOMER_CUSTOM_ATTRIBUTE
Deletes a [custom attribute](entity:CustomAttribute) associated with a customer profile. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
CustomerCustomAttributes
DeleteCustomerCustomAttributeDefinition
SQUAREUP_DELETE_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITION
Deletes a customer-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Deleting a custom attribute definition also deletes the corresponding custom attribute from all customer profiles in the seller's Customer Directory. Only the definition owner can delete a custom attribute definition.
CustomerCustomAttributes
DeleteCustomerGroup
SQUAREUP_DELETE_CUSTOMER_GROUP
Deletes a customer group as identified by the `group_id` value.
CustomerGroups
DeleteDisputeEvidence
SQUAREUP_DELETE_DISPUTE_EVIDENCE
Removes specified evidence from a dispute. Square does not send the bank any evidence that is removed.
Disputes
DeleteInvoice
SQUAREUP_DELETE_INVOICE
Deletes the specified invoice. When an invoice is deleted, the associated order status changes to CANCELED. You can only delete a draft invoice (you cannot delete a published invoice, including one that is scheduled for processing).
Invoices
DeleteInvoiceAttachment
SQUAREUP_DELETE_INVOICE_ATTACHMENT
Removes an attachment from an invoice and permanently deletes the file. Attachments can be removed only from invoices in the `DRAFT`, `SCHEDULED`, `UNPAID`, or `PARTIALLY_PAID` state.
Invoices
DeleteLocationCustomAttribute
SQUAREUP_DELETE_LOCATION_CUSTOM_ATTRIBUTE
Deletes a [custom attribute](entity:CustomAttribute) associated with a location. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
LocationCustomAttributes
DeleteLocationCustomAttributeDefinition
SQUAREUP_DELETE_LOCATION_CUSTOM_ATTRIBUTE_DEFINITION
Deletes a location-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Deleting a custom attribute definition also deletes the corresponding custom attribute from all locations. Only the definition owner can delete a custom attribute definition.
LocationCustomAttributes
DeleteLoyaltyReward
SQUAREUP_DELETE_LOYALTY_REWARD
Deletes a loyalty reward by doing the following: - Returns the loyalty points back to the loyalty account. - If an order ID was specified when the reward was created (see [CreateLoyaltyReward](api-endpoint:Loyalty-CreateLoyaltyReward)), it updates the order by removing the reward and related discounts. You cannot delete a reward that has reached the terminal state (REDEEMED).
Loyalty
DeleteMerchantCustomAttribute
SQUAREUP_DELETE_MERCHANT_CUSTOM_ATTRIBUTE
Deletes a [custom attribute](entity:CustomAttribute) associated with a merchant. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
MerchantCustomAttributes
DeleteMerchantCustomAttributeDefinition
SQUAREUP_DELETE_MERCHANT_CUSTOM_ATTRIBUTE_DEFINITION
Deletes a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Deleting a custom attribute definition also deletes the corresponding custom attribute from the merchant. Only the definition owner can delete a custom attribute definition.
MerchantCustomAttributes
DeleteOrderCustomAttribute
SQUAREUP_DELETE_ORDER_CUSTOM_ATTRIBUTE
Deletes a [custom attribute](entity:CustomAttribute) associated with a customer profile. To delete a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
OrderCustomAttributes
DeleteOrderCustomAttributeDefinition
SQUAREUP_DELETE_ORDER_CUSTOM_ATTRIBUTE_DEFINITION
Deletes an order-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. Only the definition owner can delete a custom attribute definition.
OrderCustomAttributes
DeleteShift
SQUAREUP_DELETE_SHIFT
Deletes a `Shift`.
Labor
DeleteSnippet
SQUAREUP_DELETE_SNIPPET
Removes your snippet from a Square Online site. You can call [ListSites](api-endpoint:Sites-ListSites) to get the IDs of the sites that belong to a seller. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).
Snippets
DeleteSubscriptionAction
SQUAREUP_DELETE_SUBSCRIPTION_ACTION
Deletes a scheduled action for a subscription.
Subscriptions
DeleteTimecard
SQUAREUP_DELETE_TIMECARD
Deletes a `Timecard`.
Labor
DeleteTransferOrder
SQUAREUP_DELETE_TRANSFER_ORDER
Deletes a transfer order in [DRAFT](entity:TransferOrderStatus) status. Only draft orders can be deleted. Once an order is started via [StartTransferOrder](api-endpoint:TransferOrders-StartTransferOrder), it can no longer be deleted. Creates a [transfer_order.deleted](webhook:transfer_order.deleted) webhook event.
TransferOrder
DeleteWebhookSubscription
SQUAREUP_DELETE_WEBHOOK_SUBSCRIPTION
Deletes a webhook subscription.
WebhookSubscriptions
DeprecatedBatchChangeInventory
SQUAREUP_DEPRECATED_BATCH_CHANGE_INVENTORY
Deprecated version of [BatchChangeInventory](api-endpoint:Inventory-BatchChangeInventory) after the endpoint URL is updated to conform to the standard convention.
Inventory
DeprecatedBatchRetrieveInventoryChanges
SQUAREUP_DEPRECATED_BATCH_RETRIEVE_INVENTORY_CHANGES
Deprecated version of [BatchRetrieveInventoryChanges](api-endpoint:Inventory-BatchRetrieveInventoryChanges) after the endpoint URL is updated to conform to the standard convention.
Inventory
DeprecatedBatchRetrieveInventoryCounts
SQUAREUP_DEPRECATED_BATCH_RETRIEVE_INVENTORY_COUNTS
Deprecated version of [BatchRetrieveInventoryCounts](api-endpoint:Inventory-BatchRetrieveInventoryCounts) after the endpoint URL is updated to conform to the standard convention.
Inventory
DeprecatedRetrieveInventoryAdjustment
SQUAREUP_DEPRECATED_RETRIEVE_INVENTORY_ADJUSTMENT
Deprecated version of [RetrieveInventoryAdjustment](api-endpoint:Inventory-RetrieveInventoryAdjustment) after the endpoint URL is updated to conform to the standard convention.
Inventory
DeprecatedRetrieveInventoryPhysicalCount
SQUAREUP_DEPRECATED_RETRIEVE_INVENTORY_PHYSICAL_COUNT
Deprecated version of [RetrieveInventoryPhysicalCount](api-endpoint:Inventory-RetrieveInventoryPhysicalCount) after the endpoint URL is updated to conform to the standard convention.
Inventory
DisableBankAccount
SQUAREUP_DISABLE_BANK_ACCOUNT
Disable a bank account.
BankAccounts
DisableCard
SQUAREUP_DISABLE_CARD
Disables the card, preventing any further updates or charges. Disabling an already disabled card is allowed but has no effect.
Cards
DisableEvents
SQUAREUP_DISABLE_EVENTS
Disables events to prevent them from being searchable. All events are disabled by default. You must enable events to make them searchable. Disabling events for a specific time period prevents them from being searchable, even if you re-enable them later.
Events
DismissTerminalAction
SQUAREUP_DISMISS_TERMINAL_ACTION
Dismisses a Terminal action request if the status and type of the request permits it. See [Link and Dismiss Actions](https://developer.squareup.com/docs/terminal-api/advanced-features/custom-workflows/link-and-dismiss-actions) for more details.
Terminal
DismissTerminalCheckout
SQUAREUP_DISMISS_TERMINAL_CHECKOUT
Dismisses a Terminal checkout request if the status and type of the request permits it.
Terminal
DismissTerminalRefund
SQUAREUP_DISMISS_TERMINAL_REFUND
Dismisses a Terminal refund request if the status and type of the request permits it.
Terminal
EnableEvents
SQUAREUP_ENABLE_EVENTS
Enables events to make them searchable. Only events that occur while in the enabled state are searchable.
Events
GetBankAccount
SQUAREUP_GET_BANK_ACCOUNT
Retrieve details of a [BankAccount](entity:BankAccount) bank account linked to a Square account.
BankAccounts
GetBankAccountByV1Id
SQUAREUP_GET_BANK_ACCOUNT_BY_V1_ID
Returns details of a [BankAccount](entity:BankAccount) identified by V1 bank account ID.
BankAccounts
GetBreakType
SQUAREUP_GET_BREAK_TYPE
Returns a single `BreakType` specified by `id`.
Labor
GetDevice
SQUAREUP_GET_DEVICE
Retrieves Device with the associated `device_id`.
Devices
GetDeviceCode
SQUAREUP_GET_DEVICE_CODE
Retrieves DeviceCode with the associated ID.
Devices
GetEmployeeWage
SQUAREUP_GET_EMPLOYEE_WAGE
Returns a single `EmployeeWage` specified by `id`.
Labor
GetInvoice
SQUAREUP_GET_INVOICE
Retrieves an invoice by invoice ID.
Invoices
GetPayment
SQUAREUP_GET_PAYMENT
Retrieves details for a specific payment.
Payments
GetPaymentRefund
SQUAREUP_GET_PAYMENT_REFUND
Retrieves a specific refund using the `refund_id`.
Refunds
GetPayout
SQUAREUP_GET_PAYOUT
Retrieves details of a specific payout identified by a payout ID. To call this endpoint, set `PAYOUTS_READ` for the OAuth scope.
Payouts
GetShift
SQUAREUP_GET_SHIFT
Returns a single `Shift` specified by `id`.
Labor
GetTeamMemberWage
SQUAREUP_GET_TEAM_MEMBER_WAGE
Returns a single `TeamMemberWage` specified by `id`.
Labor
GetTerminalAction
SQUAREUP_GET_TERMINAL_ACTION
Retrieves a Terminal action request by `action_id`. Terminal action requests are available for 30 days.
Terminal
GetTerminalCheckout
SQUAREUP_GET_TERMINAL_CHECKOUT
Retrieves a Terminal checkout request by `checkout_id`. Terminal checkout requests are available for 30 days.
Terminal
GetTerminalRefund
SQUAREUP_GET_TERMINAL_REFUND
Retrieves an Interac Terminal refund object by ID. Terminal refund objects are available for 30 days.
Terminal
ListBankAccounts
SQUAREUP_LIST_BANK_ACCOUNTS
Returns a list of [BankAccount](entity:BankAccount) objects linked to a Square account.
BankAccounts
ListBookings
SQUAREUP_LIST_BOOKINGS
Retrieve a collection of bookings. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
Bookings
ListBookingCustomAttributes
SQUAREUP_LIST_BOOKING_CUSTOM_ATTRIBUTES
Lists a booking's custom attributes. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
BookingCustomAttributes
ListBookingCustomAttributeDefinitions
SQUAREUP_LIST_BOOKING_CUSTOM_ATTRIBUTE_DEFINITIONS
Get all bookings custom attribute definitions. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
BookingCustomAttributes
ListBreakTypes
SQUAREUP_LIST_BREAK_TYPES
Returns a paginated list of `BreakType` instances for a business.
Labor
ListCards
SQUAREUP_LIST_CARDS
Retrieves a list of cards owned by the account making the request. A max of 25 cards will be returned.
Cards
ListCashDrawerShifts
SQUAREUP_LIST_CASH_DRAWER_SHIFTS
Provides the details for all of the cash drawer shifts for a location in a date range.
CashDrawers
ListCashDrawerShiftEvents
SQUAREUP_LIST_CASH_DRAWER_SHIFT_EVENTS
Provides a paginated list of events for a single cash drawer shift.
CashDrawers
ListCatalog
SQUAREUP_LIST_CATALOG
Returns a list of all [CatalogObject](entity:CatalogObject)s of the specified types in the catalog. The `types` parameter is specified as a comma-separated list of the [CatalogObjectType](entity:CatalogObjectType) values, for example, "`ITEM`, `ITEM_VARIATION`, `MODIFIER`, `MODIFIER_LIST`, `CATEGORY`, `DISCOUNT`, `TAX`, `IMAGE`". __Important:__ ListCatalog does not return deleted catalog items. To retrieve deleted catalog items, use [SearchCatalogObjects](api-endpoint:Catalog-SearchCatalogObjects) and set the `include_deleted_objects` attribute value to `true`.
Catalog
ListChannels
SQUAREUP_LIST_CHANNELS
ListChannels
Channels
ListCustomers
SQUAREUP_LIST_CUSTOMERS
Lists customer profiles associated with a Square account. Under normal operating conditions, newly created or updated customer profiles become available for the listing operation in well under 30 seconds. Occasionally, propagation of the new or updated profiles can take closer to one minute or longer, especially during network incidents and outages.
Customers
ListCustomerCustomAttributes
SQUAREUP_LIST_CUSTOMER_CUSTOM_ATTRIBUTES
Lists the [custom attributes](entity:CustomAttribute) associated with a customer profile. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
CustomerCustomAttributes
ListCustomerCustomAttributeDefinitions
SQUAREUP_LIST_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITIONS
Lists the customer-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
CustomerCustomAttributes
ListCustomerGroups
SQUAREUP_LIST_CUSTOMER_GROUPS
Retrieves the list of customer groups of a business.
CustomerGroups
ListCustomerSegments
SQUAREUP_LIST_CUSTOMER_SEGMENTS
Retrieves the list of customer segments of a business.
CustomerSegments
ListDevices
SQUAREUP_LIST_DEVICES
List devices associated with the merchant. Currently, only Terminal API devices are supported.
Devices
ListDeviceCodes
SQUAREUP_LIST_DEVICE_CODES
Lists all DeviceCodes associated with the merchant.
Devices
ListDisputes
SQUAREUP_LIST_DISPUTES
Returns a list of disputes associated with a particular account.
Disputes
ListDisputeEvidence
SQUAREUP_LIST_DISPUTE_EVIDENCE
Returns a list of evidence associated with a dispute.
Disputes
ListEmployees
SQUAREUP_LIST_EMPLOYEES
ListEmployees
Employees
ListEmployeeWages
SQUAREUP_LIST_EMPLOYEE_WAGES
Returns a paginated list of `EmployeeWage` instances for a business.
Labor
ListEventTypes
SQUAREUP_LIST_EVENT_TYPES
Lists all event types that you can subscribe to as webhooks or query using the Events API.
Events
ListGiftCards
SQUAREUP_LIST_GIFT_CARDS
Lists all gift cards. You can specify optional filters to retrieve a subset of the gift cards. Results are sorted by `created_at` in ascending order.
GiftCards
ListGiftCardActivities
SQUAREUP_LIST_GIFT_CARD_ACTIVITIES
Lists gift card activities. By default, you get gift card activities for all gift cards in the seller's account. You can optionally specify query parameters to filter the list. For example, you can get a list of gift card activities for a gift card, for all gift cards in a specific region, or for activities within a time window.
GiftCardActivities
ListInvoices
SQUAREUP_LIST_INVOICES
Returns a list of invoices for a given location. The response is paginated. If truncated, the response includes a `cursor` that you use in a subsequent request to retrieve the next set of invoices.
Invoices
ListJobs
SQUAREUP_LIST_JOBS
Lists jobs in a seller account. Results are sorted by title in ascending order.
Team
ListLocations
SQUAREUP_LIST_LOCATIONS
Provides details about all of the seller's [locations](https://developer.squareup.com/docs/locations-api), including those with an inactive status. Locations are listed alphabetically by `name`.
Locations
ListLocationBookingProfiles
SQUAREUP_LIST_LOCATION_BOOKING_PROFILES
Lists location booking profiles of a seller.
Bookings
ListLocationCustomAttributes
SQUAREUP_LIST_LOCATION_CUSTOM_ATTRIBUTES
Lists the [custom attributes](entity:CustomAttribute) associated with a location. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
LocationCustomAttributes
ListLocationCustomAttributeDefinitions
SQUAREUP_LIST_LOCATION_CUSTOM_ATTRIBUTE_DEFINITIONS
Lists the location-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
LocationCustomAttributes
ListLoyaltyPrograms
SQUAREUP_LIST_LOYALTY_PROGRAMS
Returns a list of loyalty programs in the seller's account. Loyalty programs define how buyers can earn points and redeem points for rewards. Square sellers can have only one loyalty program, which is created and managed from the Seller Dashboard. For more information, see [Loyalty Program Overview](https://developer.squareup.com/docs/loyalty/overview). Replaced with [RetrieveLoyaltyProgram](api-endpoint:Loyalty-RetrieveLoyaltyProgram) when used with the keyword `main`.
Loyalty
ListLoyaltyPromotions
SQUAREUP_LIST_LOYALTY_PROMOTIONS
Lists the loyalty promotions associated with a [loyalty program](entity:LoyaltyProgram). Results are sorted by the `created_at` date in descending order (newest to oldest).
Loyalty
ListMerchants
SQUAREUP_LIST_MERCHANTS
Provides details about the merchant associated with a given access token. The access token used to connect your application to a Square seller is associated with a single merchant. That means that `ListMerchants` returns a list with a single `Merchant` object. You can specify your personal access token to get your own merchant information or specify an OAuth token to get the information for the merchant that granted your application access. If you know the merchant ID, you can also use the [RetrieveMerchant](api-endpoint:Merchants-RetrieveMerchant) endpoint to retrieve the merchant information.
Merchants
ListMerchantCustomAttributes
SQUAREUP_LIST_MERCHANT_CUSTOM_ATTRIBUTES
Lists the [custom attributes](entity:CustomAttribute) associated with a merchant. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
MerchantCustomAttributes
ListMerchantCustomAttributeDefinitions
SQUAREUP_LIST_MERCHANT_CUSTOM_ATTRIBUTE_DEFINITIONS
Lists the merchant-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
MerchantCustomAttributes
ListOrderCustomAttributes
SQUAREUP_LIST_ORDER_CUSTOM_ATTRIBUTES
Lists the [custom attributes](entity:CustomAttribute) associated with an order. You can use the `with_definitions` query parameter to also retrieve custom attribute definitions in the same call. When all response pages are retrieved, the results include all custom attributes that are visible to the requesting application, including those that are owned by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
OrderCustomAttributes
ListOrderCustomAttributeDefinitions
SQUAREUP_LIST_ORDER_CUSTOM_ATTRIBUTE_DEFINITIONS
Lists the order-related [custom attribute definitions](entity:CustomAttributeDefinition) that belong to a Square seller account. When all response pages are retrieved, the results include all custom attribute definitions that are visible to the requesting application, including those that are created by other applications and set to `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
OrderCustomAttributes
ListPayments
SQUAREUP_LIST_PAYMENTS
Retrieves a list of payments taken by the account making the request. Results are eventually consistent, and new payments or changes to payments might take several seconds to appear. The maximum results per page is 100.
Payments
ListPaymentRefunds
SQUAREUP_LIST_PAYMENT_REFUNDS
Retrieves a list of refunds for the account making the request. Results are eventually consistent, and new refunds or changes to refunds might take several seconds to appear. The maximum results per page is 100.
Refunds
ListPayouts
SQUAREUP_LIST_PAYOUTS
Retrieves a list of all payouts for the default location. You can filter payouts by location ID, status, time range, and order them in ascending or descending order. To call this endpoint, set `PAYOUTS_READ` for the OAuth scope.
Payouts
ListPayoutEntries
SQUAREUP_LIST_PAYOUT_ENTRIES
Retrieves a list of all payout entries for a specific payout. To call this endpoint, set `PAYOUTS_READ` for the OAuth scope.
Payouts
ListSites
SQUAREUP_LIST_SITES
Lists the Square Online sites that belong to a seller. Sites are listed in descending order by the `created_at` date. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).
Sites
ListSubscriptionEvents
SQUAREUP_LIST_SUBSCRIPTION_EVENTS
Lists all [events](https://developer.squareup.com/docs/subscriptions-api/actions-events) for a specific subscription.
Subscriptions
ListTeamMemberBookingProfiles
SQUAREUP_LIST_TEAM_MEMBER_BOOKING_PROFILES
Lists booking profiles for team members.
Bookings
ListTeamMemberWages
SQUAREUP_LIST_TEAM_MEMBER_WAGES
Returns a paginated list of `TeamMemberWage` instances for a business.
Labor
ListTransactions
SQUAREUP_LIST_TRANSACTIONS
Lists transactions for a particular location. Transactions include payment information from sales and exchanges and refund information from returns and exchanges. Max results per [page](https://developer.squareup.com/docs/working-with-apis/pagination): 50
Transactions
ListWebhookEventTypes
SQUAREUP_LIST_WEBHOOK_EVENT_TYPES
Lists all webhook event types that can be subscribed to.
WebhookSubscriptions
ListWebhookSubscriptions
SQUAREUP_LIST_WEBHOOK_SUBSCRIPTIONS
Lists all webhook subscriptions owned by your application.
WebhookSubscriptions
ListWorkweekConfigs
SQUAREUP_LIST_WORKWEEK_CONFIGS
Returns a list of `WorkweekConfig` instances for a business.
Labor
ObtainToken
SQUAREUP_OBTAIN_TOKEN
Returns an OAuth access token and refresh token using the `authorization_code` or `refresh_token` grant type. When `grant_type` is `authorization_code`: - With the [code flow](https://developer.squareup.com/docs/oauth-api/overview#code-flow), provide `code`, `client_id`, and `client_secret`. - With the [PKCE flow](https://developer.squareup.com/docs/oauth-api/overview#pkce-flow), provide `code`, `client_id`, and `code_verifier`. When `grant_type` is `refresh_token`: - With the code flow, provide `refresh_token`, `client_id`, and `client_secret`. The response returns the same refresh token provided in the request. - With the PKCE flow, provide `refresh_token` and `client_id`. The response returns a new refresh token. You can use the `scopes` parameter to limit the set of permissions authorized by the access token. You can use the `short_lived` parameter to create an access token that expires in 24 hours. __Important:__ OAuth tokens should be encrypted and stored on a secure server. Application clients should never interact directly with OAuth tokens.
OAuth
PauseSubscription
SQUAREUP_PAUSE_SUBSCRIPTION
Schedules a `PAUSE` action to pause an active subscription.
Subscriptions
PayOrder
SQUAREUP_PAY_ORDER
Pay for an [order](entity:Order) using one or more approved [payments](entity:Payment) or settle an order with a total of `0`. The total of the `payment_ids` listed in the request must be equal to the order total. Orders with a total amount of `0` can be marked as paid by specifying an empty array of `payment_ids` in the request. To be used with `PayOrder`, a payment must: - Reference the order by specifying the `order_id` when [creating the payment](api-endpoint:Payments-CreatePayment). Any approved payments that reference the same `order_id` not specified in the `payment_ids` is canceled. - Be approved with [delayed capture](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture). Using a delayed capture payment with `PayOrder` completes the approved payment.
Orders
PublishInvoice
SQUAREUP_PUBLISH_INVOICE
Publishes the specified draft invoice. After an invoice is published, Square follows up based on the invoice configuration. For example, Square sends the invoice to the customer's email address, charges the customer's card on file, or does nothing. Square also makes the invoice available on a Square-hosted invoice page. The invoice `status` also changes from `DRAFT` to a status based on the invoice configuration. For example, the status changes to `UNPAID` if Square emails the invoice or `PARTIALLY_PAID` if Square charges a card on file for a portion of the invoice amount. In addition to the required `ORDERS_WRITE` and `INVOICES_WRITE` permissions, `CUSTOMERS_READ` and `PAYMENTS_WRITE` are required when publishing invoices configured for card-on-file payments.
Invoices
PublishScheduledShift
SQUAREUP_PUBLISH_SCHEDULED_SHIFT
Publishes a scheduled shift. When a scheduled shift is published, Square keeps the `draft_shift_details` field as is and copies it to the `published_shift_details` field.
Labor
ReceiveTransferOrder
SQUAREUP_RECEIVE_TRANSFER_ORDER
Records receipt of [CatalogItemVariation](entity:CatalogItemVariation)s for a transfer order. This endpoint supports partial receiving - you can receive items in multiple batches. For each line item, you can specify: - Quantity received in good condition (added to destination inventory with [InventoryState](entity:InventoryState) of IN_STOCK) - Quantity damaged during transit/handling (added to destination inventory with [InventoryState](entity:InventoryState) of WASTE) - Quantity canceled (returned to source location's inventory) The order must be in [STARTED](entity:TransferOrderStatus) or [PARTIALLY_RECEIVED](entity:TransferOrderStatus) status. Received quantities are added to the destination [Location](entity:Location)'s inventory according to their condition. Canceled quantities are immediately returned to the source [Location](entity:Location)'s inventory. When all items are either received, damaged, or canceled, the order moves to [COMPLETED](entity:TransferOrderStatus) status. Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.
TransferOrder
RedeemLoyaltyReward
SQUAREUP_REDEEM_LOYALTY_REWARD
Redeems a loyalty reward. The endpoint sets the reward to the `REDEEMED` terminal state. If you are using your own order processing system (not using the Orders API), you call this endpoint after the buyer paid for the purchase. After the reward reaches the terminal state, it cannot be deleted. In other words, points used for the reward cannot be returned to the account.
Loyalty
RefundPayment
SQUAREUP_REFUND_PAYMENT
Refunds a payment. You can refund the entire payment amount or a portion of it. You can use this endpoint to refund a card payment or record a refund of a cash or external payment. For more information, see [Refund Payment](https://developer.squareup.com/docs/payments-api/refund-payments).
Refunds
RegisterDomain
SQUAREUP_REGISTER_DOMAIN
Activates a domain for use with Apple Pay on the Web and Square. A validation is performed on this domain by Apple to ensure that it is properly set up as an Apple Pay enabled domain. This endpoint provides an easy way for platform developers to bulk activate Apple Pay on the Web with Square for merchants using their platform. Note: You will need to host a valid domain verification file on your domain to support Apple Pay. The current version of this file is always available at https://app.squareup.com/digital-wallets/apple-pay/apple-developer-merchantid-domain-association, and should be hosted at `.well_known/apple-developer-merchantid-domain-association` on your domain. This file is subject to change; we strongly recommend checking for updates regularly and avoiding long-lived caches that might not keep in sync with the correct file version. To learn more about the Web Payments SDK and how to add Apple Pay, see [Take an Apple Pay Payment](https://developer.squareup.com/docs/web-payments/apple-pay).
ApplePay
RemoveGroupFromCustomer
SQUAREUP_REMOVE_GROUP_FROM_CUSTOMER
Removes a group membership from a customer. The customer is identified by the `customer_id` value and the customer group is identified by the `group_id` value.
Customers
ResumeSubscription
SQUAREUP_RESUME_SUBSCRIPTION
Schedules a `RESUME` action to resume a paused or a deactivated subscription.
Subscriptions
RetrieveBooking
SQUAREUP_RETRIEVE_BOOKING
Retrieves a booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
Bookings
RetrieveBookingCustomAttribute
SQUAREUP_RETRIEVE_BOOKING_CUSTOM_ATTRIBUTE
Retrieves a bookings custom attribute. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
BookingCustomAttributes
RetrieveBookingCustomAttributeDefinition
SQUAREUP_RETRIEVE_BOOKING_CUSTOM_ATTRIBUTE_DEFINITION
Retrieves a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
BookingCustomAttributes
RetrieveBusinessBookingProfile
SQUAREUP_RETRIEVE_BUSINESS_BOOKING_PROFILE
Retrieves a seller's booking profile.
Bookings
RetrieveCard
SQUAREUP_RETRIEVE_CARD
Retrieves details for a specific Card.
Cards
RetrieveCashDrawerShift
SQUAREUP_RETRIEVE_CASH_DRAWER_SHIFT
Provides the summary details for a single cash drawer shift. See [ListCashDrawerShiftEvents](api-endpoint:CashDrawers-ListCashDrawerShiftEvents) for a list of cash drawer shift events.
CashDrawers
RetrieveCatalogObject
SQUAREUP_RETRIEVE_CATALOG_OBJECT
Returns a single [CatalogItem](entity:CatalogItem) as a [CatalogObject](entity:CatalogObject) based on the provided ID. The returned object includes all of the relevant [CatalogItem](entity:CatalogItem) information including: [CatalogItemVariation](entity:CatalogItemVariation) children, references to its [CatalogModifierList](entity:CatalogModifierList) objects, and the ids of any [CatalogTax](entity:CatalogTax) objects that apply to it.
Catalog
RetrieveChannel
SQUAREUP_RETRIEVE_CHANNEL
RetrieveChannel
Channels
RetrieveCustomer
SQUAREUP_RETRIEVE_CUSTOMER
Returns details for a single customer.
Customers
RetrieveCustomerCustomAttribute
SQUAREUP_RETRIEVE_CUSTOMER_CUSTOM_ATTRIBUTE
Retrieves a [custom attribute](entity:CustomAttribute) associated with a customer profile. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
CustomerCustomAttributes
RetrieveCustomerCustomAttributeDefinition
SQUAREUP_RETRIEVE_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITION
Retrieves a customer-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
CustomerCustomAttributes
RetrieveCustomerGroup
SQUAREUP_RETRIEVE_CUSTOMER_GROUP
Retrieves a specific customer group as identified by the `group_id` value.
CustomerGroups
RetrieveCustomerSegment
SQUAREUP_RETRIEVE_CUSTOMER_SEGMENT
Retrieves a specific customer segment as identified by the `segment_id` value.
CustomerSegments
RetrieveDispute
SQUAREUP_RETRIEVE_DISPUTE
Returns details about a specific dispute.
Disputes
RetrieveDisputeEvidence
SQUAREUP_RETRIEVE_DISPUTE_EVIDENCE
Returns the metadata for the evidence specified in the request URL path. You must maintain a copy of any evidence uploaded if you want to reference it later. Evidence cannot be downloaded after you upload it.
Disputes
RetrieveEmployee
SQUAREUP_RETRIEVE_EMPLOYEE
RetrieveEmployee
Employees
RetrieveGiftCard
SQUAREUP_RETRIEVE_GIFT_CARD
Retrieves a gift card using the gift card ID.
GiftCards
RetrieveGiftCardFromGAN
SQUAREUP_RETRIEVE_GIFT_CARD_FROM_GAN
Retrieves a gift card using the gift card account number (GAN).
GiftCards
RetrieveGiftCardFromNonce
SQUAREUP_RETRIEVE_GIFT_CARD_FROM_NONCE
Retrieves a gift card using a secure payment token that represents the gift card.
GiftCards
RetrieveInventoryAdjustment
SQUAREUP_RETRIEVE_INVENTORY_ADJUSTMENT
Returns the [InventoryAdjustment](entity:InventoryAdjustment) object with the provided `adjustment_id`.
Inventory
RetrieveInventoryChanges
SQUAREUP_RETRIEVE_INVENTORY_CHANGES
Returns a set of physical counts and inventory adjustments for the provided [CatalogObject](entity:CatalogObject) at the requested [Location](entity:Location)s. You can achieve the same result by calling [BatchRetrieveInventoryChanges](api-endpoint:Inventory-BatchRetrieveInventoryChanges) and having the `catalog_object_ids` list contain a single element of the `CatalogObject` ID. Results are paginated and sorted in descending order according to their `occurred_at` timestamp (newest first). There are no limits on how far back the caller can page. This endpoint can be used to display recent changes for a specific item. For more sophisticated queries, use a batch endpoint.
Inventory
RetrieveInventoryCount
SQUAREUP_RETRIEVE_INVENTORY_COUNT
Retrieves the current calculated stock count for a given [CatalogObject](entity:CatalogObject) at a given set of [Location](entity:Location)s. Responses are paginated and unsorted. For more sophisticated queries, use a batch endpoint.
Inventory
RetrieveInventoryPhysicalCount
SQUAREUP_RETRIEVE_INVENTORY_PHYSICAL_COUNT
Returns the [InventoryPhysicalCount](entity:InventoryPhysicalCount) object with the provided `physical_count_id`.
Inventory
RetrieveInventoryTransfer
SQUAREUP_RETRIEVE_INVENTORY_TRANSFER
Returns the [InventoryTransfer](entity:InventoryTransfer) object with the provided `transfer_id`.
Inventory
RetrieveJob
SQUAREUP_RETRIEVE_JOB
Retrieves a specified job.
Team
RetrieveLocation
SQUAREUP_RETRIEVE_LOCATION
Retrieves details of a single location. Specify "main" as the location ID to retrieve details of the [main location](https://developer.squareup.com/docs/locations-api#about-the-main-location).
Locations
RetrieveLocationBookingProfile
SQUAREUP_RETRIEVE_LOCATION_BOOKING_PROFILE
Retrieves a seller's location booking profile.
Bookings
RetrieveLocationCustomAttribute
SQUAREUP_RETRIEVE_LOCATION_CUSTOM_ATTRIBUTE
Retrieves a [custom attribute](entity:CustomAttribute) associated with a location. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
LocationCustomAttributes
RetrieveLocationCustomAttributeDefinition
SQUAREUP_RETRIEVE_LOCATION_CUSTOM_ATTRIBUTE_DEFINITION
Retrieves a location-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
LocationCustomAttributes
RetrieveLocationSettings
SQUAREUP_RETRIEVE_LOCATION_SETTINGS
Retrieves the location-level settings for a Square-hosted checkout page.
Checkout
RetrieveLoyaltyAccount
SQUAREUP_RETRIEVE_LOYALTY_ACCOUNT
Retrieves a loyalty account.
Loyalty
RetrieveLoyaltyProgram
SQUAREUP_RETRIEVE_LOYALTY_PROGRAM
Retrieves the loyalty program in a seller's account, specified by the program ID or the keyword `main`. Loyalty programs define how buyers can earn points and redeem points for rewards. Square sellers can have only one loyalty program, which is created and managed from the Seller Dashboard. For more information, see [Loyalty Program Overview](https://developer.squareup.com/docs/loyalty/overview).
Loyalty
RetrieveLoyaltyPromotion
SQUAREUP_RETRIEVE_LOYALTY_PROMOTION
Retrieves a loyalty promotion.
Loyalty
RetrieveLoyaltyReward
SQUAREUP_RETRIEVE_LOYALTY_REWARD
Retrieves a loyalty reward.
Loyalty
RetrieveMerchant
SQUAREUP_RETRIEVE_MERCHANT
Retrieves the `Merchant` object for the given `merchant_id`.
Merchants
RetrieveMerchantCustomAttribute
SQUAREUP_RETRIEVE_MERCHANT_CUSTOM_ATTRIBUTE
Retrieves a [custom attribute](entity:CustomAttribute) associated with a merchant. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
MerchantCustomAttributes
RetrieveMerchantCustomAttributeDefinition
SQUAREUP_RETRIEVE_MERCHANT_CUSTOM_ATTRIBUTE_DEFINITION
Retrieves a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`.
MerchantCustomAttributes
RetrieveMerchantSettings
SQUAREUP_RETRIEVE_MERCHANT_SETTINGS
Retrieves the merchant-level settings for a Square-hosted checkout page.
Checkout
RetrieveOrder
SQUAREUP_RETRIEVE_ORDER
Retrieves an [Order](entity:Order) by ID.
Orders
RetrieveOrderCustomAttribute
SQUAREUP_RETRIEVE_ORDER_CUSTOM_ATTRIBUTE
Retrieves a [custom attribute](entity:CustomAttribute) associated with an order. You can use the `with_definition` query parameter to also retrieve the custom attribute definition in the same call. To retrieve a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
OrderCustomAttributes
RetrieveOrderCustomAttributeDefinition
SQUAREUP_RETRIEVE_ORDER_CUSTOM_ATTRIBUTE_DEFINITION
Retrieves an order-related [custom attribute definition](entity:CustomAttributeDefinition) from a Square seller account. To retrieve a custom attribute definition created by another application, the `visibility` setting must be `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
OrderCustomAttributes
RetrieveScheduledShift
SQUAREUP_RETRIEVE_SCHEDULED_SHIFT
Retrieves a scheduled shift by ID.
Labor
RetrieveSnippet
SQUAREUP_RETRIEVE_SNIPPET
Retrieves your snippet from a Square Online site. A site can contain snippets from multiple snippet applications, but you can retrieve only the snippet that was added by your application. You can call [ListSites](api-endpoint:Sites-ListSites) to get the IDs of the sites that belong to a seller. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).
Snippets
RetrieveSubscription
SQUAREUP_RETRIEVE_SUBSCRIPTION
Retrieves a specific subscription.
Subscriptions
RetrieveTeamMember
SQUAREUP_RETRIEVE_TEAM_MEMBER
Retrieves a `TeamMember` object for the given `TeamMember.id`. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#retrieve-a-team-member).
Team
RetrieveTeamMemberBookingProfile
SQUAREUP_RETRIEVE_TEAM_MEMBER_BOOKING_PROFILE
Retrieves a team member's booking profile.
Bookings
RetrieveTimecard
SQUAREUP_RETRIEVE_TIMECARD
Returns a single `Timecard` specified by `id`.
Labor
RetrieveTokenStatus
SQUAREUP_RETRIEVE_TOKEN_STATUS
Returns information about an [OAuth access token](https://developer.squareup.com/docs/build-basics/access-tokens#get-an-oauth-access-token) or an application’s [personal access token](https://developer.squareup.com/docs/build-basics/access-tokens#get-a-personal-access-token). Add the access token to the Authorization header of the request. __Important:__ The `Authorization` header you provide to this endpoint must have the following format: ``` Authorization: Bearer ACCESS_TOKEN ``` where `ACCESS_TOKEN` is a [valid production authorization credential](https://developer.squareup.com/docs/build-basics/access-tokens). If the access token is expired or not a valid access token, the endpoint returns an `UNAUTHORIZED` error.
OAuth
RetrieveTransaction
SQUAREUP_RETRIEVE_TRANSACTION
Retrieves details for a single transaction.
Transactions
RetrieveTransferOrder
SQUAREUP_RETRIEVE_TRANSFER_ORDER
Retrieves a specific [TransferOrder](entity:TransferOrder) by ID. Returns the complete order details including: - Basic information (status, dates, notes) - Line items with ordered and received quantities - Source and destination [Location](entity:Location)s - Tracking information (if available)
TransferOrder
RetrieveVendor
SQUAREUP_RETRIEVE_VENDOR
Retrieves the vendor of a specified [Vendor](entity:Vendor) ID.
Vendors
RetrieveWageSetting
SQUAREUP_RETRIEVE_WAGE_SETTING
Retrieves a `WageSetting` object for a team member specified by `TeamMember.id`. For more information, see [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#retrievewagesetting). Square recommends using [RetrieveTeamMember](api-endpoint:Team-RetrieveTeamMember) or [SearchTeamMembers](api-endpoint:Team-SearchTeamMembers) to get this information directly from the `TeamMember.wage_setting` field.
Team
RetrieveWebhookSubscription
SQUAREUP_RETRIEVE_WEBHOOK_SUBSCRIPTION
Retrieves a webhook subscription identified by its ID.
WebhookSubscriptions
RevokeToken
SQUAREUP_REVOKE_TOKEN
Revokes an access token generated with the OAuth flow. If an account has more than one OAuth access token for your application, this endpoint revokes all of them, regardless of which token you specify. __Important:__ The `Authorization` header for this endpoint must have the following format: ``` Authorization: Client APPLICATION_SECRET ``` Replace `APPLICATION_SECRET` with the application secret on the **OAuth** page for your application in the Developer Dashboard.
OAuth
SearchAvailability
SQUAREUP_SEARCH_AVAILABILITY
Searches for availabilities for booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_READ` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_READ` and `APPOINTMENTS_READ` for the OAuth scope.
Bookings
SearchCatalogItems
SQUAREUP_SEARCH_CATALOG_ITEMS
Searches for catalog items or item variations by matching supported search attribute values, including custom attribute values, against one or more of the specified query filters. This (`SearchCatalogItems`) endpoint differs from the [SearchCatalogObjects](api-endpoint:Catalog-SearchCatalogObjects) endpoint in the following aspects: - `SearchCatalogItems` can only search for items or item variations, whereas `SearchCatalogObjects` can search for any type of catalog objects. - `SearchCatalogItems` supports the custom attribute query filters to return items or item variations that contain custom attribute values, where `SearchCatalogObjects` does not. - `SearchCatalogItems` does not support the `include_deleted_objects` filter to search for deleted items or item variations, whereas `SearchCatalogObjects` does. - The both endpoints use different call conventions, including the query filter formats.
Catalog
SearchCatalogObjects
SQUAREUP_SEARCH_CATALOG_OBJECTS
Searches for [CatalogObject](entity:CatalogObject) of any type by matching supported search attribute values, excluding custom attribute values on items or item variations, against one or more of the specified query filters. This (`SearchCatalogObjects`) endpoint differs from the [SearchCatalogItems](api-endpoint:Catalog-SearchCatalogItems) endpoint in the following aspects: - `SearchCatalogItems` can only search for items or item variations, whereas `SearchCatalogObjects` can search for any type of catalog objects. - `SearchCatalogItems` supports the custom attribute query filters to return items or item variations that contain custom attribute values, where `SearchCatalogObjects` does not. - `SearchCatalogItems` does not support the `include_deleted_objects` filter to search for deleted items or item variations, whereas `SearchCatalogObjects` does. - The both endpoints have different call conventions, including the query filter formats.
Catalog
SearchCustomers
SQUAREUP_SEARCH_CUSTOMERS
Searches the customer profiles associated with a Square account using one or more supported query filters. Calling `SearchCustomers` without any explicit query filter returns all customer profiles ordered alphabetically based on `given_name` and `family_name`. Under normal operating conditions, newly created or updated customer profiles become available for the search operation in well under 30 seconds. Occasionally, propagation of the new or updated profiles can take closer to one minute or longer, especially during network incidents and outages.
Customers
SearchEvents
SQUAREUP_SEARCH_EVENTS
Search for Square API events that occur within a 28-day timeframe.
Events
SearchInvoices
SQUAREUP_SEARCH_INVOICES
Searches for invoices from a location specified in the filter. You can optionally specify customers in the filter for whom to retrieve invoices. In the current implementation, you can only specify one location and optionally one customer. The response is paginated. If truncated, the response includes a `cursor` that you use in a subsequent request to retrieve the next set of invoices.
Invoices
SearchLoyaltyAccounts
SQUAREUP_SEARCH_LOYALTY_ACCOUNTS
Searches for loyalty accounts in a loyalty program. You can search for a loyalty account using the phone number or customer ID associated with the account. To return all loyalty accounts, specify an empty `query` object or omit it entirely. Search results are sorted by `created_at` in ascending order.
Loyalty
SearchLoyaltyEvents
SQUAREUP_SEARCH_LOYALTY_EVENTS
Searches for loyalty events. A Square loyalty program maintains a ledger of events that occur during the lifetime of a buyer's loyalty account. Each change in the point balance (for example, points earned, points redeemed, and points expired) is recorded in the ledger. Using this endpoint, you can search the ledger for events. Search results are sorted by `created_at` in descending order.
Loyalty
SearchLoyaltyRewards
SQUAREUP_SEARCH_LOYALTY_REWARDS
Searches for loyalty rewards. This endpoint accepts a request with no query filters and returns results for all loyalty accounts. If you include a `query` object, `loyalty_account_id` is required and `status` is optional. If you know a reward ID, use the [RetrieveLoyaltyReward](api-endpoint:Loyalty-RetrieveLoyaltyReward) endpoint. Search results are sorted by `updated_at` in descending order.
Loyalty
SearchOrders
SQUAREUP_SEARCH_ORDERS
Search all orders for one or more locations. Orders include all sales, returns, and exchanges regardless of how or when they entered the Square ecosystem (such as Point of Sale, Invoices, and Connect APIs). `SearchOrders` requests need to specify which locations to search and define a [SearchOrdersQuery](entity:SearchOrdersQuery) object that controls how to sort or filter the results. Your `SearchOrdersQuery` can: Set filter criteria. Set the sort order. Determine whether to return results as complete `Order` objects or as [OrderEntry](entity:OrderEntry) objects. Note that details for orders processed with Square Point of Sale while in offline mode might not be transmitted to Square for up to 72 hours. Offline orders have a `created_at` value that reflects the time the order was created, not the time it was subsequently transmitted to Square.
Orders
SearchScheduledShifts
SQUAREUP_SEARCH_SCHEDULED_SHIFTS
Returns a paginated list of scheduled shifts, with optional filter and sort settings. By default, results are sorted by `start_at` in ascending order.
Labor
SearchShifts
SQUAREUP_SEARCH_SHIFTS
Returns a paginated list of `Shift` records for a business. The list to be returned can be filtered by: - Location IDs - Team member IDs - Shift status (`OPEN` or `CLOSED`) - Shift start - Shift end - Workday details The list can be sorted by: - `START_AT` - `END_AT` - `CREATED_AT` - `UPDATED_AT`
Labor
SearchSubscriptions
SQUAREUP_SEARCH_SUBSCRIPTIONS
Searches for subscriptions. Results are ordered chronologically by subscription creation date. If the request specifies more than one location ID, the endpoint orders the result by location ID, and then by creation date within each location. If no locations are given in the query, all locations are searched. You can also optionally specify `customer_ids` to search by customer. If left unset, all customers associated with the specified locations are returned. If the request specifies customer IDs, the endpoint orders results first by location, within location by customer ID, and within customer by subscription creation date.
Subscriptions
SearchTeamMembers
SQUAREUP_SEARCH_TEAM_MEMBERS
Returns a paginated list of `TeamMember` objects for a business. The list can be filtered by location IDs, `ACTIVE` or `INACTIVE` status, or whether the team member is the Square account owner.
Team
SearchTerminalActions
SQUAREUP_SEARCH_TERMINAL_ACTIONS
Retrieves a filtered list of Terminal action requests created by the account making the request. Terminal action requests are available for 30 days.
Terminal
SearchTerminalCheckouts
SQUAREUP_SEARCH_TERMINAL_CHECKOUTS
Returns a filtered list of Terminal checkout requests created by the application making the request. Only Terminal checkout requests created for the merchant scoped to the OAuth token are returned. Terminal checkout requests are available for 30 days.
Terminal
SearchTerminalRefunds
SQUAREUP_SEARCH_TERMINAL_REFUNDS
Retrieves a filtered list of Interac Terminal refund requests created by the seller making the request. Terminal refund requests are available for 30 days.
Terminal
SearchTimecards
SQUAREUP_SEARCH_TIMECARDS
Returns a paginated list of `Timecard` records for a business. The list to be returned can be filtered by: - Location IDs - Team member IDs - Timecard status (`OPEN` or `CLOSED`) - Timecard start - Timecard end - Workday details The list can be sorted by: - `START_AT` - `END_AT` - `CREATED_AT` - `UPDATED_AT`
Labor
SearchTransferOrders
SQUAREUP_SEARCH_TRANSFER_ORDERS
Searches for transfer orders using filters. Returns a paginated list of matching [TransferOrder](entity:TransferOrder)s sorted by creation date. Common search scenarios: - Find orders for a source [Location](entity:Location) - Find orders for a destination [Location](entity:Location) - Find orders in a particular [TransferOrderStatus](entity:TransferOrderStatus)
TransferOrder
SearchVendors
SQUAREUP_SEARCH_VENDORS
Searches for vendors using a filter against supported [Vendor](entity:Vendor) properties and a supported sorter.
Vendors
StartTransferOrder
SQUAREUP_START_TRANSFER_ORDER
Changes a [DRAFT](entity:TransferOrderStatus) transfer order to [STARTED](entity:TransferOrderStatus) status. This decrements inventory at the source [Location](entity:Location) and marks it as in-transit. The order must be in [DRAFT](entity:TransferOrderStatus) status and have all required fields populated. Once started, the order can no longer be deleted, but it can be canceled via [CancelTransferOrder](api-endpoint:TransferOrders-CancelTransferOrder). Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.
TransferOrder
SubmitEvidence
SQUAREUP_SUBMIT_EVIDENCE
Submits evidence to the cardholder's bank. The evidence submitted by this endpoint includes evidence uploaded using the [CreateDisputeEvidenceFile](api-endpoint:Disputes-CreateDisputeEvidenceFile) and [CreateDisputeEvidenceText](api-endpoint:Disputes-CreateDisputeEvidenceText) endpoints and evidence automatically provided by Square, when available. Evidence cannot be removed from a dispute after submission.
Disputes
SwapPlan
SQUAREUP_SWAP_PLAN
Schedules a `SWAP_PLAN` action to swap a subscription plan variation in an existing subscription. For more information, see [Swap Subscription Plan Variations](https://developer.squareup.com/docs/subscriptions-api/swap-plan-variations).
Subscriptions
TestWebhookSubscription
SQUAREUP_TEST_WEBHOOK_SUBSCRIPTION
Tests a webhook subscription by sending a test event to the notification URL.
WebhookSubscriptions
UpdateBooking
SQUAREUP_UPDATE_BOOKING
Updates a booking. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
Bookings
UpdateBookingCustomAttributeDefinition
SQUAREUP_UPDATE_BOOKING_CUSTOM_ATTRIBUTE_DEFINITION
Updates a bookings custom attribute definition. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
BookingCustomAttributes
UpdateBreakType
SQUAREUP_UPDATE_BREAK_TYPE
Updates an existing `BreakType`.
Labor
UpdateCustomer
SQUAREUP_UPDATE_CUSTOMER
Updates a customer profile. This endpoint supports sparse updates, so only new or changed fields are required in the request. To add or update a field, specify the new value. To remove a field, specify `null`. To update a customer profile that was created by merging existing profiles, you must use the ID of the newly created profile.
Customers
UpdateCustomerCustomAttributeDefinition
SQUAREUP_UPDATE_CUSTOMER_CUSTOM_ATTRIBUTE_DEFINITION
Updates a customer-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to update the following fields: `name`, `description`, `visibility`, or the `schema` for a `Selection` data type. Only the definition owner can update a custom attribute definition. Note that sellers can view all custom attributes in exported customer data, including those set to `VISIBILITY_HIDDEN`.
CustomerCustomAttributes
UpdateCustomerGroup
SQUAREUP_UPDATE_CUSTOMER_GROUP
Updates a customer group as identified by the `group_id` value.
CustomerGroups
UpdateInvoice
SQUAREUP_UPDATE_INVOICE
Updates an invoice. This endpoint supports sparse updates, so you only need to specify the fields you want to change along with the required `version` field. Some restrictions apply to updating invoices. For example, you cannot change the `order_id` or `location_id` field.
Invoices
UpdateItemModifierLists
SQUAREUP_UPDATE_ITEM_MODIFIER_LISTS
Updates the [CatalogModifierList](entity:CatalogModifierList) objects that apply to the targeted [CatalogItem](entity:CatalogItem) without having to perform an upsert on the entire item.
Catalog
UpdateItemTaxes
SQUAREUP_UPDATE_ITEM_TAXES
Updates the [CatalogTax](entity:CatalogTax) objects that apply to the targeted [CatalogItem](entity:CatalogItem) without having to perform an upsert on the entire item.
Catalog
UpdateJob
SQUAREUP_UPDATE_JOB
Updates the title or tip eligibility of a job. Changes to the title propagate to all `JobAssignment`, `Shift`, and `TeamMemberWage` objects that reference the job ID. Changes to tip eligibility propagate to all `TeamMemberWage` objects that reference the job ID.
Team
UpdateLocation
SQUAREUP_UPDATE_LOCATION
Updates a [location](https://developer.squareup.com/docs/locations-api).
Locations
UpdateLocationCustomAttributeDefinition
SQUAREUP_UPDATE_LOCATION_CUSTOM_ATTRIBUTE_DEFINITION
Updates a location-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to update the following fields: `name`, `description`, `visibility`, or the `schema` for a `Selection` data type. Only the definition owner can update a custom attribute definition.
LocationCustomAttributes
UpdateLocationSettings
SQUAREUP_UPDATE_LOCATION_SETTINGS
Updates the location-level settings for a Square-hosted checkout page.
Checkout
UpdateMerchantCustomAttributeDefinition
SQUAREUP_UPDATE_MERCHANT_CUSTOM_ATTRIBUTE_DEFINITION
Updates a merchant-related [custom attribute definition](entity:CustomAttributeDefinition) for a Square seller account. Use this endpoint to update the following fields: `name`, `description`, `visibility`, or the `schema` for a `Selection` data type. Only the definition owner can update a custom attribute definition.
MerchantCustomAttributes
UpdateMerchantSettings
SQUAREUP_UPDATE_MERCHANT_SETTINGS
Updates the merchant-level settings for a Square-hosted checkout page.
Checkout
UpdateOrder
SQUAREUP_UPDATE_ORDER
Updates an open [order](entity:Order) by adding, replacing, or deleting fields. Orders with a `COMPLETED` or `CANCELED` state cannot be updated. An `UpdateOrder` request requires the following: - The `order_id` in the endpoint path, identifying the order to update. - The latest `version` of the order to update. - The [sparse order](https://developer.squareup.com/docs/orders-api/manage-orders/update-orders#sparse-order-objects) containing only the fields to update and the version to which the update is being applied. - If deleting fields, the [dot notation paths](https://developer.squareup.com/docs/orders-api/manage-orders/update-orders#identifying-fields-to-delete) identifying the fields to clear. To pay for an order, see [Pay for Orders](https://developer.squareup.com/docs/orders-api/pay-for-orders).
Orders
UpdateOrderCustomAttributeDefinition
SQUAREUP_UPDATE_ORDER_CUSTOM_ATTRIBUTE_DEFINITION
Updates an order-related custom attribute definition for a Square seller account. Only the definition owner can update a custom attribute definition. Note that sellers can view all custom attributes in exported customer data, including those set to `VISIBILITY_HIDDEN`.
OrderCustomAttributes
UpdatePayment
SQUAREUP_UPDATE_PAYMENT
Updates a payment with the APPROVED status. You can update the `amount_money` and `tip_money` using this endpoint.
Payments
UpdateScheduledShift
SQUAREUP_UPDATE_SCHEDULED_SHIFT
Updates the draft shift details for a scheduled shift. This endpoint supports sparse updates, so only new, changed, or removed fields are required in the request. You must publish the shift to make updates public. You can make the following updates to `draft_shift_details`: - Change the `location_id`, `job_id`, `start_at`, and `end_at` fields. - Add, change, or clear the `team_member_id` and `notes` fields. To clear these fields, set the value to null. - Change the `is_deleted` field. To delete a scheduled shift, set `is_deleted` to true and then publish the shift.
Labor
UpdateShift
SQUAREUP_UPDATE_SHIFT
Updates an existing `Shift`. When adding a `Break` to a `Shift`, any earlier `Break` instances in the `Shift` have the `end_at` property set to a valid RFC-3339 datetime string. When closing a `Shift`, all `Break` instances in the `Shift` must be complete with `end_at` set on each `Break`.
Labor
UpdateSubscription
SQUAREUP_UPDATE_SUBSCRIPTION
Updates a subscription by modifying or clearing `subscription` field values. To clear a field, set its value to `null`.
Subscriptions
UpdateTeamMember
SQUAREUP_UPDATE_TEAM_MEMBER
Updates a single `TeamMember` object. The `TeamMember` object is returned on successful updates. Learn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#update-a-team-member).
Team
UpdateTimecard
SQUAREUP_UPDATE_TIMECARD
Updates an existing `Timecard`. When adding a `Break` to a `Timecard`, any earlier `Break` instances in the `Timecard` have the `end_at` property set to a valid RFC-3339 datetime string. When closing a `Timecard`, all `Break` instances in the `Timecard` must be complete with `end_at` set on each `Break`.
Labor
UpdateTransferOrder
SQUAREUP_UPDATE_TRANSFER_ORDER
Updates an existing transfer order. This endpoint supports sparse updates, allowing you to modify specific fields without affecting others. Creates a [transfer_order.updated](webhook:transfer_order.updated) webhook event.
TransferOrder
UpdateVendor
SQUAREUP_UPDATE_VENDOR
Updates an existing [Vendor](entity:Vendor) object as a supplier to a seller.
Vendors
UpdateWageSetting
SQUAREUP_UPDATE_WAGE_SETTING
Creates or updates a `WageSetting` object. The object is created if a `WageSetting` with the specified `team_member_id` doesn't exist. Otherwise, it fully replaces the `WageSetting` object for the team member. The `WageSetting` is returned on a successful update. For more information, see [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#create-or-update-a-wage-setting). Square recommends using [CreateTeamMember](api-endpoint:Team-CreateTeamMember) or [UpdateTeamMember](api-endpoint:Team-UpdateTeamMember) to manage the `TeamMember.wage_setting` field directly.
Team
UpdateWebhookSubscription
SQUAREUP_UPDATE_WEBHOOK_SUBSCRIPTION
Updates a webhook subscription.
WebhookSubscriptions
UpdateWebhookSubscriptionSignatureKey
SQUAREUP_UPDATE_WEBHOOK_SUBSCRIPTION_SIGNATURE_KEY
Updates a webhook subscription by replacing the existing signature key with a new one.
WebhookSubscriptions
UpdateWorkweekConfig
SQUAREUP_UPDATE_WORKWEEK_CONFIG
Updates a `WorkweekConfig`.
Labor
UpsertBookingCustomAttribute
SQUAREUP_UPSERT_BOOKING_CUSTOM_ATTRIBUTE
Upserts a bookings custom attribute. To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope. To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope. For calls to this endpoint with seller-level permissions to succeed, the seller must have subscribed to *Appointments Plus* or *Appointments Premium*.
BookingCustomAttributes
UpsertCatalogObject
SQUAREUP_UPSERT_CATALOG_OBJECT
Creates a new or updates the specified [CatalogObject](entity:CatalogObject). To ensure consistency, only one update request is processed at a time per seller account. While one (batch or non-batch) update request is being processed, other (batched and non-batched) update requests are rejected with the `429` error code.
Catalog
UpsertCustomerCustomAttribute
SQUAREUP_UPSERT_CUSTOMER_CUSTOM_ATTRIBUTE
Creates or updates a [custom attribute](entity:CustomAttribute) for a customer profile. Use this endpoint to set the value of a custom attribute for a specified customer profile. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-CreateCustomerCustomAttributeDefinition) endpoint. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
CustomerCustomAttributes
UpsertLocationCustomAttribute
SQUAREUP_UPSERT_LOCATION_CUSTOM_ATTRIBUTE
Creates or updates a [custom attribute](entity:CustomAttribute) for a location. Use this endpoint to set the value of a custom attribute for a specified location. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateLocationCustomAttributeDefinition](api-endpoint:LocationCustomAttributes-CreateLocationCustomAttributeDefinition) endpoint. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
LocationCustomAttributes
UpsertMerchantCustomAttribute
SQUAREUP_UPSERT_MERCHANT_CUSTOM_ATTRIBUTE
Creates or updates a [custom attribute](entity:CustomAttribute) for a merchant. Use this endpoint to set the value of a custom attribute for a specified merchant. A custom attribute is based on a custom attribute definition in a Square seller account, which is created using the [CreateMerchantCustomAttributeDefinition](api-endpoint:MerchantCustomAttributes-CreateMerchantCustomAttributeDefinition) endpoint. To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`.
MerchantCustomAttributes
UpsertOrderCustomAttribute
SQUAREUP_UPSERT_ORDER_CUSTOM_ATTRIBUTE
Creates or updates a [custom attribute](entity:CustomAttribute) for an order. Use this endpoint to set the value of a custom attribute for a specific order. A custom attribute is based on a custom attribute definition in a Square seller account. (To create a custom attribute definition, use the [CreateOrderCustomAttributeDefinition](api-endpoint:OrderCustomAttributes-CreateOrderCustomAttributeDefinition) endpoint.) To create or update a custom attribute owned by another application, the `visibility` setting must be `VISIBILITY_READ_WRITE_VALUES`. Note that seller-defined custom attributes (also known as custom fields) are always set to `VISIBILITY_READ_WRITE_VALUES`.
OrderCustomAttributes
UpsertSnippet
SQUAREUP_UPSERT_SNIPPET
Adds a snippet to a Square Online site or updates the existing snippet on the site. The snippet code is appended to the end of the `head` element on every page of the site, except checkout pages. A snippet application can add one snippet to a given site. You can call [ListSites](api-endpoint:Sites-ListSites) to get the IDs of the sites that belong to a seller. __Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis).
Snippets
V1ListOrders
SQUAREUP_V1_LIST_ORDERS
Provides summary information for a merchant's online store orders.
V1Transactions
V1RetrieveOrder
SQUAREUP_V1_RETRIEVE_ORDER
Provides comprehensive information for a single online store order, including the order's history.
V1Transactions
V1UpdateOrder
SQUAREUP_V1_UPDATE_ORDER
Updates the details of an online store order. Every update you perform on an order corresponds to one of three actions:
V1Transactions
VoidTransaction
SQUAREUP_VOID_TRANSACTION
Cancels a transaction that was created with the [Charge](api-endpoint:Transactions-Charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](https://developer.squareup.com/docs/payments/transactions/overview#delayed-capture) for more information.
Transactions
FAQ

Square integration, answered

How do AI agents use Square through Open Connector?
Your user connects Square once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes Square tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
Is this a Square MCP server?
Yes. Open Connector can serve Square as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call Square actions with credentials injected server-side.
Where do Square credentials live?
In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.

Give your agents Square — keep the keys.

Open source, self-hostable, with Square credentials that never leave your infrastructure. Run it from source today.