Skip to content

Square: Checkout schemas

47 Square schemas with complete fields and constraints.

← Checkout operations · All schemas

Create Checkout — request body — body

FieldTypePresenceDescription and constraints
$objectRootDefines the parameters that can be included in the body of
a request to the `CreateCheckout` endpoint.
additional_recipientsarrayOptionalThe basic primitive of a multi-party transaction. The value is optional.
The transaction facilitated by you can be split from here.

If you provide this value, the `amount_money` value in your `additional_recipients` field
cannot be more than 90% of the `total_money` calculated by Square for your order.
The `location_id` must be a valid seller location where the checkout is occurring.

This field requires `PAYMENTS_WRITE_ADDITIONAL_RECIPIENTS` OAuth permission.

This field is currently not supported in the Square Sandbox.
additional_recipients[]ModelEach itemExpand Create Checkout — request body — body additional recipients item
ask_for_shipping_addressbooleanOptionalIf `true`, Square Checkout collects shipping information on your behalf and stores
that information with the transaction information in the Square Seller Dashboard.

Default: `false`.
idempotency_keystringRequired within parentA unique string that identifies this checkout among others you have created. It can be
any valid string but must be unique for every order sent to Square Checkout for a given location ID.

The idempotency key is used to avoid processing the same order more than once. If you are
unsure whether a particular checkout was created successfully, you can attempt it again with
the same idempotency key and all the same other parameters without worrying about creating duplicates.

You should use a random number/string generator native to the language
you are working in to generate strings for your idempotency keys.

