Skip to content

Square: Terminal schemas

55 Square schemas with complete fields and constraints.

← Terminal operations · All schemas

Cancel Terminal Action — response body

FieldTypePresenceDescription and constraints
$objectRoot
actionModelOptionalExpand Get Terminal Action — response body — action
The canceled `TerminalAction`
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item, Get Terminal Action — response body — action

Cancel Terminal Checkout — response body

FieldTypePresenceDescription and constraints
$objectRoot
checkoutModelOptionalExpand Get Terminal Checkout — response body — checkout
The canceled `TerminalCheckout`.
errorsarrayOptionalInformation about errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item, Get Terminal Checkout — response body — checkout

Cancel Terminal Refund — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalInformation about errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
refundModelOptionalExpand Get Terminal Refund — response body — refund
The updated `TerminalRefund`.

Referenced models: Get Shift — response body — errors item, Get Terminal Refund — response body — refund

Create Terminal Action — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
actionModelRequired within parentExpand Create Terminal Action — request body — body action
The Action to create.
idempotency_keystringRequired within parentA unique string that identifies this `CreateAction` request. Keys can be any valid string
but must be unique for every `CreateAction` request.

See [Idempotency keys](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency) for more
information.
Maximum length: 64
Minimum length: 1

Referenced models: Create Terminal Action — request body — body action

Create Terminal Action — request body — body action

FieldTypePresenceDescription and constraints
$objectRootRepresents an action processed by the Square Terminal.
app_idstringOptionalThe ID of the application that created the action.
Read only: true
await_next_actionJSONOptional
await_next_action (anyOf 1)booleanAlternativeIndicates the action will be linked to another action and requires a waiting dialog to be
displayed instead of returning to the idle screen on completion of the action.

Only supported on SIGNATURE, CONFIRMATION, DATA_COLLECTION, and SELECT types.
await_next_action (anyOf 2)nullAlternative
await_next_action_durationJSONOptional
await_next_action_duration (anyOf 1)stringAlternativeThe timeout duration of the waiting dialog as an RFC 3339 duration, after which the
waiting dialog will no longer be displayed and the Terminal will return to the idle screen.

Default: 5 minutes from when the waiting dialog is displayed