For more information, see [Idempotency](https://developer.squareup.com/docs/working-with-apis/idempotency).
Maximum length: 192
Minimum length: 1
merchant_support_emailstringOptionalThe email address to display on the Square Checkout confirmation page
and confirmation email that the buyer can use to contact the seller.

If this value is not set, the confirmation page and email display the
primary email address associated with the seller's Square account.

Default: none; only exists if explicitly set.
Maximum length: 254
notestringOptionalAn optional note to associate with the `checkout` object.

This value cannot exceed 60 characters.
Maximum length: 60
orderModelRequired within parentExpand Create Order — request body — body
The order including line items to be checked out.
pre_populate_buyer_emailstringOptionalIf provided, the buyer's email is prepopulated on the checkout page
as an editable text field.

Default: none; only exists if explicitly set.
Maximum length: 254
pre_populate_shipping_addressModelOptionalExpand Create Customer — request body — body address
If provided, the buyer's shipping information is prepopulated on the
checkout page as editable text fields.

Default: none; only exists if explicitly set.
redirect_urlstringOptionalThe URL to redirect to after the checkout is completed with `checkoutId`,
`transactionId`, and `referenceId` appended as URL parameters. For example,
if the provided redirect URL is `http://www.example.com/order-complete`, a
successful transaction redirects the customer to:

`http://www.example.com/order-complete?checkoutId=xxxxxx&referenceId=xxxxxx&transactionId=xxxxxx`

If you do not provide a redirect URL, Square Checkout displays an order
confirmation page on your behalf; however, it is strongly recommended that
you provide a redirect URL so you can verify the transaction results and
finalize the order through your existing/normal confirmation workflow.

Default: none; only exists if explicitly set.
Maximum length: 800

Referenced models: Create Customer — request body — body address, Create Checkout — request body — body additional recipients item, Create Order — request body — body

Create Checkout — request body — body additional recipients item

FieldTypePresenceDescription and constraints
$objectRootRepresents an additional recipient (other than the merchant) entitled to a portion of the tender.
Support is currently limited to USD, CAD and GBP currencies
amount_moneyModelRequired within parentExpand Create Payment — request body — body tip money
The amount of money distributed to the recipient.
descriptionstringRequired within parentThe description of the additional recipient.
Maximum length: 100
Minimum length: 1
location_idstringRequired within parentThe location ID for a recipient (other than the merchant) receiving a portion of the tender.
Maximum length: 50
Minimum length: 1

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

Create Checkout — response body

FieldTypePresenceDescription and constraints
$objectRootDefines the fields that are included in the response body of
a request to the `CreateCheckout` endpoint.
checkoutModelOptionalExpand Create Checkout — response body — checkout
The newly created `checkout` object associated with the provided idempotency key.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

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

Create Checkout — response body — checkout

FieldTypePresenceDescription and constraints
$objectRootSquare Checkout lets merchants accept online payments for supported
payment types using a checkout workflow hosted on squareup.com.
additional_recipientsJSONOptional
additional_recipients (anyOf 1)arrayAlternativeAdditional recipients (other than the merchant) receiving a portion of this checkout.
For example, fees assessed on the purchase by a third party integration.
additional_recipients (anyOf 1)[]ModelEach itemExpand Create Checkout — response body — checkout additional recipients array item
additional_recipients (anyOf 2)nullAlternative
ask_for_shipping_addressJSONOptional
ask_for_shipping_address (anyOf 1)booleanAlternativeIf `true`, Square Checkout will collect shipping information on your
behalf and store that information with the transaction information in your
Square Dashboard.

Default: `false`.
ask_for_shipping_address (anyOf 2)nullAlternative
checkout_page_urlJSONOptional
checkout_page_url (anyOf 1)stringAlternativeThe URL that the buyer's browser should be redirected to after the
checkout is completed.
checkout_page_url (anyOf 2)nullAlternative
created_atstringOptionalThe time when the checkout was created, in RFC 3339 format.
Read only: true
idstringOptionalID generated by Square Checkout when a new checkout is requested.
merchant_support_emailJSONOptional
merchant_support_email (anyOf 1)stringAlternativeThe email address to display on the Square Checkout confirmation page
and confirmation email that the buyer can use to contact the merchant.

If this value is not set, the confirmation page and email will display the
primary email address associated with the merchant's Square account.

Default: none; only exists if explicitly set.
merchant_support_email (anyOf 2)nullAlternative
orderJSONOptional
order (anyOf 1)ModelAlternativeExpand Pay Order — response body — order
Order to be checked out.
order (anyOf 2)nullAlternative
pre_populate_buyer_emailJSONOptional
pre_populate_buyer_email (anyOf 1)stringAlternativeIf provided, the buyer's email is pre-populated on the checkout page
as an editable text field.

Default: none; only exists if explicitly set.
pre_populate_buyer_email (anyOf 2)nullAlternative
pre_populate_shipping_addressJSONOptional
pre_populate_shipping_address (anyOf 1)ModelAlternativeExpand Get Payment — response body — payment billing address
If provided, the buyer's shipping info is pre-populated on the
checkout page as editable text fields.

Default: none; only exists if explicitly set.
pre_populate_shipping_address (anyOf 2)nullAlternative
redirect_urlJSONOptional
redirect_url (anyOf 1)stringAlternativeThe URL to redirect to after checkout is completed with `checkoutId`,
Square's `orderId`, `transactionId`, and `referenceId` appended as URL
parameters. For example, if the provided redirect_url is
`http://www.example.com/order-complete`, a successful transaction redirects
the customer to:

<pre><code>http://www.example.com/order-complete?checkoutId=xxxxxx&amp;orderId=xxxxxx&amp;referenceId=xxxxxx&amp;transactionId=xxxxxx</code></pre>

If you do not provide a redirect URL, Square Checkout will display an order
confirmation page on your behalf; however Square strongly recommends that
you provide a redirect URL so you can verify the transaction results and
finalize the order through your existing/normal confirmation workflow.
redirect_url (anyOf 2)nullAlternative

Referenced models: Create Checkout — response body — checkout additional recipients array item, Get Payment — response body — payment billing address, Pay Order — response body — order

Create Checkout — response body — checkout additional recipients array item

FieldTypePresenceDescription and constraints
$objectRootRepresents an additional recipient (other than the merchant) receiving a portion of this tender.
amount_moneyModelRequired within parentExpand Pay Order — response body — order total money
The amount of money distributed to the recipient.
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the additional recipient.
Maximum length: 100
description (anyOf 2)nullAlternative
location_idstringRequired within parentThe location ID for a recipient (other than the merchant) receiving a portion of this tender.
Maximum length: 50
Minimum length: 1
receivable_idJSONOptional
receivable_id (anyOf 1)stringAlternativeThe unique ID for the RETIRED `AdditionalRecipientReceivable` object. This field should be empty for any `AdditionalRecipient` objects created after the retirement.
Maximum length: 192
receivable_id (anyOf 2)nullAlternative

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

Create Payment Link — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
checkout_optionsModelOptionalExpand Create Payment Link — request body — body checkout options
Describes optional fields to add to the resulting checkout page.
For more information,
see [Optional Checkout Configurations](https://developer.squareup.com/docs/checkout-api/optional-checkout-configurations).
descriptionstringOptionalA description of the payment link. You provide this optional description that is useful in your
application context. It is not used anywhere.
Maximum length: 4096
idempotency_keystringOptionalA unique string that identifies this `CreatePaymentLinkRequest` request.
If you do not provide a unique string (or provide an empty string as the value),
the endpoint treats each request as independent.

For more information, see [Idempotency](https://developer.squareup.com/docs/working-with-apis/idempotency).
Maximum length: 192
orderModelOptionalExpand Create Order — request body — body order
Describes the `Order` for which to create a checkout link.
For more information,
see [Square Order Checkout](https://developer.squareup.com/docs/checkout-api/square-order-checkout).
payment_notestringOptionalA note for the payment. After processing the payment, Square adds this note to the resulting `Payment` as well as the post payment confirmation email.
Maximum length: 500
pre_populated_dataModelOptionalExpand Create Payment Link — request body — body pre populated data
Describes fields to prepopulate in the resulting checkout page.
For more information, see [Prepopulate the shipping address](https://developer.squareup.com/docs/checkout-api/optional-checkout-configurations#prepopulate-the-shipping-address).
quick_payModelOptionalExpand Create Payment Link — request body — body quick pay
Describes an ad hoc item and price for which to generate a quick pay checkout link.
For more information,
see [Quick Pay Checkout](https://developer.squareup.com/docs/checkout-api/quick-pay-checkout).

Referenced models: Create Payment Link — request body — body checkout options, Create Order — request body — body order, Create Payment Link — request body — body pre populated data, Create Payment Link — request body — body quick pay

Create Payment Link — request body — body checkout options

FieldTypePresenceDescription and constraints
$objectRoot
accepted_payment_methodsJSONOptional
accepted_payment_methods (anyOf 1)ModelAlternativeExpand Create Payment Link — request body — body checkout options accepted payment methods afterpay clearpay, apple pay, bank account, cash app pay, google pay
The methods allowed for buyers during checkout.
accepted_payment_methods (anyOf 2)nullAlternative
allow_tippingJSONOptional
allow_tipping (anyOf 1)booleanAlternativeIndicates whether the payment allows tipping.
allow_tipping (anyOf 2)nullAlternative
app_fee_moneyJSONOptional
app_fee_money (anyOf 1)ModelAlternativeExpand Create Payment — request body — body tip money
The amount of money that 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/common-data-types/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/collect-fees/additional-considerations#permissions).
app_fee_money (anyOf 2)nullAlternative
ask_for_shipping_addressJSONOptional
ask_for_shipping_address (anyOf 1)booleanAlternativeIndicates whether to include the address fields in the payment form.
ask_for_shipping_address (anyOf 2)nullAlternative
custom_fieldsJSONOptional
custom_fields (anyOf 1)arrayAlternativeThe custom fields requesting information from the buyer.
custom_fields (anyOf 1)[]ModelEach itemExpand Create Payment Link — request body — body checkout options custom fields array item
custom_fields (anyOf 2)nullAlternative
enable_couponJSONOptional
enable_coupon (anyOf 1)booleanAlternativeIndicates whether to include the `Add coupon` section for the buyer to provide a Square marketing coupon in the payment form.
enable_coupon (anyOf 2)nullAlternative
enable_loyaltyJSONOptional
enable_loyalty (anyOf 1)booleanAlternativeIndicates whether to include the `REWARDS` section for the buyer to opt in to loyalty, redeem rewards in the payment form, or both.
enable_loyalty (anyOf 2)nullAlternative
merchant_support_emailJSONOptional
merchant_support_email (anyOf 1)stringAlternativeThe email address that buyers can use to contact the seller.
Maximum length: 256
merchant_support_email (anyOf 2)nullAlternative
phone_collectionJSONOptional
phone_collection (anyOf 1)stringAlternativeIndicates how the buyer's phone number is collected on the checkout page.
When `REQUIRED` (default), the buyer must provide a phone number to complete checkout.
When `OPTIONAL`, the phone field is shown but not required. When `HIDDEN`, the field
is not shown. Leaving this field unset preserves the historical behavior (`REQUIRED`).
See [PhoneCollection](#type-phonecollection) for possible values
One of: REQUIRED, OPTIONAL, HIDDEN
phone_collection (anyOf 2)nullAlternative
redirect_urlJSONOptional
redirect_url (anyOf 1)stringAlternativeThe confirmation page URL to redirect the buyer to after Square processes the payment.
Maximum length: 2048
redirect_url (anyOf 2)nullAlternative
shipping_feeJSONOptional
shipping_fee (anyOf 1)ModelAlternativeExpand Create Payment Link — request body — body checkout options shipping fee charge, name
The fee associated with shipping to be applied to the `Order` as a service charge.
shipping_fee (anyOf 2)nullAlternative
subscription_plan_idJSONOptional
subscription_plan_id (anyOf 1)stringAlternativeThe ID of the subscription plan for the buyer to pay and subscribe.
For more information, see [Subscription Plan Checkout](https://developer.squareup.com/docs/checkout-api/subscription-plan-checkout).
Maximum length: 255
subscription_plan_id (anyOf 2)nullAlternative

Referenced models: Create Payment Link — request body — body checkout options accepted payment methods afterpay clearpay, apple pay, bank account, cash app pay, google pay, Create Payment Link — request body — body checkout options custom fields array item, Create Payment — request body — body tip money, Create Payment Link — request body — body checkout options shipping fee charge, name

Create Payment Link — request body — body checkout options accepted payment methods afterpay clearpay, apple pay, bank account, cash app pay, google pay

FieldTypePresenceDescription and constraints
$objectRoot
afterpay_clearpayJSONOptional
afterpay_clearpay (anyOf 1)booleanAlternativeWhether Afterpay/Clearpay is accepted at checkout.
afterpay_clearpay (anyOf 2)nullAlternative
apple_payJSONOptional
apple_pay (anyOf 1)booleanAlternativeWhether Apple Pay is accepted at checkout.
apple_pay (anyOf 2)nullAlternative
bank_accountJSONOptional
bank_account (anyOf 1)booleanAlternativeWhether ACH bank transfer payments are accepted at checkout.
When enabled, buyers can pay directly from their bank account via Plaid.
This payment method is supported only for seller locations in the United States.
When omitted from CreatePaymentLink, ACH is enabled for eligible one-time USD
payments unless the seller has disabled ACH in their merchant settings.
Set this field to false to disable ACH for the link. Existing links retain
their saved setting when this field is omitted from an update.
bank_account (anyOf 2)nullAlternative
cash_app_payJSONOptional
cash_app_pay (anyOf 1)booleanAlternativeWhether Cash App Pay is accepted at checkout.
cash_app_pay (anyOf 2)nullAlternative
google_payJSONOptional
google_pay (anyOf 1)booleanAlternativeWhether Google Pay is accepted at checkout.
google_pay (anyOf 2)nullAlternative

Create Payment Link — request body — body checkout options custom fields array item

FieldTypePresenceDescription and constraints
$objectRootDescribes a custom form field to add to the checkout page to collect more information from buyers during checkout.
For more information,
see [Specify checkout options](https://developer.squareup.com/docs/checkout-api/optional-checkout-configurations#specify-checkout-options-1).
titlestringRequired within parentThe title of the custom field.
Maximum length: 50
Minimum length: 1

Create Payment Link — request body — body checkout options shipping fee charge, name

FieldTypePresenceDescription and constraints
$objectRoot
chargeModelRequired within parentExpand Create Payment — request body — body tip money
The amount and currency for the shipping fee.
nameJSONOptional
name (anyOf 1)stringAlternativeThe name for the shipping fee.
name (anyOf 2)nullAlternative

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

Create Payment Link — request body — body pre populated data

FieldTypePresenceDescription and constraints
$objectRootDescribes buyer data to prepopulate in the payment form.
For more information,
see [Optional Checkout Configurations](https://developer.squareup.com/docs/checkout-api/optional-checkout-configurations).
buyer_addressJSONOptional
buyer_address (anyOf 1)ModelAlternativeExpand Create Customer — request body — body address
The buyer address to prepopulate in the payment form.
buyer_address (anyOf 2)nullAlternative
buyer_emailJSONOptional
buyer_email (anyOf 1)stringAlternativeThe buyer email to prepopulate in the payment form.
Maximum length: 256
buyer_email (anyOf 2)nullAlternative
buyer_phone_numberJSONOptional
buyer_phone_number (anyOf 1)stringAlternativeThe buyer phone number to prepopulate in the payment form.
Maximum length: 17
buyer_phone_number (anyOf 2)nullAlternative

Referenced models: Create Customer — request body — body address

Create Payment Link — request body — body quick pay

FieldTypePresenceDescription and constraints
$objectRootDescribes an ad hoc item and price to generate a quick pay checkout link.
For more information,
see [Quick Pay Checkout](https://developer.squareup.com/docs/checkout-api/quick-pay-checkout).
location_idstringRequired within parentThe ID of the business location the checkout is associated with.
namestringRequired within parentThe ad hoc item name. In the resulting `Order`, this name appears as the line item name.
Maximum length: 255
Minimum length: 1
price_moneyModelRequired within parentExpand Create Payment — request body — body tip money
The price of the item.

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

Create Payment Link — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
payment_linkModelOptionalExpand Create Payment Link — response body — payment link
The created payment link.
related_resourcesModelOptionalExpand Create Payment Link — response body — related resources
The list of related objects.

Referenced models: Get Shift — response body — errors item, Create Payment Link — response body — payment link, Create Payment Link — response body — related resources

Create Payment Link — response body — payment link

FieldTypePresenceDescription and constraints
$objectRoot
checkout_optionsJSONOptional
checkout_options (anyOf 1)ModelAlternativeExpand Create Payment Link — response body — payment link checkout options accepted payment methods, allow tipping, app fee money, ask for shipping address, custom fields, enable coupon, enable loyalty, merchant support email, phone collection, redirect url, shipping fee, subscription plan id
The checkout options configured for the payment link.
For more information, see [Optional Checkout Configurations](https://developer.squareup.com/docs/checkout-api/optional-checkout-configurations).
checkout_options (anyOf 2)nullAlternative
created_atstringOptionalThe timestamp when the payment link was created, in RFC 3339 format.
Read only: true
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe optional description of the `payment_link` object.
It is primarily for use by your application and is not used anywhere.
Maximum length: 4096
description (anyOf 2)nullAlternative
idstringOptionalThe Square-assigned ID of the payment link.
Read only: true
long_urlstringOptionalThe long URL of the payment link.
Maximum length: 255
Read only: true
order_idstringOptionalThe ID of the order associated with the payment link.
Maximum length: 192
Read only: true
payment_noteJSONOptional
payment_note (anyOf 1)stringAlternativeA note for the payment. After processing the payment, Square adds this note to the resulting `Payment` as well as the post payment confirmation email.
Maximum length: 500
payment_note (anyOf 2)nullAlternative
pre_populated_dataJSONOptional
pre_populated_data (anyOf 1)ModelAlternativeExpand Create Payment Link — response body — payment link pre populated data buyer address, buyer email, buyer phone number
Describes buyer data to prepopulate
on the checkout page.
pre_populated_data (anyOf 2)nullAlternative
updated_atstringOptionalThe timestamp when the payment link was last updated, in RFC 3339 format.
Read only: true
urlstringOptionalThe shortened URL of the payment link.
Maximum length: 255
Read only: true
versionJSONRequired within parent
version (anyOf 1)integerAlternativeThe Square-assigned version number, which is incremented each time an update is committed to the payment link.
Maximum: 65535
version (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Create Payment Link — response body — payment link checkout options accepted payment methods, allow tipping, app fee money, ask for shipping address, custom fields, enable coupon, enable loyalty, merchant support email, phone collection, redirect url, shipping fee, subscription plan id, Create Payment Link — response body — payment link pre populated data buyer address, buyer email, buyer phone number

Create Payment Link — response body — payment link checkout options accepted payment methods, allow tipping, app fee money, ask for shipping address, custom fields, enable coupon, enable loyalty, merchant support email, phone collection, redirect url, shipping fee, subscription plan id

FieldTypePresenceDescription and constraints
$objectRoot
accepted_payment_methodsJSONOptional
accepted_payment_methods (anyOf 1)ModelAlternativeExpand Create Payment Link — request body — body checkout options accepted payment methods afterpay clearpay, apple pay, bank account, cash app pay, google pay
The methods allowed for buyers during checkout.
accepted_payment_methods (anyOf 2)nullAlternative
allow_tippingJSONOptional
allow_tipping (anyOf 1)booleanAlternativeIndicates whether the payment allows tipping.
allow_tipping (anyOf 2)nullAlternative
app_fee_moneyJSONOptional
app_fee_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money that 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/common-data-types/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/collect-fees/additional-considerations#permissions).
app_fee_money (anyOf 2)nullAlternative
ask_for_shipping_addressJSONOptional
ask_for_shipping_address (anyOf 1)booleanAlternativeIndicates whether to include the address fields in the payment form.
ask_for_shipping_address (anyOf 2)nullAlternative
custom_fieldsJSONOptional
custom_fields (anyOf 1)arrayAlternativeThe custom fields requesting information from the buyer.
custom_fields (anyOf 1)[]ModelEach itemExpand Create Payment Link — request body — body checkout options custom fields array item
custom_fields (anyOf 2)nullAlternative
enable_couponJSONOptional
enable_coupon (anyOf 1)booleanAlternativeIndicates whether to include the `Add coupon` section for the buyer to provide a Square marketing coupon in the payment form.
enable_coupon (anyOf 2)nullAlternative
enable_loyaltyJSONOptional
enable_loyalty (anyOf 1)booleanAlternativeIndicates whether to include the `REWARDS` section for the buyer to opt in to loyalty, redeem rewards in the payment form, or both.
enable_loyalty (anyOf 2)nullAlternative
merchant_support_emailJSONOptional
merchant_support_email (anyOf 1)stringAlternativeThe email address that buyers can use to contact the seller.
Maximum length: 256
merchant_support_email (anyOf 2)nullAlternative
phone_collectionJSONOptional
phone_collection (anyOf 1)stringAlternativeIndicates how the buyer's phone number is collected on the checkout page.
When `REQUIRED` (default), the buyer must provide a phone number to complete checkout.
When `OPTIONAL`, the phone field is shown but not required. When `HIDDEN`, the field
is not shown. Leaving this field unset preserves the historical behavior (`REQUIRED`).
See [PhoneCollection](#type-phonecollection) for possible values
Known values: REQUIRED, OPTIONAL, HIDDEN
phone_collection (anyOf 2)nullAlternative
redirect_urlJSONOptional
redirect_url (anyOf 1)stringAlternativeThe confirmation page URL to redirect the buyer to after Square processes the payment.
Maximum length: 2048
redirect_url (anyOf 2)nullAlternative
shipping_feeJSONOptional
shipping_fee (anyOf 1)ModelAlternativeExpand Create Payment Link — response body — payment link checkout options accepted payment methods, allow tipping, app fee money, ask for shipping address, custom fields, enable coupon, enable loyalty, merchant support email, phone collection, redirect url, shipping fee, subscription plan id shipping fee charge, name
The fee associated with shipping to be applied to the `Order` as a service charge.
shipping_fee (anyOf 2)nullAlternative
subscription_plan_idJSONOptional
subscription_plan_id (anyOf 1)stringAlternativeThe ID of the subscription plan for the buyer to pay and subscribe.
For more information, see [Subscription Plan Checkout](https://developer.squareup.com/docs/checkout-api/subscription-plan-checkout).
Maximum length: 255
subscription_plan_id (anyOf 2)nullAlternative

Referenced models: Create Payment Link — request body — body checkout options accepted payment methods afterpay clearpay, apple pay, bank account, cash app pay, google pay, Create Payment Link — request body — body checkout options custom fields array item, Pay Order — response body — order total money, Create Payment Link — response body — payment link checkout options accepted payment methods, allow tipping, app fee money, ask for shipping address, custom fields, enable coupon, enable loyalty, merchant support email, phone collection, redirect url, shipping fee, subscription plan id shipping fee charge, name

Create Payment Link — response body — payment link checkout options accepted payment methods, allow tipping, app fee money, ask for shipping address, custom fields, enable coupon, enable loyalty, merchant support email, phone collection, redirect url, shipping fee, subscription plan id shipping fee charge, name

FieldTypePresenceDescription and constraints
$objectRoot
chargeModelRequired within parentExpand Pay Order — response body — order total money
The amount and currency for the shipping fee.
nameJSONOptional
name (anyOf 1)stringAlternativeThe name for the shipping fee.
name (anyOf 2)nullAlternative

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

Create Payment Link — response body — payment link pre populated data buyer address, buyer email, buyer phone number

FieldTypePresenceDescription and constraints
$objectRootDescribes buyer data to prepopulate in the payment form.
For more information,
see [Optional Checkout Configurations](https://developer.squareup.com/docs/checkout-api/optional-checkout-configurations).
buyer_addressJSONOptional
buyer_address (anyOf 1)ModelAlternativeExpand Get Payment — response body — payment billing address
The buyer address to prepopulate in the payment form.
buyer_address (anyOf 2)nullAlternative
buyer_emailJSONOptional
buyer_email (anyOf 1)stringAlternativeThe buyer email to prepopulate in the payment form.
Maximum length: 256
buyer_email (anyOf 2)nullAlternative
buyer_phone_numberJSONOptional
buyer_phone_number (anyOf 1)stringAlternativeThe buyer phone number to prepopulate in the payment form.
Maximum length: 17
buyer_phone_number (anyOf 2)nullAlternative

Referenced models: Get Payment — response body — payment billing address

Create Payment Link — response body — related resources

FieldTypePresenceDescription and constraints
$objectRoot
ordersJSONOptional
orders (anyOf 1)arrayAlternativeThe order associated with the payment link.
orders (anyOf 1)[]ModelEach itemExpand Pay Order — response body — order
orders (anyOf 2)nullAlternative
subscription_plansJSONOptional
subscription_plans (anyOf 1)arrayAlternativeThe subscription plan associated with the payment link.
subscription_plans (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image
subscription_plans (anyOf 2)nullAlternative

Referenced models: Create Catalog Image — response body — image, Pay Order — response body — order

Delete Payment Link — response body

FieldTypePresenceDescription and constraints
$objectRoot
cancelled_order_idstringOptionalThe ID of the order that is canceled. When a payment link is deleted, Square updates the
the `state` (of the order that the checkout link created) to CANCELED.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
idstringOptionalThe ID of the link that is deleted.

Referenced models: Get Shift — response body — errors item

List Payment Links — response body

FieldTypePresenceDescription and constraints
$objectRoot
cursorstringOptionalWhen a response is truncated, it includes a cursor that you can use in a subsequent request
to retrieve the next set of gift cards. If a cursor is not present, this is the final response.
For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).
errorsarrayOptionalErrors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
payment_linksarrayOptionalThe list of payment links.
payment_links[]ModelEach itemExpand Create Payment Link — response body — payment link

Referenced models: Get Shift — response body — errors item, Create Payment Link — response body — payment link

Retrieve Location Settings — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
location_settingsModelOptionalExpand Update Location Settings — response body — location settings
The location settings.

Referenced models: Update Location Settings — response body — location settings, Get Shift — response body — errors item

Retrieve Merchant Settings — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
merchant_settingsModelOptionalExpand Update Merchant Settings — response body — merchant settings
The merchant settings.

Referenced models: Update Merchant Settings — response body — merchant settings, Get Shift — response body — errors item

Retrieve Payment Link — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
payment_linkModelOptionalExpand Create Payment Link — response body — payment link
The payment link that is retrieved.

Referenced models: Get Shift — response body — errors item, Create Payment Link — response body — payment link

Update Location Settings — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
location_settingsModelRequired within parentExpand Update Location Settings — request body — body location settings
Describe your updates using the `location_settings` object. Make sure it contains only the fields that have changed.

Referenced models: Update Location Settings — request body — body location settings

Update Location Settings — request body — body location settings

FieldTypePresenceDescription and constraints
$objectRoot
brandingJSONOptional
branding (anyOf 1)ModelAlternativeExpand Update Location Settings — request body — body location settings branding button color, button shape, header type
The branding settings for this location.
branding (anyOf 2)nullAlternative
couponsJSONOptional
coupons (anyOf 1)ModelAlternativeExpand Update Location Settings — response body — location settings coupons enabled
The coupon settings for this location.
coupons (anyOf 2)nullAlternative
customer_notes_enabledJSONOptional
customer_notes_enabled (anyOf 1)booleanAlternativeIndicates whether customers are allowed to leave notes at checkout.
customer_notes_enabled (anyOf 2)nullAlternative
location_idJSONOptional
location_id (anyOf 1)stringAlternativeThe ID of the location that these settings apply to.
location_id (anyOf 2)nullAlternative
policiesJSONOptional
policies (anyOf 1)arrayAlternativePolicy information is displayed at the bottom of the checkout pages.
You can set a maximum of two policies.
policies (anyOf 1)[]ModelEach itemExpand Update Location Settings — response body — location settings policies array item
policies (anyOf 2)nullAlternative
tippingJSONOptional
tipping (anyOf 1)ModelAlternativeExpand Update Location Settings — request body — body location settings tipping default percent, default smart tip, percentages, smart tipping enabled, smart tips
The tip settings for this location.
tipping (anyOf 2)nullAlternative
updated_atstringOptionalThe timestamp when the settings were last updated, in RFC 3339 format.
Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:
UTC: 2020-01-26T02:25:34Z
Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00
Read only: true

Referenced models: Update Location Settings — request body — body location settings branding button color, button shape, header type, Update Location Settings — response body — location settings coupons enabled, Update Location Settings — response body — location settings policies array item, Update Location Settings — request body — body location settings tipping default percent, default smart tip, percentages, smart tipping enabled, smart tips

Update Location Settings — request body — body location settings branding button color, button shape, header type

FieldTypePresenceDescription and constraints
$objectRoot
button_colorJSONOptional
button_color (anyOf 1)stringAlternativeThe HTML-supported hex color for the button on the checkout page (for example, "#FFFFFF").
Maximum length: 7
Minimum length: 7
button_color (anyOf 2)nullAlternative
button_shapeJSONOptional
button_shape (anyOf 1)stringAlternativeThe shape of the button on the checkout page.
See [ButtonShape](#type-buttonshape) for possible values
One of: SQUARED, ROUNDED, PILL
button_shape (anyOf 2)nullAlternative
header_typeJSONOptional
header_type (anyOf 1)stringAlternativeShow the location logo on the checkout page.
See [HeaderType](#type-headertype) for possible values
One of: BUSINESS_NAME, FRAMED_LOGO, FULL_WIDTH_LOGO
header_type (anyOf 2)nullAlternative

Update Location Settings — request body — body location settings tipping default percent, default smart tip, percentages, smart tipping enabled, smart tips

FieldTypePresenceDescription and constraints
$objectRoot
default_percentJSONOptional
default_percent (anyOf 1)integerAlternativeSet the pre-selected percentage amounts that appear at checkout. If Smart Tip is enabled, this only applies to transactions totaling $10 or more.
default_percent (anyOf 2)nullAlternative
default_smart_tipJSONOptional
default_smart_tip (anyOf 1)ModelAlternativeExpand Create Payment — request body — body tip money
Set the pre-selected whole amount that appears at checkout when Smart Tip is enabled and the transaction amount is less than $10.
default_smart_tip (anyOf 2)nullAlternative
percentagesJSONOptional
percentages (anyOf 1)arrayAlternativeSet three custom percentage amounts that buyers can select at checkout. If Smart Tip is enabled, this only applies to transactions totaling $10 or more.
percentages (anyOf 1)[]integerEach item
percentages (anyOf 2)nullAlternative
smart_tipping_enabledJSONOptional
smart_tipping_enabled (anyOf 1)booleanAlternativeEnables Smart Tip Amounts. If Smart Tip Amounts is enabled, tipping works as follows:
If a transaction is less than $10, the available tipping options include No Tip, $1, $2, or $3.
If a transaction is $10 or more, the available tipping options include No Tip, 15%, 20%, or 25%.
You can set custom percentage amounts with the `percentages` field.
smart_tipping_enabled (anyOf 2)nullAlternative
smart_tipsJSONOptional
smart_tips (anyOf 1)arrayAlternativeShow the Smart Tip Amounts for this location.
smart_tips (anyOf 1)[]ModelEach itemExpand Create Payment — request body — body tip money
smart_tips (anyOf 2)nullAlternative

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

Update Location Settings — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred when updating the location settings.
errors[]ModelEach itemExpand Get Shift — response body — errors item
location_settingsModelOptionalExpand Update Location Settings — response body — location settings
The updated location settings.

Referenced models: Update Location Settings — response body — location settings, Get Shift — response body — errors item

Update Location Settings — response body — location settings

FieldTypePresenceDescription and constraints
$objectRoot
brandingJSONOptional
branding (anyOf 1)ModelAlternativeExpand Update Location Settings — response body — location settings branding button color, button shape, header type
The branding settings for this location.
branding (anyOf 2)nullAlternative
couponsJSONOptional
coupons (anyOf 1)ModelAlternativeExpand Update Location Settings — response body — location settings coupons enabled
The coupon settings for this location.
coupons (anyOf 2)nullAlternative
customer_notes_enabledJSONOptional
customer_notes_enabled (anyOf 1)booleanAlternativeIndicates whether customers are allowed to leave notes at checkout.
customer_notes_enabled (anyOf 2)nullAlternative
location_idJSONOptional
location_id (anyOf 1)stringAlternativeThe ID of the location that these settings apply to.
location_id (anyOf 2)nullAlternative
policiesJSONOptional
policies (anyOf 1)arrayAlternativePolicy information is displayed at the bottom of the checkout pages.
You can set a maximum of two policies.
policies (anyOf 1)[]ModelEach itemExpand Update Location Settings — response body — location settings policies array item
policies (anyOf 2)nullAlternative
tippingJSONOptional
tipping (anyOf 1)ModelAlternativeExpand Update Location Settings — response body — location settings tipping default percent, default smart tip, percentages, smart tipping enabled, smart tips
The tip settings for this location.
tipping (anyOf 2)nullAlternative
updated_atstringOptionalThe timestamp when the settings were last updated, in RFC 3339 format.
Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:
UTC: 2020-01-26T02:25:34Z
Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00
Read only: true

Referenced models: Update Location Settings — response body — location settings coupons enabled, Update Location Settings — response body — location settings policies array item, Update Location Settings — response body — location settings branding button color, button shape, header type, Update Location Settings — response body — location settings tipping default percent, default smart tip, percentages, smart tipping enabled, smart tips

Update Location Settings — response body — location settings branding button color, button shape, header type

FieldTypePresenceDescription and constraints
$objectRoot
button_colorJSONOptional
button_color (anyOf 1)stringAlternativeThe HTML-supported hex color for the button on the checkout page (for example, "#FFFFFF").
Maximum length: 7
Minimum length: 7
button_color (anyOf 2)nullAlternative
button_shapeJSONOptional
button_shape (anyOf 1)stringAlternativeThe shape of the button on the checkout page.
See [ButtonShape](#type-buttonshape) for possible values
Known values: SQUARED, ROUNDED, PILL
button_shape (anyOf 2)nullAlternative
header_typeJSONOptional
header_type (anyOf 1)stringAlternativeShow the location logo on the checkout page.
See [HeaderType](#type-headertype) for possible values
Known values: BUSINESS_NAME, FRAMED_LOGO, FULL_WIDTH_LOGO
header_type (anyOf 2)nullAlternative

Update Location Settings — response body — location settings coupons enabled

FieldTypePresenceDescription and constraints
$objectRoot
enabledJSONOptional
enabled (anyOf 1)booleanAlternativeIndicates whether coupons are enabled for this location.
enabled (anyOf 2)nullAlternative

Update Location Settings — response body — location settings policies array item

FieldTypePresenceDescription and constraints
$objectRoot
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the policy.
Maximum length: 4096
description (anyOf 2)nullAlternative
titleJSONOptional
title (anyOf 1)stringAlternativeThe title of the policy. This is required when setting the description, though you can update it in a different request.
Maximum length: 50
title (anyOf 2)nullAlternative
uidJSONOptional
uid (anyOf 1)stringAlternativeA unique ID to identify the policy when making changes. You must set the UID for policy updates, but it’s optional when setting new policies.
uid (anyOf 2)nullAlternative

Update Location Settings — response body — location settings tipping default percent, default smart tip, percentages, smart tipping enabled, smart tips

FieldTypePresenceDescription and constraints
$objectRoot
default_percentJSONOptional
default_percent (anyOf 1)JSONAlternative
default_percent (anyOf 1) (anyOf 1)integerAlternativeSet the pre-selected percentage amounts that appear at checkout. If Smart Tip is enabled, this only applies to transactions totaling $10 or more.
default_percent (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
default_percent (anyOf 2)nullAlternative
default_smart_tipJSONOptional
default_smart_tip (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
Set the pre-selected whole amount that appears at checkout when Smart Tip is enabled and the transaction amount is less than $10.
default_smart_tip (anyOf 2)nullAlternative
percentagesJSONOptional
percentages (anyOf 1)arrayAlternativeSet three custom percentage amounts that buyers can select at checkout. If Smart Tip is enabled, this only applies to transactions totaling $10 or more.
percentages (anyOf 1)[]JSONEach item
percentages (anyOf 1)[] (anyOf 1)integerAlternative
percentages (anyOf 1)[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
percentages (anyOf 2)nullAlternative
smart_tipping_enabledJSONOptional
smart_tipping_enabled (anyOf 1)booleanAlternativeEnables Smart Tip Amounts. If Smart Tip Amounts is enabled, tipping works as follows:
If a transaction is less than $10, the available tipping options include No Tip, $1, $2, or $3.
If a transaction is $10 or more, the available tipping options include No Tip, 15%, 20%, or 25%.
You can set custom percentage amounts with the `percentages` field.
smart_tipping_enabled (anyOf 2)nullAlternative
smart_tipsJSONOptional
smart_tips (anyOf 1)arrayAlternativeShow the Smart Tip Amounts for this location.
smart_tips (anyOf 1)[]ModelEach itemExpand Pay Order — response body — order total money
smart_tips (anyOf 2)nullAlternative

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

Update Merchant Settings — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
merchant_settingsModelRequired within parentExpand Update Merchant Settings — request body — body merchant settings
Describe your updates using the `merchant_settings` object. Make sure it contains only the fields that have changed.

Referenced models: Update Merchant Settings — request body — body merchant settings

Update Merchant Settings — request body — body merchant settings

FieldTypePresenceDescription and constraints
$objectRoot
payment_methodsJSONOptional
payment_methods (anyOf 1)ModelAlternativeExpand Update Merchant Settings — request body — body merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay
The set of payment methods accepted for the merchant's account.
payment_methods (anyOf 2)nullAlternative
updated_atstringOptionalThe timestamp when the settings were last updated, in RFC 3339 format.
Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:
UTC: 2020-01-26T02:25:34Z
Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00
Read only: true

Referenced models: Update Merchant Settings — request body — body merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay

Update Merchant Settings — request body — body merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay

FieldTypePresenceDescription and constraints
$objectRoot
afterpay_clearpayJSONOptional
afterpay_clearpay (anyOf 1)ModelAlternativeExpand Update Merchant Settings — request body — body merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay
Afterpay/Clearpay.
afterpay_clearpay (anyOf 2)nullAlternative
apple_payJSONOptional
apple_pay (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method
Apple Pay.
apple_pay (anyOf 2)nullAlternative
bank_accountJSONOptional
bank_account (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method
Bank account (ACH). Enabled by default for eligible sellers who have
not saved an ACH preference. A saved enabled or disabled choice takes precedence.
bank_account (anyOf 2)nullAlternative
cash_appJSONOptional
cash_app (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method
Cash App Pay.
cash_app (anyOf 2)nullAlternative
google_payJSONOptional
google_pay (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method
Google Pay.
google_pay (anyOf 2)nullAlternative

Referenced models: Update Merchant Settings — request body — body merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay, Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method

Update Merchant Settings — request body — body merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay

FieldTypePresenceDescription and constraints
$objectRootThe settings allowed for AfterpayClearpay.
enabledbooleanOptionalIndicates whether the payment method is enabled for the account.
Read only: true
item_eligibility_rangeJSONOptional
item_eligibility_range (anyOf 1)ModelAlternativeExpand Update Merchant Settings — request body — body merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay item eligibility range A range of purchase price that qualifies
Afterpay is shown as an option for item totals falling within the configured range.
item_eligibility_range (anyOf 2)nullAlternative
order_eligibility_rangeJSONOptional
order_eligibility_range (anyOf 1)ModelAlternativeExpand Update Merchant Settings — request body — body merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay item eligibility range A range of purchase price that qualifies
Afterpay is shown as an option for order totals falling within the configured range.
order_eligibility_range (anyOf 2)nullAlternative

Referenced models: Update Merchant Settings — request body — body merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay item eligibility range A range of purchase price that qualifies

Update Merchant Settings — request body — body merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay item eligibility range A range of purchase price that qualifies

FieldTypePresenceDescription and constraints
$objectRootA range of purchase price that qualifies.
maxModelRequired within parentExpand Create Payment — request body — body tip money
The upper bound of the range.
minModelRequired within parentExpand Create Payment — request body — body tip money
The lower bound of the range.

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

Update Merchant Settings — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred when updating the merchant settings.
errors[]ModelEach itemExpand Get Shift — response body — errors item
merchant_settingsModelOptionalExpand Update Merchant Settings — response body — merchant settings
The updated merchant settings.

Referenced models: Update Merchant Settings — response body — merchant settings, Get Shift — response body — errors item

Update Merchant Settings — response body — merchant settings

FieldTypePresenceDescription and constraints
$objectRoot
payment_methodsJSONOptional
payment_methods (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay
The set of payment methods accepted for the merchant's account.
payment_methods (anyOf 2)nullAlternative
updated_atstringOptionalThe timestamp when the settings were last updated, in RFC 3339 format.
Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:
UTC: 2020-01-26T02:25:34Z
Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00
Read only: true

Referenced models: Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay

Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay

FieldTypePresenceDescription and constraints
$objectRoot
afterpay_clearpayJSONOptional
afterpay_clearpay (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay
Afterpay/Clearpay.
afterpay_clearpay (anyOf 2)nullAlternative
apple_payJSONOptional
apple_pay (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method
Apple Pay.
apple_pay (anyOf 2)nullAlternative
bank_accountJSONOptional
bank_account (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method
Bank account (ACH). Enabled by default for eligible sellers who have
not saved an ACH preference. A saved enabled or disabled choice takes precedence.
bank_account (anyOf 2)nullAlternative
cash_appJSONOptional
cash_app (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method
Cash App Pay.
cash_app (anyOf 2)nullAlternative
google_payJSONOptional
google_pay (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method
Google Pay.
google_pay (anyOf 2)nullAlternative

Referenced models: Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method, Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay

Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay

FieldTypePresenceDescription and constraints
$objectRootThe settings allowed for AfterpayClearpay.
enabledbooleanOptionalIndicates whether the payment method is enabled for the account.
Read only: true
item_eligibility_rangeJSONOptional
item_eligibility_range (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay item eligibility range A range of purchase price that qualifies
Afterpay is shown as an option for item totals falling within the configured range.
item_eligibility_range (anyOf 2)nullAlternative
order_eligibility_rangeJSONOptional
order_eligibility_range (anyOf 1)ModelAlternativeExpand Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay item eligibility range A range of purchase price that qualifies
Afterpay is shown as an option for order totals falling within the configured range.
order_eligibility_range (anyOf 2)nullAlternative

Referenced models: Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay item eligibility range A range of purchase price that qualifies

Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay afterpay clearpay The settings allowed for Afterpay Clearpay item eligibility range A range of purchase price that qualifies

FieldTypePresenceDescription and constraints
$objectRootA range of purchase price that qualifies.
maxModelRequired within parentExpand Pay Order — response body — order total money
The upper bound of the range.
minModelRequired within parentExpand Pay Order — response body — order total money
The lower bound of the range.

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

Update Merchant Settings — response body — merchant settings payment methods afterpay clearpay, apple pay, bank account, cash app, google pay cash app The settings allowed for a payment method

FieldTypePresenceDescription and constraints
$objectRootThe settings allowed for a payment method.
enabledJSONOptional
enabled (anyOf 1)booleanAlternativeIndicates whether the payment method is enabled for the account.
enabled (anyOf 2)nullAlternative

Update Payment Link — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
payment_linkModelRequired within parentExpand Update Payment Link — request body — body payment link
The `payment_link` object describing the updates to apply.
For more information, see [Update a payment link](https://developer.squareup.com/docs/checkout-api/manage-checkout#update-a-payment-link).

Referenced models: Update Payment Link — request body — body payment link

Update Payment Link — request body — body payment link

FieldTypePresenceDescription and constraints
$objectRoot
checkout_optionsJSONOptional
checkout_options (anyOf 1)ModelAlternativeExpand Create Payment Link — request body — body checkout options
The checkout options configured for the payment link.
For more information, see [Optional Checkout Configurations](https://developer.squareup.com/docs/checkout-api/optional-checkout-configurations).
checkout_options (anyOf 2)nullAlternative
created_atstringOptionalThe timestamp when the payment link was created, in RFC 3339 format.
Read only: true
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe optional description of the `payment_link` object.
It is primarily for use by your application and is not used anywhere.
Maximum length: 4096
description (anyOf 2)nullAlternative
idstringOptionalThe Square-assigned ID of the payment link.
Read only: true
long_urlstringOptionalThe long URL of the payment link.
Maximum length: 255
Read only: true
order_idstringOptionalThe ID of the order associated with the payment link.
Maximum length: 192
Read only: true
payment_noteJSONOptional
payment_note (anyOf 1)stringAlternativeA note for the payment. After processing the payment, Square adds this note to the resulting `Payment` as well as the post payment confirmation email.
Maximum length: 500
payment_note (anyOf 2)nullAlternative
pre_populated_dataJSONOptional
pre_populated_data (anyOf 1)ModelAlternativeExpand Create Payment Link — request body — body pre populated data
Describes buyer data to prepopulate
on the checkout page.
pre_populated_data (anyOf 2)nullAlternative
updated_atstringOptionalThe timestamp when the payment link was last updated, in RFC 3339 format.
Read only: true
urlstringOptionalThe shortened URL of the payment link.
Maximum length: 255
Read only: true
versionintegerRequired within parentThe Square-assigned version number, which is incremented each time an update is committed to the payment link.
Maximum: 65535

Referenced models: Create Payment Link — request body — body checkout options, Create Payment Link — request body — body pre populated data

Update Payment Link — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred when updating the payment link.
errors[]ModelEach itemExpand Get Shift — response body — errors item
payment_linkModelOptionalExpand Create Payment Link — response body — payment link
The updated payment link.

Referenced models: Get Shift — response body — errors item, Create Payment Link — response body — payment link

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.