Maximum: 5 minutes
await_next_action_duration (anyOf 2)nullAlternative
cancel_reasonstringOptionalThe reason why `TerminalAction` is canceled. Present if the status is `CANCELED`.
See [ActionCancelReason](#type-actioncancelreason) for possible values
One of: BUYER_CANCELED, SELLER_CANCELED, TIMED_OUT
Read only: true
confirmation_optionsJSONOptional
confirmation_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action confirmation options agree button text, body, decision, disagree button text, title
Describes configuration for the confirmation action. Requires `CONFIRMATION` type.
confirmation_options (anyOf 2)nullAlternative
created_atstringOptionalThe time when the `TerminalAction` was created as an RFC 3339 timestamp.
Read only: true
data_collection_optionsJSONOptional
data_collection_options (anyOf 1)ModelAlternativeExpand CreateTerminalAction — request body — body / action / data_collection_options / input_type: EMAIL, PHONE NUMBER
Describes configuration for the data collection action. Requires `DATA_COLLECTION` type.
data_collection_options (anyOf 2)nullAlternative
deadline_durationJSONOptional
deadline_duration (anyOf 1)stringAlternativeThe duration as an RFC 3339 duration, after which the action will be automatically canceled.
TerminalActions that are `PENDING` will be automatically `CANCELED` and have a cancellation reason
of `TIMED_OUT`

Default: 5 minutes from creation

Maximum: 5 minutes
deadline_duration (anyOf 2)nullAlternative
device_idJSONOptional
device_id (anyOf 1)stringAlternativeThe unique Id of the device intended for this `TerminalAction`.
The Id can be retrieved from /v2/devices api.
device_id (anyOf 2)nullAlternative
device_metadataModelOptionalExpand Get Terminal Action — response body — action device metadata
Details about the Terminal that received the action request (such as battery level,
operating system version, and network connection settings).

Only available for `PING` action type.
Read only: true
idstringOptionalA unique ID for this `TerminalAction`.
Maximum length: 255
Minimum length: 10
Read only: true
location_idstringOptionalThe location id the action is attached to, if a link can be made.
Maximum length: 64
Read only: true
qr_code_optionsJSONOptional
qr_code_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action qr code options barcode contents, body, title
Describes configuration for the QR code action. Requires `QR_CODE` type.
qr_code_options (anyOf 2)nullAlternative
receipt_optionsJSONOptional
receipt_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action receipt options Describes receipt action fields
Describes configuration for the receipt action. Requires `RECEIPT` type.
receipt_options (anyOf 2)nullAlternative
save_card_optionsJSONOptional
save_card_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action save card options Describes save-card action fields
Describes configuration for the save-card action. Requires `SAVE_CARD` type.
save_card_options (anyOf 2)nullAlternative
select_optionsJSONOptional
select_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action select options body, options, selected option, title
Describes configuration for the select action. Requires `SELECT` type.
select_options (anyOf 2)nullAlternative
signature_optionsJSONOptional
signature_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action signature options body, signature, title
Describes configuration for the signature capture action. Requires `SIGNATURE` type.
signature_options (anyOf 2)nullAlternative
statusstringOptionalThe status of the `TerminalAction`.
Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, `COMPLETED`
Read only: true
typeJSONOptional
type (anyOf 1)stringAlternativeDescribes the type of this unit and indicates which field contains the unit information. This is an ‘open’ enum.
Represents the type of the action.
See [ActionType](#type-actiontype) for possible values
One of: QR_CODE, PING, SAVE_CARD, SIGNATURE, CONFIRMATION, RECEIPT, DATA_COLLECTION, SELECT
type (anyOf 2)nullAlternative
updated_atstringOptionalThe time when the `TerminalAction` was last updated as an RFC 3339 timestamp.
Read only: true

Referenced models: Get Terminal Action — response body — action confirmation options agree button text, body, decision, disagree button text, title, CreateTerminalAction — request body — body / action / data_collection_options / input_type: EMAIL, PHONE NUMBER, Get Terminal Action — response body — action device metadata, Get Terminal Action — response body — action qr code options barcode contents, body, title, Get Terminal Action — response body — action receipt options Describes receipt action fields, Get Terminal Action — response body — action save card options Describes save-card action fields, Get Terminal Action — response body — action select options body, options, selected option, title, Get Terminal Action — response body — action signature options body, signature, title

Create Terminal Action — response body

FieldTypePresenceDescription and constraints
$objectRoot
actionModelOptionalExpand Get Terminal Action — response body — action
The created `TerminalAction`
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item, Get Terminal Action — response body — action

Create Terminal Checkout — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
checkoutModelRequired within parentExpand Create Terminal Checkout — request body — body checkout
The checkout to create.
idempotency_keystringRequired within parentA unique string that identifies this `CreateCheckout` request. Keys can be any valid string but
must be unique for every `CreateCheckout` request.

See [Idempotency keys](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency) for more information.
Maximum length: 64
Minimum length: 1

Referenced models: Create Terminal Checkout — request body — body checkout

Create Terminal Checkout — request body — body checkout

FieldTypePresenceDescription and constraints
$objectRootRepresents a checkout processed by the Square Terminal.
amount_moneyModelRequired within parentExpand Create Payment — request body — body tip money
The amount of money (including the tax amount) that the Square Terminal device should try to collect.
app_fee_moneyJSONOptional
app_fee_money (anyOf 1)ModelAlternativeExpand Create Payment — request body — body tip money
The amount the developer is taking as a fee for facilitating the payment on behalf
of the seller.

The amount cannot be more than 90% of the total amount of the payment.

The amount must be specified in the smallest denomination of the applicable currency (for example, US dollar amounts are specified in cents). For more information, see [Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts).

The fee currency code must match the currency associated with the seller that is accepting the payment. The application must be from a developer account in the same country and using the same currency code as the seller.

For more information about the application fee scenario, see [Take Payments and Collect Fees](https://developer.squareup.com/docs/payments-api/take-payments-and-collect-fees).

To set this field, PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS OAuth permission is required. For more information, see [Permissions](https://developer.squareup.com/docs/payments-api/take-payments-and-collect-fees#permissions).
app_fee_money (anyOf 2)nullAlternative
app_idstringOptionalThe ID of the application that created the checkout.
Read only: true
cancel_reasonstringOptionalThe reason why `TerminalCheckout` is canceled. Present if the status is `CANCELED`.
See [ActionCancelReason](#type-actioncancelreason) for possible values
One of: BUYER_CANCELED, SELLER_CANCELED, TIMED_OUT
Read only: true
created_atstringOptionalThe time when the `TerminalCheckout` was created, as an RFC 3339 timestamp.
Read only: true
customer_idJSONOptional
customer_id (anyOf 1)stringAlternativeAn optional ID of the customer associated with the checkout.
customer_id (anyOf 2)nullAlternative
deadline_durationJSONOptional
deadline_duration (anyOf 1)stringAlternativeAn RFC 3339 duration, after which the checkout is automatically canceled.
A `TerminalCheckout` that is `PENDING` is automatically `CANCELED` and has a cancellation reason
of `TIMED_OUT`.

Default: 5 minutes from creation

Maximum: 5 minutes
deadline_duration (anyOf 2)nullAlternative
device_optionsModelRequired within parentExpand Create Terminal Checkout — request body — body checkout device options
Options to control the display and behavior of the Square Terminal device.
idstringOptionalA unique ID for this `TerminalCheckout`.
Maximum length: 255
Minimum length: 10
Read only: true
location_idstringOptionalThe location of the device where the `TerminalCheckout` was directed.
Maximum length: 64
Read only: true
noteJSONOptional
note (anyOf 1)stringAlternativeAn optional note to associate with the checkout, as well as with any payments used to complete the checkout.
Note: maximum 500 characters
Maximum length: 500
note (anyOf 2)nullAlternative
order_idJSONOptional
order_id (anyOf 1)stringAlternativeThe reference to the Square order ID for the checkout request.
order_id (anyOf 2)nullAlternative
payment_idsarrayOptionalA list of IDs for payments created by this `TerminalCheckout`.
Read only: true
payment_ids[]stringEach item
payment_optionsJSONOptional
payment_options (anyOf 1)ModelAlternativeExpand Create Terminal Checkout — request body — body checkout payment options accept partial authorization, autocomplete, delay action, delay duration
Payment-specific options for the checkout request.
payment_options (anyOf 2)nullAlternative
payment_typeJSONOptional
payment_type (anyOf 1)stringAlternativeThe type of payment the terminal should attempt to capture from. Defaults to `CARD_PRESENT`.
See [CheckoutOptionsPaymentType](#type-checkoutoptionspaymenttype) for possible values
One of: CARD_PRESENT, MANUAL_CARD_ENTRY, FELICA_ID, FELICA_QUICPAY, FELICA_TRANSPORTATION_GROUP, FELICA_ALL, PAYPAY, QR_CODE
payment_type (anyOf 2)nullAlternative
reference_idJSONOptional
reference_id (anyOf 1)stringAlternativeAn optional user-defined reference ID that can be used to associate
this `TerminalCheckout` to another entity in an external system. For example, an order
ID generated by a third-party shopping cart. The ID is also associated with any payments
used to complete the checkout.
Maximum length: 40
reference_id (anyOf 2)nullAlternative
statement_description_identifierJSONOptional
statement_description_identifier (anyOf 1)stringAlternativeOptional additional payment information to include on the customer's card statement as
part of the statement description. This can be, for example, an invoice number, ticket number,
or short description that uniquely identifies the purchase.
Maximum length: 20
statement_description_identifier (anyOf 2)nullAlternative
statusstringOptionalThe status of the `TerminalCheckout`.
Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, `COMPLETED`
Read only: true
team_member_idJSONOptional
team_member_id (anyOf 1)stringAlternativeAn optional ID of the team member associated with creating the checkout.
team_member_id (anyOf 2)nullAlternative
tip_moneyJSONOptional
tip_money (anyOf 1)ModelAlternativeExpand Create Payment — request body — body tip money
The amount designated as a tip, in addition to `amount_money`. This may only be set for a
checkout that has tipping disabled (`tip_settings.allow_tipping` is `false`).
tip_money (anyOf 2)nullAlternative
updated_atstringOptionalThe time when the `TerminalCheckout` was last updated, as an RFC 3339 timestamp.
Read only: true

Referenced models: Create Terminal Checkout — request body — body checkout device options, Create Payment — request body — body tip money, Create Terminal Checkout — request body — body checkout payment options accept partial authorization, autocomplete, delay action, delay duration

Create Terminal Checkout — request body — body checkout device options

FieldTypePresenceDescription and constraints
$objectRoot
allow_auto_card_surchargeJSONOptional
allow_auto_card_surcharge (anyOf 1)booleanAlternativeControls whether the mobile client applies Auto Card Surcharge (ACS) during checkout.
If true, ACS is applied based on Dashboard configuration.
If false, ACS is not applied regardless of that configuration.
For more information, see [Add a Card Surcharge](https://developer.squareup.com/docs/terminal-api/additional-payment-checkout-features#add-a-card-surcharge).
allow_auto_card_surcharge (anyOf 2)nullAlternative
collect_signatureJSONOptional
collect_signature (anyOf 1)booleanAlternativeIndicates that signature collection is desired during checkout. Defaults to false.
collect_signature (anyOf 2)nullAlternative
device_idstringRequired within parentThe unique ID of the device intended for this `TerminalCheckout`.
A list of `DeviceCode` objects can be retrieved from the /v2/devices/codes endpoint.
Match a `DeviceCode.device_id` value with `device_id` to get the associated device code.
show_itemized_cartJSONOptional
show_itemized_cart (anyOf 1)booleanAlternativeShow the itemization screen prior to taking a payment. This field is only meaningful when the
checkout includes an order ID. Defaults to true.
show_itemized_cart (anyOf 2)nullAlternative
skip_receipt_screenJSONOptional
skip_receipt_screen (anyOf 1)booleanAlternativeInstructs the device to skip the receipt screen. Defaults to false.
skip_receipt_screen (anyOf 2)nullAlternative
tip_settingsJSONOptional
tip_settings (anyOf 1)ModelAlternativeExpand Create Terminal Checkout — request body — body checkout device options tip settings allow tipping, custom tip field, separate tip screen, smart tipping, tip percentages
Tip-specific settings.
tip_settings (anyOf 2)nullAlternative

Referenced models: Create Terminal Checkout — request body — body checkout device options tip settings allow tipping, custom tip field, separate tip screen, smart tipping, tip percentages

Create Terminal Checkout — request body — body checkout device options tip settings allow tipping, custom tip field, separate tip screen, smart tipping, tip percentages

FieldTypePresenceDescription and constraints
$objectRoot
allow_tippingJSONOptional
allow_tipping (anyOf 1)booleanAlternativeIndicates whether tipping is enabled for this checkout. Defaults to false.
allow_tipping (anyOf 2)nullAlternative
custom_tip_fieldJSONOptional
custom_tip_field (anyOf 1)booleanAlternativeIndicates whether custom tip amounts are allowed during the checkout flow. Defaults to false.
custom_tip_field (anyOf 2)nullAlternative
separate_tip_screenJSONOptional
separate_tip_screen (anyOf 1)booleanAlternativeIndicates whether tip options should be presented on the screen before presenting
the signature screen during card payment. Defaults to false.
separate_tip_screen (anyOf 2)nullAlternative
smart_tippingJSONOptional
smart_tipping (anyOf 1)booleanAlternativeEnables the "Smart Tip Amounts" behavior.
Exact tipping options depend on the region in which the Square seller is active.

For payments under 10.00, in the Australia, Canada, Ireland, United Kingdom, and United States, tipping options are presented as no tip, .50, 1.00 or 2.00.

For payment amounts of 10.00 or greater, tipping options are presented as the following percentages: 0%, 5%, 10%, 15%.

If set to true, the `tip_percentages` settings is ignored.
Defaults to false.

To learn more about smart tipping, see [Accept Tips with the Square App](https://squareup.com/help/us/en/article/5069-accept-tips-with-the-square-app).
smart_tipping (anyOf 2)nullAlternative
tip_percentagesJSONOptional
tip_percentages (anyOf 1)arrayAlternativeA list of tip percentages that should be presented during the checkout flow, specified as
up to 3 non-negative integers from 0 to 100 (inclusive). Defaults to 15, 20, and 25.
tip_percentages (anyOf 1)[]integerEach item
tip_percentages (anyOf 2)nullAlternative

Create Terminal Checkout — request body — body checkout payment options accept partial authorization, autocomplete, delay action, delay duration

FieldTypePresenceDescription and constraints
$objectRoot
accept_partial_authorizationJSONOptional
accept_partial_authorization (anyOf 1)booleanAlternativeIf set to `true` and charging a Square Gift Card, a payment might be returned with
`amount_money` equal to less than what was requested. For example, a request for $20 when charging
a Square Gift Card with a balance of $5 results in an APPROVED payment of $5. You might choose
to prompt the buyer for an additional payment to cover the remainder or cancel the Gift Card
payment.

This parameter can only be set for a delayed capture payment (`autocomplete=false`).

For more information, see [Take Partial Payments](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/partial-payments-with-gift-cards).

Default: false
accept_partial_authorization (anyOf 2)nullAlternative
autocompleteJSONOptional
autocomplete (anyOf 1)booleanAlternativeIndicates whether the `Payment` objects created from this `TerminalCheckout` are
automatically `COMPLETED` or left in an `APPROVED` state for later modification.

Default: true
autocomplete (anyOf 2)nullAlternative
delay_actionJSONOptional
delay_action (anyOf 1)stringAlternativeDescribes the action to be applied to a delayed capture payment when the delay_duration
has elapsed.
The action to be applied to the `Payment` when the delay_duration has elapsed.
The action must be CANCEL or COMPLETE.

The action cannot be set to COMPLETE if an `order_id` is present on the TerminalCheckout.

This parameter can only be set for a delayed capture payment (`autocomplete=false`). For more
information, see [Delayed Capture](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture#time-threshold).

Default: CANCEL
See [DelayAction](#type-delayaction) for possible values
One of: CANCEL, COMPLETE
delay_action (anyOf 2)nullAlternative
delay_durationJSONOptional
delay_duration (anyOf 1)stringAlternativeThe duration of time after the payment's creation when Square automatically resolves the
payment. This automatic resolution applies only to payments that do not reach a terminal state
(`COMPLETED` or `CANCELED`) before the `delay_duration` time period.

This parameter should be specified as a time duration, in RFC 3339 format, with a minimum value
of 1 minute and a maximum value of 36 hours. This feature is only supported for card payments,
and all payments will be considered card-present.

This parameter can only be set for a delayed capture payment (`autocomplete=false`). For more
information, see [Delayed Capture](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture#time-threshold).

Default: "PT36H" (36 hours) from the creation time
delay_duration (anyOf 2)nullAlternative

Create Terminal Checkout — response body

FieldTypePresenceDescription and constraints
$objectRoot
checkoutModelOptionalExpand Get Terminal Checkout — response body — checkout
The created `TerminalCheckout`.
errorsarrayOptionalInformation about errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item, Get Terminal Checkout — response body — checkout

Create Terminal Refund — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
idempotency_keystringRequired within parentA unique string that identifies this `CreateRefund` request. Keys can be any valid string but
must be unique for every `CreateRefund` request.

See [Idempotency keys](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency) for more information.
Maximum length: 64
Minimum length: 1
refundModelOptionalExpand Create Terminal Refund — request body — body refund
The refund to create.

Referenced models: Create Terminal Refund — request body — body refund

Create Terminal Refund — request body — body refund

FieldTypePresenceDescription and constraints
$objectRootRepresents a payment refund processed by the Square Terminal. Only supports Interac (Canadian debit network) payment refunds.
amount_moneyModelRequired within parentExpand Create Payment — request body — body tip money
The amount of money, inclusive of `tax_money`, that the `TerminalRefund` should return.
This value is limited to the amount taken in the original payment minus any completed or
pending refunds.
app_idstringOptionalThe ID of the application that created the refund.
Read only: true
cancel_reasonstringOptionalPresent if the status is `CANCELED`.
See [ActionCancelReason](#type-actioncancelreason) for possible values
One of: BUYER_CANCELED, SELLER_CANCELED, TIMED_OUT
Read only: true
created_atstringOptionalThe time when the `TerminalRefund` was created, as an RFC 3339 timestamp.
Read only: true
deadline_durationJSONOptional
deadline_duration (anyOf 1)stringAlternativeThe RFC 3339 duration, after which the refund is automatically canceled.
A `TerminalRefund` that is `PENDING` is automatically `CANCELED` and has a cancellation reason
of `TIMED_OUT`.

Default: 5 minutes from creation.

Maximum: 5 minutes
deadline_duration (anyOf 2)nullAlternative
device_idstringRequired within parentThe unique ID of the device intended for this `TerminalRefund`.
The Id can be retrieved from /v2/devices api.
idstringOptionalA unique ID for this `TerminalRefund`.
Maximum length: 255
Minimum length: 10
Read only: true
location_idstringOptionalThe location of the device where the `TerminalRefund` was directed.
Maximum length: 64
Read only: true
order_idstringOptionalThe reference to the Square order ID for the payment identified by the `payment_id`.
Read only: true
payment_idstringRequired within parentThe unique ID of the payment being refunded.
Minimum length: 1
reasonstringRequired within parentA description of the reason for the refund.
Maximum length: 192
refund_idstringOptionalThe reference to the payment refund created by completing this `TerminalRefund`.
Read only: true
statusstringOptionalThe status of the `TerminalRefund`.
Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, or `COMPLETED`.
Read only: true
updated_atstringOptionalThe time when the `TerminalRefund` was last updated, as an RFC 3339 timestamp.
Read only: true

Referenced models: Create Payment — request body — body tip money

Create Terminal Refund — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalInformation about errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
refundModelOptionalExpand Get Terminal Refund — response body — refund
The created `TerminalRefund`.

Referenced models: Get Shift — response body — errors item, Get Terminal Refund — response body — refund

CreateTerminalAction — request body — body / action / data_collection_options / input_type: EMAIL, PHONE NUMBER

FieldTypePresenceDescription and constraints
$objectRoot
bodystringRequired within parentThe body text to display under the title in the data collection screen flow on the
Terminal.
Maximum length: 10000
Minimum length: 1
collected_dataModelOptionalExpand GetTerminalAction — response body — action / data_collection_options / input_type: EMAIL, PHONE NUMBER collected data
The buyer’s input text from the data collection screen.
Read only: true
input_typestringRequired within parentDescribes the input type of the data.
Represents the type of the input text.
See [InputType](#type-inputtype) for possible values
One of: EMAIL, PHONE_NUMBER
titlestringRequired within parentThe title text to display in the data collection flow on the Terminal.
Maximum length: 250
Minimum length: 1

Referenced models: GetTerminalAction — response body — action / data_collection_options / input_type: EMAIL, PHONE NUMBER collected data

Dismiss Terminal Action — response body

FieldTypePresenceDescription and constraints
$objectRoot
actionModelOptionalExpand Get Terminal Action — response body — action
Current state of the action to be dismissed.
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item, Get Terminal Action — response body — action

Dismiss Terminal Checkout — response body

FieldTypePresenceDescription and constraints
$objectRoot
checkoutModelOptionalExpand Get Terminal Checkout — response body — checkout
Current state of the checkout to be dismissed.
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item, Get Terminal Checkout — response body — checkout

Dismiss Terminal Refund — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
refundModelOptionalExpand Get Terminal Refund — response body — refund
Current state of the refund to be dismissed.

Referenced models: Get Shift — response body — errors item, Get Terminal Refund — response body — refund

Get Terminal Action — response body

FieldTypePresenceDescription and constraints
$objectRoot
actionModelOptionalExpand Get Terminal Action — response body — action
The requested `TerminalAction`
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item, Get Terminal Action — response body — action

Get Terminal Action — response body — action

FieldTypePresenceDescription and constraints
$objectRootRepresents an action processed by the Square Terminal.
app_idstringOptionalThe ID of the application that created the action.
Read only: true
await_next_actionJSONOptional
await_next_action (anyOf 1)booleanAlternativeIndicates the action will be linked to another action and requires a waiting dialog to be
displayed instead of returning to the idle screen on completion of the action.

Only supported on SIGNATURE, CONFIRMATION, DATA_COLLECTION, and SELECT types.
await_next_action (anyOf 2)nullAlternative
await_next_action_durationJSONOptional
await_next_action_duration (anyOf 1)stringAlternativeThe timeout duration of the waiting dialog as an RFC 3339 duration, after which the
waiting dialog will no longer be displayed and the Terminal will return to the idle screen.

Default: 5 minutes from when the waiting dialog is displayed

Maximum: 5 minutes
await_next_action_duration (anyOf 2)nullAlternative
cancel_reasonstringOptionalThe reason why `TerminalAction` is canceled. Present if the status is `CANCELED`.
See [ActionCancelReason](#type-actioncancelreason) for possible values
Known values: BUYER_CANCELED, SELLER_CANCELED, TIMED_OUT
Read only: true
confirmation_optionsJSONOptional
confirmation_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action confirmation options agree button text, body, decision, disagree button text, title
Describes configuration for the confirmation action. Requires `CONFIRMATION` type.
confirmation_options (anyOf 2)nullAlternative
created_atstringOptionalThe time when the `TerminalAction` was created as an RFC 3339 timestamp.
Read only: true
data_collection_optionsJSONOptional
data_collection_options (anyOf 1)ModelAlternativeExpand GetTerminalAction — response body — action / data_collection_options / input_type: EMAIL, PHONE NUMBER
Describes configuration for the data collection action. Requires `DATA_COLLECTION` type.
data_collection_options (anyOf 2)nullAlternative
deadline_durationJSONOptional
deadline_duration (anyOf 1)stringAlternativeThe duration as an RFC 3339 duration, after which the action will be automatically canceled.
TerminalActions that are `PENDING` will be automatically `CANCELED` and have a cancellation reason
of `TIMED_OUT`

Default: 5 minutes from creation

Maximum: 5 minutes
deadline_duration (anyOf 2)nullAlternative
device_idJSONOptional
device_id (anyOf 1)stringAlternativeThe unique Id of the device intended for this `TerminalAction`.
The Id can be retrieved from /v2/devices api.
device_id (anyOf 2)nullAlternative
device_metadataModelOptionalExpand Get Terminal Action — response body — action device metadata
Details about the Terminal that received the action request (such as battery level,
operating system version, and network connection settings).

Only available for `PING` action type.
Read only: true
idstringOptionalA unique ID for this `TerminalAction`.
Maximum length: 255
Minimum length: 10
Read only: true
location_idstringOptionalThe location id the action is attached to, if a link can be made.
Maximum length: 64
Read only: true
qr_code_optionsJSONOptional
qr_code_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action qr code options barcode contents, body, title
Describes configuration for the QR code action. Requires `QR_CODE` type.
qr_code_options (anyOf 2)nullAlternative
receipt_optionsJSONOptional
receipt_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action receipt options Describes receipt action fields
Describes configuration for the receipt action. Requires `RECEIPT` type.
receipt_options (anyOf 2)nullAlternative
save_card_optionsJSONOptional
save_card_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action save card options Describes save-card action fields
Describes configuration for the save-card action. Requires `SAVE_CARD` type.
save_card_options (anyOf 2)nullAlternative
select_optionsJSONOptional
select_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action select options body, options, selected option, title
Describes configuration for the select action. Requires `SELECT` type.
select_options (anyOf 2)nullAlternative
signature_optionsJSONOptional
signature_options (anyOf 1)ModelAlternativeExpand Get Terminal Action — response body — action signature options body, signature, title
Describes configuration for the signature capture action. Requires `SIGNATURE` type.
signature_options (anyOf 2)nullAlternative
statusstringOptionalThe status of the `TerminalAction`.
Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, `COMPLETED`
Read only: true
typeJSONOptional
type (anyOf 1)stringAlternativeDescribes the type of this unit and indicates which field contains the unit information. This is an ‘open’ enum.
Represents the type of the action.
See [ActionType](#type-actiontype) for possible values
Known values: QR_CODE, PING, SAVE_CARD, SIGNATURE, CONFIRMATION, RECEIPT, DATA_COLLECTION, SELECT
type (anyOf 2)nullAlternative
updated_atstringOptionalThe time when the `TerminalAction` was last updated as an RFC 3339 timestamp.
Read only: true

Referenced models: Get Terminal Action — response body — action confirmation options agree button text, body, decision, disagree button text, title, Get Terminal Action — response body — action device metadata, GetTerminalAction — response body — action / data_collection_options / input_type: EMAIL, PHONE NUMBER, Get Terminal Action — response body — action qr code options barcode contents, body, title, Get Terminal Action — response body — action receipt options Describes receipt action fields, Get Terminal Action — response body — action save card options Describes save-card action fields, Get Terminal Action — response body — action select options body, options, selected option, title, Get Terminal Action — response body — action signature options body, signature, title

Get Terminal Action — response body — action confirmation options agree button text, body, decision, disagree button text, title

FieldTypePresenceDescription and constraints
$objectRoot
agree_button_textstringRequired within parentThe button text to display indicating the customer agrees to the displayed terms.
Maximum length: 250
Minimum length: 1
bodystringRequired within parentThe agreement details to display in the confirmation flow on the Terminal.
Maximum length: 10000
Minimum length: 1
decisionModelOptionalExpand Get Terminal Action — response body — action confirmation options agree button text, body, decision, disagree button text, title decision
The result of the buyer’s actions when presented with the confirmation screen.
Read only: true
disagree_button_textJSONOptional
disagree_button_text (anyOf 1)stringAlternativeThe button text to display indicating the customer does not agree to the displayed terms.
Maximum length: 250
Minimum length: 1
disagree_button_text (anyOf 2)nullAlternative
titlestringRequired within parentThe title text to display in the confirmation screen flow on the Terminal.
Maximum length: 250
Minimum length: 1

Referenced models: Get Terminal Action — response body — action confirmation options agree button text, body, decision, disagree button text, title decision

Get Terminal Action — response body — action confirmation options agree button text, body, decision, disagree button text, title decision

FieldTypePresenceDescription and constraints
$objectRoot
has_agreedbooleanOptionalThe buyer's decision to the displayed terms.
Read only: true

Get Terminal Action — response body — action device metadata

FieldTypePresenceDescription and constraints
$objectRoot
app_versionJSONOptional
app_version (anyOf 1)stringAlternativeThe current version of the application running on the Terminal.
app_version (anyOf 2)nullAlternative
battery_percentageJSONOptional
battery_percentage (anyOf 1)stringAlternativeThe Terminal’s remaining battery percentage, between 1-100.
battery_percentage (anyOf 2)nullAlternative
charging_stateJSONOptional
charging_state (anyOf 1)stringAlternativeThe current charging state of the Terminal.
Options: `CHARGING`, `NOT_CHARGING`
charging_state (anyOf 2)nullAlternative
ip_addressJSONOptional
ip_address (anyOf 1)stringAlternativeThe IP address of the Terminal.
ip_address (anyOf 2)nullAlternative
location_idJSONOptional
location_id (anyOf 1)stringAlternativeThe ID of the Square seller business location associated with the Terminal.
location_id (anyOf 2)nullAlternative
merchant_idJSONOptional
merchant_id (anyOf 1)stringAlternativeThe ID of the Square merchant account that is currently signed-in to the Terminal.
merchant_id (anyOf 2)nullAlternative
network_connection_typeJSONOptional
network_connection_type (anyOf 1)stringAlternativeThe Terminal’s current network connection type.
Options: `WIFI`, `ETHERNET`
network_connection_type (anyOf 2)nullAlternative
os_versionJSONOptional
os_version (anyOf 1)stringAlternativeThe current version of the Terminal’s operating system.
os_version (anyOf 2)nullAlternative
payment_regionJSONOptional
payment_region (anyOf 1)stringAlternativeThe country in which the Terminal is authorized to take payments.
payment_region (anyOf 2)nullAlternative
serial_numberJSONOptional
serial_number (anyOf 1)stringAlternativeThe unique identifier assigned to the Terminal, which can be found on the lower back
of the device.
serial_number (anyOf 2)nullAlternative
wifi_network_nameJSONOptional
wifi_network_name (anyOf 1)stringAlternativeThe name of the Wi-Fi network to which the Terminal is connected.
wifi_network_name (anyOf 2)nullAlternative
wifi_network_strengthJSONOptional
wifi_network_strength (anyOf 1)stringAlternativeThe signal strength of the Wi-FI network connection.
Options: `POOR`, `FAIR`, `GOOD`, `EXCELLENT`
wifi_network_strength (anyOf 2)nullAlternative

Get Terminal Action — response body — action qr code options barcode contents, body, title

FieldTypePresenceDescription and constraints
$objectRootFields to describe the action that displays QR-Codes.
barcode_contentsstringRequired within parentThe text representation of the data to show in the QR code
as UTF8-encoded data.
Maximum length: 1024
Minimum length: 1
bodystringRequired within parentThe body text to display in the QR code flow on the Terminal.
Maximum length: 10000
Minimum length: 1
titlestringRequired within parentThe title text to display in the QR code flow on the Terminal.
Maximum length: 250
Minimum length: 1

Get Terminal Action — response body — action receipt options Describes receipt action fields

FieldTypePresenceDescription and constraints
$objectRootDescribes receipt action fields.
is_duplicateJSONOptional
is_duplicate (anyOf 1)booleanAlternativeIdentify the receipt as a reprint rather than an original receipt.
Defaults to false.
is_duplicate (anyOf 2)nullAlternative
payment_idstringRequired within parentThe reference to the Square payment ID for the receipt.
print_onlyJSONOptional
print_only (anyOf 1)booleanAlternativeInstructs the device to print the receipt without displaying the receipt selection screen.
Requires `printer_enabled` set to true.
Defaults to false.
print_only (anyOf 2)nullAlternative

Get Terminal Action — response body — action save card options Describes save-card action fields

FieldTypePresenceDescription and constraints
$objectRootDescribes save-card action fields.
card_idstringOptionalThe id of the created card-on-file.
Maximum length: 64
Read only: true
customer_idstringRequired within parentThe square-assigned ID of the customer linked to the saved card.
reference_idJSONOptional
reference_id (anyOf 1)stringAlternativeAn optional user-defined reference ID that can be used to associate
this `Card` to another entity in an external system. For example, a customer
ID generated by a third-party system.
Maximum length: 128
reference_id (anyOf 2)nullAlternative

Get Terminal Action — response body — action select options body, options, selected option, title

FieldTypePresenceDescription and constraints
$objectRoot
bodystringRequired within parentThe body text to display in the select flow on the Terminal.
Maximum length: 10000
Minimum length: 1
optionsarrayRequired within parentRepresents the buttons/options that should be displayed in the select flow on the Terminal.
options[]ModelEach itemExpand Get Terminal Action — response body — action select options body, options, selected option, title selected option
selected_optionModelOptionalExpand Get Terminal Action — response body — action select options body, options, selected option, title selected option
The buyer’s selected option.
Read only: true
titlestringRequired within parentThe title text to display in the select flow on the Terminal.
Maximum length: 250
Minimum length: 1

Referenced models: Get Terminal Action — response body — action select options body, options, selected option, title selected option

Get Terminal Action — response body — action select options body, options, selected option, title selected option

FieldTypePresenceDescription and constraints
$objectRoot
reference_idstringRequired within parentThe reference id for the option.
Maximum length: 40
Minimum length: 1
titlestringRequired within parentThe title text that displays in the select option button.
Maximum length: 250
Minimum length: 1

Get Terminal Action — response body — action signature options body, signature, title

FieldTypePresenceDescription and constraints
$objectRoot
bodystringRequired within parentThe body text to display in the signature capture flow on the Terminal.
Maximum length: 10000
Minimum length: 1
signaturearrayOptionalAn image representation of the collected signature.
Read only: true
signature[]ModelEach itemExpand Get Terminal Action — response body — action signature options body, signature, title signature item
titlestringRequired within parentThe title text to display in the signature capture flow on the Terminal.
Maximum length: 250
Minimum length: 1

Referenced models: Get Terminal Action — response body — action signature options body, signature, title signature item

Get Terminal Action — response body — action signature options body, signature, title signature item

FieldTypePresenceDescription and constraints
$objectRoot
datastringOptionalThe base64 representation of the image.
Read only: true
image_typestringOptionalThe mime/type of the image data.
Use `image/png;base64` for png.
Read only: true

Get Terminal Checkout — response body

FieldTypePresenceDescription and constraints
$objectRoot
checkoutModelOptionalExpand Get Terminal Checkout — response body — checkout
The requested `TerminalCheckout`.
errorsarrayOptionalInformation about errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item, Get Terminal Checkout — response body — checkout

Get Terminal Checkout — response body — checkout

FieldTypePresenceDescription and constraints
$objectRootRepresents a checkout processed by the Square Terminal.
amount_moneyModelRequired within parentExpand Pay Order — response body — order total money
The amount of money (including the tax amount) that the Square Terminal device should try to collect.
app_fee_moneyJSONOptional
app_fee_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount the developer is taking as a fee for facilitating the payment on behalf
of the seller.

The amount cannot be more than 90% of the total amount of the payment.

The amount must be specified in the smallest denomination of the applicable currency (for example, US dollar amounts are specified in cents). For more information, see [Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts).

The fee currency code must match the currency associated with the seller that is accepting the payment. The application must be from a developer account in the same country and using the same currency code as the seller.

For more information about the application fee scenario, see [Take Payments and Collect Fees](https://developer.squareup.com/docs/payments-api/take-payments-and-collect-fees).

To set this field, PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS OAuth permission is required. For more information, see [Permissions](https://developer.squareup.com/docs/payments-api/take-payments-and-collect-fees#permissions).
app_fee_money (anyOf 2)nullAlternative
app_idstringOptionalThe ID of the application that created the checkout.
Read only: true
cancel_reasonstringOptionalThe reason why `TerminalCheckout` is canceled. Present if the status is `CANCELED`.
See [ActionCancelReason](#type-actioncancelreason) for possible values
Known values: BUYER_CANCELED, SELLER_CANCELED, TIMED_OUT
Read only: true
created_atstringOptionalThe time when the `TerminalCheckout` was created, as an RFC 3339 timestamp.
Read only: true
customer_idJSONOptional
customer_id (anyOf 1)stringAlternativeAn optional ID of the customer associated with the checkout.
customer_id (anyOf 2)nullAlternative
deadline_durationJSONOptional
deadline_duration (anyOf 1)stringAlternativeAn RFC 3339 duration, after which the checkout is automatically canceled.
A `TerminalCheckout` that is `PENDING` is automatically `CANCELED` and has a cancellation reason
of `TIMED_OUT`.

Default: 5 minutes from creation

Maximum: 5 minutes
deadline_duration (anyOf 2)nullAlternative
device_optionsModelRequired within parentExpand Get Terminal Checkout — response body — checkout device options
Options to control the display and behavior of the Square Terminal device.
idstringOptionalA unique ID for this `TerminalCheckout`.
Maximum length: 255
Minimum length: 10
Read only: true
location_idstringOptionalThe location of the device where the `TerminalCheckout` was directed.
Maximum length: 64
Read only: true
noteJSONOptional
note (anyOf 1)stringAlternativeAn optional note to associate with the checkout, as well as with any payments used to complete the checkout.
Note: maximum 500 characters
Maximum length: 500
note (anyOf 2)nullAlternative
order_idJSONOptional
order_id (anyOf 1)stringAlternativeThe reference to the Square order ID for the checkout request.
order_id (anyOf 2)nullAlternative
payment_idsarrayOptionalA list of IDs for payments created by this `TerminalCheckout`.
Read only: true
payment_ids[]stringEach item
payment_optionsJSONOptional
payment_options (anyOf 1)ModelAlternativeExpand Get Terminal Checkout — response body — checkout payment options accept partial authorization, autocomplete, delay action, delay duration
Payment-specific options for the checkout request.
payment_options (anyOf 2)nullAlternative
payment_typeJSONOptional
payment_type (anyOf 1)stringAlternativeThe type of payment the terminal should attempt to capture from. Defaults to `CARD_PRESENT`.
See [CheckoutOptionsPaymentType](#type-checkoutoptionspaymenttype) for possible values
Known values: CARD_PRESENT, MANUAL_CARD_ENTRY, FELICA_ID, FELICA_QUICPAY, FELICA_TRANSPORTATION_GROUP, FELICA_ALL, PAYPAY, QR_CODE
payment_type (anyOf 2)nullAlternative
reference_idJSONOptional
reference_id (anyOf 1)stringAlternativeAn optional user-defined reference ID that can be used to associate
this `TerminalCheckout` to another entity in an external system. For example, an order
ID generated by a third-party shopping cart. The ID is also associated with any payments
used to complete the checkout.
Maximum length: 40
reference_id (anyOf 2)nullAlternative
statement_description_identifierJSONOptional
statement_description_identifier (anyOf 1)stringAlternativeOptional additional payment information to include on the customer's card statement as
part of the statement description. This can be, for example, an invoice number, ticket number,
or short description that uniquely identifies the purchase.
Maximum length: 20
statement_description_identifier (anyOf 2)nullAlternative
statusstringOptionalThe status of the `TerminalCheckout`.
Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, `COMPLETED`
Read only: true
team_member_idJSONOptional
team_member_id (anyOf 1)stringAlternativeAn optional ID of the team member associated with creating the checkout.
team_member_id (anyOf 2)nullAlternative
tip_moneyJSONOptional
tip_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount designated as a tip, in addition to `amount_money`. This may only be set for a
checkout that has tipping disabled (`tip_settings.allow_tipping` is `false`).
tip_money (anyOf 2)nullAlternative
updated_atstringOptionalThe time when the `TerminalCheckout` was last updated, as an RFC 3339 timestamp.
Read only: true

Referenced models: Get Terminal Checkout — response body — checkout device options, Pay Order — response body — order total money, Get Terminal Checkout — response body — checkout payment options accept partial authorization, autocomplete, delay action, delay duration

Get Terminal Checkout — response body — checkout device options

FieldTypePresenceDescription and constraints
$objectRoot
allow_auto_card_surchargeJSONOptional
allow_auto_card_surcharge (anyOf 1)booleanAlternativeControls whether the mobile client applies Auto Card Surcharge (ACS) during checkout.
If true, ACS is applied based on Dashboard configuration.
If false, ACS is not applied regardless of that configuration.
For more information, see [Add a Card Surcharge](https://developer.squareup.com/docs/terminal-api/additional-payment-checkout-features#add-a-card-surcharge).
allow_auto_card_surcharge (anyOf 2)nullAlternative
collect_signatureJSONOptional
collect_signature (anyOf 1)booleanAlternativeIndicates that signature collection is desired during checkout. Defaults to false.
collect_signature (anyOf 2)nullAlternative
device_idstringRequired within parentThe unique ID of the device intended for this `TerminalCheckout`.
A list of `DeviceCode` objects can be retrieved from the /v2/devices/codes endpoint.
Match a `DeviceCode.device_id` value with `device_id` to get the associated device code.
show_itemized_cartJSONOptional
show_itemized_cart (anyOf 1)booleanAlternativeShow the itemization screen prior to taking a payment. This field is only meaningful when the
checkout includes an order ID. Defaults to true.
show_itemized_cart (anyOf 2)nullAlternative
skip_receipt_screenJSONOptional
skip_receipt_screen (anyOf 1)booleanAlternativeInstructs the device to skip the receipt screen. Defaults to false.
skip_receipt_screen (anyOf 2)nullAlternative
tip_settingsJSONOptional
tip_settings (anyOf 1)ModelAlternativeExpand Get Terminal Checkout — response body — checkout device options tip settings allow tipping, custom tip field, separate tip screen, smart tipping, tip percentages
Tip-specific settings.
tip_settings (anyOf 2)nullAlternative

Referenced models: Get Terminal Checkout — response body — checkout device options tip settings allow tipping, custom tip field, separate tip screen, smart tipping, tip percentages

Get Terminal Checkout — response body — checkout device options tip settings allow tipping, custom tip field, separate tip screen, smart tipping, tip percentages

FieldTypePresenceDescription and constraints
$objectRoot
allow_tippingJSONOptional
allow_tipping (anyOf 1)booleanAlternativeIndicates whether tipping is enabled for this checkout. Defaults to false.
allow_tipping (anyOf 2)nullAlternative
custom_tip_fieldJSONOptional
custom_tip_field (anyOf 1)booleanAlternativeIndicates whether custom tip amounts are allowed during the checkout flow. Defaults to false.
custom_tip_field (anyOf 2)nullAlternative
separate_tip_screenJSONOptional
separate_tip_screen (anyOf 1)booleanAlternativeIndicates whether tip options should be presented on the screen before presenting
the signature screen during card payment. Defaults to false.
separate_tip_screen (anyOf 2)nullAlternative
smart_tippingJSONOptional
smart_tipping (anyOf 1)booleanAlternativeEnables the "Smart Tip Amounts" behavior.
Exact tipping options depend on the region in which the Square seller is active.

For payments under 10.00, in the Australia, Canada, Ireland, United Kingdom, and United States, tipping options are presented as no tip, .50, 1.00 or 2.00.

For payment amounts of 10.00 or greater, tipping options are presented as the following percentages: 0%, 5%, 10%, 15%.

If set to true, the `tip_percentages` settings is ignored.
Defaults to false.

To learn more about smart tipping, see [Accept Tips with the Square App](https://squareup.com/help/us/en/article/5069-accept-tips-with-the-square-app).
smart_tipping (anyOf 2)nullAlternative
tip_percentagesJSONOptional
tip_percentages (anyOf 1)arrayAlternativeA list of tip percentages that should be presented during the checkout flow, specified as
up to 3 non-negative integers from 0 to 100 (inclusive). Defaults to 15, 20, and 25.
tip_percentages (anyOf 1)[]JSONEach item
tip_percentages (anyOf 1)[] (anyOf 1)integerAlternative
tip_percentages (anyOf 1)[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
tip_percentages (anyOf 2)nullAlternative

Get Terminal Checkout — response body — checkout payment options accept partial authorization, autocomplete, delay action, delay duration

FieldTypePresenceDescription and constraints
$objectRoot
accept_partial_authorizationJSONOptional
accept_partial_authorization (anyOf 1)booleanAlternativeIf set to `true` and charging a Square Gift Card, a payment might be returned with
`amount_money` equal to less than what was requested. For example, a request for $20 when charging
a Square Gift Card with a balance of $5 results in an APPROVED payment of $5. You might choose
to prompt the buyer for an additional payment to cover the remainder or cancel the Gift Card
payment.

This parameter can only be set for a delayed capture payment (`autocomplete=false`).

For more information, see [Take Partial Payments](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/partial-payments-with-gift-cards).

Default: false
accept_partial_authorization (anyOf 2)nullAlternative
autocompleteJSONOptional
autocomplete (anyOf 1)booleanAlternativeIndicates whether the `Payment` objects created from this `TerminalCheckout` are
automatically `COMPLETED` or left in an `APPROVED` state for later modification.

Default: true
autocomplete (anyOf 2)nullAlternative
delay_actionJSONOptional
delay_action (anyOf 1)stringAlternativeDescribes the action to be applied to a delayed capture payment when the delay_duration
has elapsed.
The action to be applied to the `Payment` when the delay_duration has elapsed.
The action must be CANCEL or COMPLETE.

The action cannot be set to COMPLETE if an `order_id` is present on the TerminalCheckout.

This parameter can only be set for a delayed capture payment (`autocomplete=false`). For more
information, see [Delayed Capture](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture#time-threshold).

Default: CANCEL
See [DelayAction](#type-delayaction) for possible values
Known values: CANCEL, COMPLETE
delay_action (anyOf 2)nullAlternative
delay_durationJSONOptional
delay_duration (anyOf 1)stringAlternativeThe duration of time after the payment's creation when Square automatically resolves the
payment. This automatic resolution applies only to payments that do not reach a terminal state
(`COMPLETED` or `CANCELED`) before the `delay_duration` time period.

This parameter should be specified as a time duration, in RFC 3339 format, with a minimum value
of 1 minute and a maximum value of 36 hours. This feature is only supported for card payments,
and all payments will be considered card-present.

This parameter can only be set for a delayed capture payment (`autocomplete=false`). For more
information, see [Delayed Capture](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture#time-threshold).

Default: "PT36H" (36 hours) from the creation time
delay_duration (anyOf 2)nullAlternative

Get Terminal Refund — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalInformation about errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
refundModelOptionalExpand Get Terminal Refund — response body — refund
The requested `Refund`.

Referenced models: Get Shift — response body — errors item, Get Terminal Refund — response body — refund

Get Terminal Refund — response body — refund

FieldTypePresenceDescription and constraints
$objectRootRepresents a payment refund processed by the Square Terminal. Only supports Interac (Canadian debit network) payment refunds.
amount_moneyModelRequired within parentExpand Pay Order — response body — order total money
The amount of money, inclusive of `tax_money`, that the `TerminalRefund` should return.
This value is limited to the amount taken in the original payment minus any completed or
pending refunds.
app_idstringOptionalThe ID of the application that created the refund.
Read only: true
cancel_reasonstringOptionalPresent if the status is `CANCELED`.
See [ActionCancelReason](#type-actioncancelreason) for possible values
Known values: BUYER_CANCELED, SELLER_CANCELED, TIMED_OUT
Read only: true
created_atstringOptionalThe time when the `TerminalRefund` was created, as an RFC 3339 timestamp.
Read only: true
deadline_durationJSONOptional
deadline_duration (anyOf 1)stringAlternativeThe RFC 3339 duration, after which the refund is automatically canceled.
A `TerminalRefund` that is `PENDING` is automatically `CANCELED` and has a cancellation reason
of `TIMED_OUT`.

Default: 5 minutes from creation.

Maximum: 5 minutes
deadline_duration (anyOf 2)nullAlternative
device_idstringRequired within parentThe unique ID of the device intended for this `TerminalRefund`.
The Id can be retrieved from /v2/devices api.
idstringOptionalA unique ID for this `TerminalRefund`.
Maximum length: 255
Minimum length: 10
Read only: true
location_idstringOptionalThe location of the device where the `TerminalRefund` was directed.
Maximum length: 64
Read only: true
order_idstringOptionalThe reference to the Square order ID for the payment identified by the `payment_id`.
Read only: true
payment_idstringRequired within parentThe unique ID of the payment being refunded.
Minimum length: 1
reasonstringRequired within parentA description of the reason for the refund.
Maximum length: 192
refund_idstringOptionalThe reference to the payment refund created by completing this `TerminalRefund`.
Read only: true
statusstringOptionalThe status of the `TerminalRefund`.
Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, or `COMPLETED`.
Read only: true
updated_atstringOptionalThe time when the `TerminalRefund` was last updated, as an RFC 3339 timestamp.
Read only: true

Referenced models: Pay Order — response body — order total money

GetTerminalAction — response body — action / data_collection_options / input_type: EMAIL, PHONE NUMBER

FieldTypePresenceDescription and constraints
$objectRoot
bodystringRequired within parentThe body text to display under the title in the data collection screen flow on the
Terminal.
Maximum length: 10000
Minimum length: 1
collected_dataModelOptionalExpand GetTerminalAction — response body — action / data_collection_options / input_type: EMAIL, PHONE NUMBER collected data
The buyer’s input text from the data collection screen.
Read only: true
input_typestringRequired within parentDescribes the input type of the data.
Represents the type of the input text.
See [InputType](#type-inputtype) for possible values
Known values: EMAIL, PHONE_NUMBER
titlestringRequired within parentThe title text to display in the data collection flow on the Terminal.
Maximum length: 250
Minimum length: 1

Referenced models: GetTerminalAction — response body — action / data_collection_options / input_type: EMAIL, PHONE NUMBER collected data

GetTerminalAction — response body — action / data_collection_options / input_type: EMAIL, PHONE NUMBER collected data

FieldTypePresenceDescription and constraints
$objectRoot
input_textstringOptionalThe buyer's input text.
Read only: true

Search Terminal Actions — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
cursorstringOptionalA pagination cursor returned by a previous call to this endpoint.
Provide this to retrieve the next set of results for the original query.
See [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination) for more
information.
limitintegerOptionalLimit the number of results returned for a single request.
Maximum: 100
Minimum: 1
queryModelOptionalExpand Search Terminal Actions — request body — body query
Queries terminal actions based on given conditions and sort order.
Leaving this unset will return all actions with the default sort order.

Referenced models: Search Terminal Actions — request body — body query

Search Terminal Actions — request body — body query

FieldTypePresenceDescription and constraints
$objectRoot
filterJSONOptional
filter (anyOf 1)ModelAlternativeExpand Search Terminal Actions — request body — body query filter created at, device id, status, type
Options for filtering returned `TerminalAction`s
filter (anyOf 2)nullAlternative
sortJSONOptional
sort (anyOf 1)ModelAlternativeExpand Search Terminal Actions — request body — body query sort sort order
Option for sorting returned `TerminalAction` objects.
sort (anyOf 2)nullAlternative

Referenced models: Search Terminal Actions — request body — body query filter created at, device id, status, type, Search Terminal Actions — request body — body query sort sort order

Search Terminal Actions — request body — body query filter created at, device id, status, type

FieldTypePresenceDescription and constraints
$objectRoot
created_atModelOptionalExpand Search Availability — request body — body query filter start at range
Time range for the beginning of the reporting period. Inclusive.
Default value: The current time minus one day.
Note that `TerminalAction`s are available for 30 days after creation.
device_idJSONOptional
device_id (anyOf 1)stringAlternative`TerminalAction`s associated with a specific device. If no device is specified then all
`TerminalAction`s for the merchant will be displayed.
device_id (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeFilter results with the desired status of the `TerminalAction`
Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, `COMPLETED`
status (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeDescribes the type of this unit and indicates which field contains the unit information. This is an ‘open’ enum.
Filter results with the requested ActionType.
See [TerminalActionActionType](#type-terminalactionactiontype) for possible values
One of: QR_CODE, PING, SAVE_CARD, SIGNATURE, CONFIRMATION, RECEIPT, DATA_COLLECTION, SELECT
type (anyOf 2)nullAlternative

Referenced models: Search Availability — request body — body query filter start at range

Search Terminal Actions — request body — body query sort sort order

FieldTypePresenceDescription and constraints
$objectRoot
sort_orderJSONOptional
sort_order (anyOf 1)stringAlternativeThe order (e.g., chronological or alphabetical) in which results from a request are returned.
The order in which results are listed.
- `ASC` - Oldest to newest.
- `DESC` - Newest to oldest (default).
See [SortOrder](#type-sortorder) for possible values
One of: DESC, ASC
sort_order (anyOf 2)nullAlternative

Search Terminal Actions — response body

FieldTypePresenceDescription and constraints
$objectRoot
actionarrayOptionalThe requested search result of `TerminalAction`s.
action[]ModelEach itemExpand Get Terminal Action — response body — action
cursorstringOptionalThe pagination cursor to be used in a subsequent request. If empty,
this is the final response.

See [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination) for more
information.
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item, Get Terminal Action — response body — action

Search Terminal Checkouts — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
cursorstringOptionalA pagination cursor returned by a previous call to this endpoint.
Provide this cursor to retrieve the next set of results for the original query.
See [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination) for more information.
limitintegerOptionalLimits the number of results returned for a single request.
Maximum: 100
Minimum: 1
queryModelOptionalExpand Search Terminal Checkouts — request body — body query
Queries Terminal checkouts based on given conditions and the sort order.
Leaving these unset returns all checkouts with the default sort order.

Referenced models: Search Terminal Checkouts — request body — body query

Search Terminal Checkouts — request body — body query

FieldTypePresenceDescription and constraints
$objectRoot
filterJSONOptional
filter (anyOf 1)ModelAlternativeExpand Search Terminal Checkouts — request body — body query filter created at, device id, status
Options for filtering returned `TerminalCheckout` objects.
filter (anyOf 2)nullAlternative
sortJSONOptional
sort (anyOf 1)ModelAlternativeExpand Search Terminal Checkouts — request body — body query sort sort order
Option for sorting returned `TerminalCheckout` objects.
sort (anyOf 2)nullAlternative

Referenced models: Search Terminal Checkouts — request body — body query filter created at, device id, status, Search Terminal Checkouts — request body — body query sort sort order

Search Terminal Checkouts — request body — body query filter created at, device id, status

FieldTypePresenceDescription and constraints
$objectRoot
created_atModelOptionalExpand Search Availability — request body — body query filter start at range
The time range for the beginning of the reporting period, which is inclusive.
Default value: The current time minus one day.
Note that `TerminalCheckout`s are available for 30 days after creation.
device_idJSONOptional
device_id (anyOf 1)stringAlternativeThe `TerminalCheckout` objects associated with a specific device. If no device is specified, then all
`TerminalCheckout` objects for the merchant are displayed.
device_id (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeFiltered results with the desired status of the `TerminalCheckout`.
Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, `COMPLETED`
status (anyOf 2)nullAlternative

Referenced models: Search Availability — request body — body query filter start at range

Search Terminal Checkouts — request body — body query sort sort order

FieldTypePresenceDescription and constraints
$objectRoot
sort_orderJSONOptional
sort_order (anyOf 1)stringAlternativeThe order (e.g., chronological or alphabetical) in which results from a request are returned.
The order in which results are listed.
Default: `DESC`
See [SortOrder](#type-sortorder) for possible values
One of: DESC, ASC
sort_order (anyOf 2)nullAlternative

Search Terminal Checkouts — response body

FieldTypePresenceDescription and constraints
$objectRoot
checkoutsarrayOptionalThe requested search result of `TerminalCheckout` objects.
checkouts[]ModelEach itemExpand Get Terminal Checkout — response body — checkout
cursorstringOptionalThe pagination cursor to be used in a subsequent request. If empty,
this is the final response.

See [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination) for more information.
errorsarrayOptionalInformation about errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item, Get Terminal Checkout — response body — checkout

Search Terminal Refunds — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
cursorstringOptionalA pagination cursor returned by a previous call to this endpoint.
Provide this cursor to retrieve the next set of results for the original query.
limitintegerOptionalLimits the number of results returned for a single request.
Maximum: 100
Minimum: 1
queryModelOptionalExpand Search Terminal Refunds — request body — body query
Queries the Terminal refunds based on given conditions and the sort order. Calling
`SearchTerminalRefunds` without an explicit query parameter returns all available
refunds with the default sort order.

Referenced models: Search Terminal Refunds — request body — body query

Search Terminal Refunds — request body — body query

FieldTypePresenceDescription and constraints
$objectRoot
filterJSONOptional
filter (anyOf 1)ModelAlternativeExpand Search Terminal Refunds — request body — body query filter created at, device id, status
The filter for the Terminal refund query.
filter (anyOf 2)nullAlternative
sortJSONOptional
sort (anyOf 1)ModelAlternativeExpand Search Terminal Refunds — request body — body query sort sort order
The sort order for the Terminal refund query.
sort (anyOf 2)nullAlternative

Referenced models: Search Terminal Refunds — request body — body query filter created at, device id, status, Search Terminal Refunds — request body — body query sort sort order

Search Terminal Refunds — request body — body query filter created at, device id, status

FieldTypePresenceDescription and constraints
$objectRoot
created_atModelOptionalExpand Search Availability — request body — body query filter start at range
The timestamp for the beginning of the reporting period, in RFC 3339 format. Inclusive.
Default value: The current time minus one day.
Note that `TerminalRefund`s are available for 30 days after creation.
device_idJSONOptional
device_id (anyOf 1)stringAlternative`TerminalRefund` objects associated with a specific device. If no device is specified, then all
`TerminalRefund` objects for the signed-in account are displayed.
device_id (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeFiltered results with the desired status of the `TerminalRefund`.
Options: `PENDING`, `IN_PROGRESS`, `CANCEL_REQUESTED`, `CANCELED`, or `COMPLETED`.
status (anyOf 2)nullAlternative

Referenced models: Search Availability — request body — body query filter start at range

Search Terminal Refunds — request body — body query sort sort order

FieldTypePresenceDescription and constraints
$objectRoot
sort_orderJSONOptional
sort_order (anyOf 1)stringAlternativeThe order in which results are listed.
- `ASC` - Oldest to newest.
- `DESC` - Newest to oldest (default).
sort_order (anyOf 2)nullAlternative

Search Terminal Refunds — response body

FieldTypePresenceDescription and constraints
$objectRoot
cursorstringOptionalThe pagination cursor to be used in a subsequent request. If empty,
this is the final response.

See [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination) for more information.
errorsarrayOptionalInformation about errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
refundsarrayOptionalThe requested search result of `TerminalRefund` objects.
refunds[]ModelEach itemExpand Get Terminal Refund — response body — refund

Referenced models: Get Shift — response body — errors item, Get Terminal Refund — response body — refund

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.