Square: Payments schemas
54 Square schemas with complete fields and constraints.
← Payments operations · All schemas
Cancel Payment By Idempotency Key — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Describes a request to cancel a payment using [CancelPaymentByIdempotencyKey](api-endpoint:Payments-CancelPaymentByIdempotencyKey). |
idempotency_key | string | Required within parent | The `idempotency_key` identifying the payment to be canceled. Maximum length: 45 Minimum length: 1 |
Cancel Payment By Idempotency Key — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Defines the response returned by [CancelPaymentByIdempotencyKey](api-endpoint:Payments-CancelPaymentByIdempotencyKey). On success, `errors` is empty. |
errors | array | Optional | Any errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
Referenced models: Get Shift — response body — errors item
Cancel Payment — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Defines the response returned by [CancelPayment](api-endpoint:Payments-CancelPayment). |
errors | array | Optional | Information about errors encountered during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
payment | Model | Optional | Expand Get Payment — response body — payment The successfully canceled `Payment` object. |
Referenced models: Get Shift — response body — errors item, Get Payment — response body — payment
Complete Payment — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Describes a request to complete (capture) a payment using [CompletePayment](api-endpoint:Payments-CompletePayment). By default, payments are set to `autocomplete` immediately after they are created. To complete payments manually, set `autocomplete` to `false`. |
version_token | JSON | Optional | |
version_token (anyOf 1) | string | Alternative | Used for optimistic concurrency. This opaque token identifies the current `Payment` version that the caller expects. If the server has a different version of the Payment, the update fails and a response with a VERSION_MISMATCH error is returned. |
version_token (anyOf 2) | null | Alternative |
Complete Payment — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Defines the response returned by[CompletePayment](api-endpoint:Payments-CompletePayment). |
errors | array | Optional | Information about errors encountered during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
payment | Model | Optional | Expand Get Payment — response body — payment The successfully completed payment. |
Referenced models: Get Shift — response body — errors item, Get Payment — response body — payment
Create Payment — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Describes a request to create a payment using [CreatePayment](api-endpoint:Payments-CreatePayment). |
accept_partial_authorization | boolean | Optional | If 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 field cannot be `true` when `autocomplete = true`. For more information, see [Partial amount with Square Gift Cards](https://developer.squareup.com/docs/payments-api/take-payments#partial-payment-gift-card). Default: false |
amount_money | Model | Optional | Expand Create Payment — request body — body tip money The amount of money to accept for this payment, not including `tip_money`. 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 currency code must match the currency associated with the business that is accepting the payment. |
app_fee_allocations | array | Optional | Details pertaining to recipients of the application fee. The sum of the amounts in the app_fee_allocations must equal the app_fee_money amount, if present. If populated, an allocation must be present for every party that expects to receive a portion of the application fee, including the application developer. |
app_fee_allocations[] | Model | Each item | Expand Create Payment — request body — body app fee allocations item |
app_fee_money | Model | Optional | Expand 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/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). |
autocomplete | boolean | Optional | If set to `true`, this payment will be completed when possible. If set to `false`, this payment is held in an approved state until either explicitly completed (captured) or canceled (voided). For more information, see [Delayed capture](https://developer.squareup.com/docs/payments-api/take-payments/card-payments#delayed-capture-of-a-card-payment). Default: true |
billing_address | Model | Optional | Expand Create Customer — request body — body address The buyer's billing address. |
buyer_email_address | string | Optional | The buyer's email address. Maximum length: 255 |
buyer_phone_number | string | Optional | The buyer's phone number. Must follow the following format: 1. A leading + symbol (followed by a country code) 2. The phone number can contain spaces and the special characters `(` , `)` , `-` , and `.`. Alphabetical characters aren't allowed. 3. The phone number must contain between 9 and 16 digits. |
cash_details | Model | Optional | Expand Create Payment — request body — body cash details Additional details required when recording a cash payment (`source_id` is CASH). |
customer_details | Model | Optional | Expand Create Payment — request body — body customer details Details about the customer making the payment. |
customer_id | string | Optional | The [Customer](entity:Customer) ID of the customer associated with the payment. This is required if the `source_id` refers to a card on file created using the Cards API. |
delay_action | string | Optional | The action to be applied to the payment when the `delay_duration` has elapsed. The action must be CANCEL or COMPLETE. For more information, see [Time Threshold](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture#time-threshold). Default: CANCEL |
delay_duration | string | Optional | The duration of time after the payment's creation when Square automatically either completes or cancels the payment depending on the `delay_action` field value. For more information, see [Time threshold](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture#time-threshold). This parameter should be specified as a time duration, in RFC 3339 format. Note: This feature is only supported for card payments. This parameter can only be set for a delayed capture payment (`autocomplete=false`). Default: - Card-present payments: "PT36H" (36 hours) from the creation time. - Card-not-present payments: "P7D" (7 days) from the creation time. |
external_details | Model | Optional | Expand Create Payment — request body — body external details Additional details required when recording an external payment (`source_id` is EXTERNAL). |
idempotency_key | string | Required within parent | A unique string that identifies this `CreatePayment` request. Keys can be any valid string but must be unique for every `CreatePayment` request. Note: The number of allowed characters might be less than the stated maximum, if multi-byte characters are used. For more information, see [Idempotency](https://developer.squareup.com/docs/working-with-apis/idempotency). Maximum length: 45 Minimum length: 1 |
location_id | string | Optional | The location ID to associate with the payment. If not specified, the [main location](https://developer.squareup.com/docs/locations-api#about-the-main-location) is used. |
note | string | Optional | An optional note to be entered by the developer when creating a payment. Maximum length: 500 |
offline_payment_details | Model | Optional | Expand Create Payment — request body — body offline payment details An optional field for specifying the offline payment details. This is intended for internal 1st-party callers only. |
order_id | string | Optional | Associates a previously created order with this payment. |
reference_id | string | Optional | A user-defined ID to associate with the payment. You can use this field to associate the payment to an entity in an external system (for example, you might specify an order ID that is generated by a third-party shopping cart). Maximum length: 40 |
shipping_address | Model | Optional | Expand Create Customer — request body — body address The buyer's shipping address. |
source_id | string | Required within parent | The ID for the source of funds for this payment. This could be a payment token generated by the Web Payments SDK for any of its [supported methods](https://developer.squareup.com/docs/web-payments/overview#explore-payment-methods), including cards, bank transfers, Afterpay or Cash App Pay. If recording a payment that the seller received outside of Square, specify either "CASH" or "EXTERNAL". For more information, see [Take Payments](https://developer.squareup.com/docs/payments-api/take-payments). Minimum length: 1 |
statement_description_identifier | string | Optional | Optional 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. Note that the `statement_description_identifier` might get truncated on the statement description to fit the required information including the Square identifier (SQ *) and name of the seller taking the payment. Maximum length: 20 |
team_member_id | string | Optional | An optional [TeamMember](entity:TeamMember) ID to associate with this payment. |
tip_money | Model | Optional | Expand Create Payment — request body — body tip money The amount designated as a tip, in addition to `amount_money`. 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). Tips for external vendors such as a 3rd party delivery courier must be recorded using Order.service_charges. The currency code must match the currency associated with the business that is accepting the payment. |
verification_token | string | Optional | An identifying token generated by [payments.verifyBuyer()](https://developer.squareup.com/reference/sdks/web/payments/objects/Payments#Payments.verifyBuyer). Verification tokens encapsulate customer device information and 3-D Secure challenge results to indicate that Square has verified the buyer identity. For more information, see [SCA Overview](https://developer.squareup.com/docs/sca-overview). |
Referenced models: Create Customer — request body — body address, Create Payment — request body — body app fee allocations item, Create Payment — request body — body cash details, Create Payment — request body — body customer details, Create Payment — request body — body external details, Create Payment — request body — body tip money, Create Payment — request body — body offline payment details
Create Payment — request body — body app fee allocations item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | One recipient location's portion of the application fee. |
location_id | string | Optional | The location receiving this application-fee allocation. |
amount_money | Model | Optional | Expand Create Payment — request body — body tip money |
Referenced models: Create Payment — request body — body tip money
Create Payment — request body — body cash details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Stores details about a cash payment. Contains only non-confidential information. For more information, see [Take Cash Payments](https://developer.squareup.com/docs/payments-api/take-payments/cash-payments). |
buyer_supplied_money | Model | Required within parent | Expand Create Payment — request body — body tip money The amount and currency of the money supplied by the buyer. |
change_back_money | Model | Optional | Expand Create Payment — request body — body tip money The amount of change due back to the buyer. This read-only field is calculated from the `amount_money` and `buyer_supplied_money` fields. Read only: true |
Referenced models: Create Payment — request body — body tip money
Create Payment — request body — body customer details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details about the customer making the payment. |
customer_initiated | JSON | Optional | |
customer_initiated (anyOf 1) | boolean | Alternative | Indicates whether the customer initiated the payment. |
customer_initiated (anyOf 2) | null | Alternative | |
seller_keyed_in | JSON | Optional | |
seller_keyed_in (anyOf 1) | boolean | Alternative | Indicates that the seller keyed in payment details on behalf of the customer. This is used to flag a payment as Mail Order / Telephone Order (MOTO). |
seller_keyed_in (anyOf 2) | null | Alternative |
Create Payment — request body — body external details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Stores details about an external payment. Contains only non-confidential information. For more information, see [Take External Payments](https://developer.squareup.com/docs/payments-api/take-payments/external-payments). |
source | string | Required within parent | A description of the external payment source. For example, "Food Delivery Service". Maximum length: 255 |
source_fee_money | JSON | Optional | |
source_fee_money (anyOf 1) | Model | Alternative | Expand Create Payment — request body — body tip money The fees paid to the source. The `amount_money` minus this field is the net amount seller receives. |
source_fee_money (anyOf 2) | null | Alternative | |
source_id | JSON | Optional | |
source_id (anyOf 1) | string | Alternative | An ID to associate the payment to its originating source. Maximum length: 255 |
source_id (anyOf 2) | null | Alternative | |
type | string | Required within parent | The type of external payment the seller received. It can be one of the following: - CHECK - Paid using a physical check. - BANK_TRANSFER - Paid using external bank transfer. - OTHER\_GIFT\_CARD - Paid using a non-Square gift card. - CRYPTO - Paid using a crypto currency. - SQUARE_CASH - Paid using Square Cash App. - SOCIAL - Paid using peer-to-peer payment applications. - EXTERNAL - A third-party application gathered this payment outside of Square. - EMONEY - Paid using an E-money provider. - CARD - A credit or debit card that Square does not support. - STORED_BALANCE - Use for house accounts, store credit, and so forth. - FOOD_VOUCHER - Restaurant voucher provided by employers to employees to pay for meals - OTHER - A type not listed here. Maximum length: 50 |
Referenced models: Create Payment — request body — body tip money
Create Payment — request body — body offline payment details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details specific to offline payments. |
client_created_at | string | Optional | The client-side timestamp of when the offline payment was created, in RFC 3339 format. Maximum length: 32 Read only: true |
Create Payment — request body — body tip money
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an amount of money. `Money` fields can be signed or unsigned. Fields that do not explicitly define whether they are signed or unsigned are considered unsigned and can only hold positive amounts. For signed fields, the sign of the value indicates the purpose of the money transfer. See [Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts) for more information. |
amount | JSON | Optional | |
amount (anyOf 1) | JSON | Alternative | |
amount (anyOf 1) (anyOf 1) | integer | Alternative | The amount of money, in the smallest denomination of the currency indicated by `currency`. For example, when `currency` is `USD`, `amount` is in cents. Monetary amounts can be positive or negative. See the specific field description to determine the meaning of the sign in a particular case. Format: int64 Minimum: -9223372036854775808 Maximum: 9223372036854775807 |
amount (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^(?:-(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-8]))))))))))))))))|-[1-9][0-9]{0,17}|0|(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-7]))))))))))))))))|[1-9][0-9]{0,17})$(?!\n) |
amount (anyOf 2) | null | Alternative | |
currency | JSON | Optional | |
currency (anyOf 1) | Model | Alternative | Expand Create Location — request body — body location currency The type of currency, in __ISO 4217 format__. For example, the currency code for US dollars is `USD`. See [Currency](entity:Currency) for possible values. See [Currency](#type-currency) for possible values |
currency (anyOf 2) | null | Alternative |
Referenced models: Create Location — request body — body location currency
Create Payment — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Defines the response returned by [CreatePayment](api-endpoint:Payments-CreatePayment). If there are errors processing the request, the `payment` field might not be present, or it might be present with a status of `FAILED`. |
errors | array | Optional | Information about errors encountered during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
payment | Model | Optional | Expand Get Payment — response body — payment The newly created payment. |
Referenced models: Get Shift — response body — errors item, Get Payment — response body — payment
Get Payment — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Defines the response returned by [GetPayment](api-endpoint:Payments-GetPayment). |
errors | array | Optional | Information about errors encountered during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
payment | Model | Optional | Expand Get Payment — response body — payment The requested `Payment`. |
Referenced models: Get Shift — response body — errors item, Get Payment — response body — payment
Get Payment — response body — payment
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a payment processed by the Square API. |
amount_money | JSON | Optional | |
amount_money (anyOf 1) | Model | Alternative | Expand Pay Order — response body — order total money The amount processed for this payment, not including `tip_money`. The amount is 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). |
amount_money (anyOf 2) | null | Alternative | |
app_fee_allocations | JSON | Optional | |
app_fee_allocations (anyOf 1) | array | Alternative | Details pertaining to recipients of the application fee. |
app_fee_allocations (anyOf 1)[] | Model | Each item | Expand Refund Payment — response body — refund app fee allocations item |
app_fee_allocations (anyOf 2) | null | Alternative | |
app_fee_money | JSON | Optional | |
app_fee_money (anyOf 1) | Model | Alternative | Expand 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. This amount is specified in the smallest denomination of the applicable currency (for example, US dollar amounts are specified in cents). For more information, see [Take Payments and Collect Fees](https://developer.squareup.com/docs/payments-api/take-payments-and-collect-fees). The amount cannot be more than 90% of the `total_money` value. 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) | null | Alternative | |
application_details | Model | Optional | Expand Get Payment — response body — payment application details Details about the application that took the payment. Read only: true |
approved_money | JSON | Optional | |
approved_money (anyOf 1) | Model | Alternative | Expand Pay Order — response body — order total money The amount of money approved for this payment. This value may change if Square chooses to obtain reauthorization as part of a call to [UpdatePayment](api-endpoint:Payments-UpdatePayment). |
approved_money (anyOf 2) | null | Alternative | |
bank_account_details | Model | Optional | Expand Get Payment — response body — payment bank account details Details about a bank account payment. These details are only populated if the source_type is `BANK_ACCOUNT`. Read only: true |
billing_address | Model | Optional | Expand Get Payment — response body — payment billing address The buyer's billing address. Read only: true |
buy_now_pay_later_details | Model | Optional | Expand Get Payment — response body — payment buy now pay later details Details about a Buy Now Pay Later payment. The details are only populated if the `source_type` is `BUY_NOW_PAY_LATER`. For more information, see [Afterpay Payments](https://developer.squareup.com/docs/payments-api/take-payments/afterpay-payments). Read only: true |
buyer_currency_exchange | Model | Optional | Expand Get Payment — response body — payment buyer currency exchange Details about the currency exchange for payments where the currency the buyer paid with differs from the currency the merchant received (e.g., bitcoin lightning payments). This field will only be present when the buyer paid in a different currency than the one used in the payment's total_money/amount_money fields. Read only: true |
buyer_email_address | string | Optional | The buyer's email address. Maximum length: 255 Read only: true |
capabilities | array | Optional | Actions that can be performed on this payment: - `EDIT_AMOUNT_UP` - The payment amount can be edited up. - `EDIT_AMOUNT_DOWN` - The payment amount can be edited down. - `EDIT_TIP_AMOUNT_UP` - The tip amount can be edited up. - `EDIT_TIP_AMOUNT_DOWN` - The tip amount can be edited down. - `EDIT_DELAY_ACTION` - The delay_action can be edited. Read only: true |
capabilities[] | string | Each item | |
card_details | JSON | Optional | |
card_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type Details about a card payment. These details are only populated if the source_type is `CARD`. |
card_details (anyOf 2) | null | Alternative | |
cash_details | JSON | Optional | |
cash_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment cash details buyer supplied money, change back money Details about a cash payment. These details are only populated if the source_type is `CASH`. |
cash_details (anyOf 2) | null | Alternative | |
created_at | string | Optional | The timestamp of when the payment was created, in RFC 3339 format. Maximum length: 32 Read only: true |
customer_id | string | Optional | The ID of the customer associated with the payment. If the ID is not provided in the `CreatePayment` request that was used to create the `Payment`, Square may use information in the request (such as the billing and shipping address, email address, and payment source) to identify a matching customer profile in the Customer Directory. If found, the profile ID is used. If a profile is not found, the API attempts to create an [instant profile](https://developer.squareup.com/docs/customers-api/what-it-does#instant-profiles). If the API cannot create an instant profile (either because the seller has disabled it or the seller's region prevents creating it), this field remains unset. Note that this process is asynchronous and it may take some time before a customer ID is added to the payment. Maximum length: 191 Read only: true |
delay_action | JSON | Optional | |
delay_action (anyOf 1) | string | Alternative | The action to be applied to the payment when the `delay_duration` has elapsed. Current values include `CANCEL` and `COMPLETE`. |
delay_action (anyOf 2) | null | Alternative | |
delay_duration | string | Optional | The duration of time after the payment's creation when Square automatically applies the `delay_action` to the payment. This automatic `delay_action` applies only to payments that do not reach a terminal state (COMPLETED, CANCELED, or FAILED) before the `delay_duration` time period. This field is specified as a time duration, in RFC 3339 format. Notes: This feature is only supported for card payments. Default: - Card-present payments: "PT36H" (36 hours) from the creation time. - Card-not-present payments: "P7D" (7 days) from the creation time. Read only: true |
delayed_until | string | Optional | The read-only timestamp of when the `delay_action` is automatically applied, in RFC 3339 format. Note that this field is calculated by summing the payment's `delay_duration` and `created_at` fields. The `created_at` field is generated by Square and might not exactly match the time on your local machine. Read only: true |
device_details | Model | Optional | Expand Get Payment — response body — payment device details Details about the device that took the payment. Read only: true |
electronic_money_details | JSON | Optional | |
electronic_money_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment electronic money details Details specific to electronic money payments Details specific to electronic money payments. |
electronic_money_details (anyOf 2) | null | Alternative | |
employee_id | string | Optional | __Deprecated__: Use `Payment.team_member_id` instead. An optional ID of the employee associated with taking the payment. Maximum length: 192 Read only: true |
external_details | Model | Optional | Expand Get Payment — response body — payment external details Details about an external payment. The details are only populated if the `source_type` is `EXTERNAL`. Read only: true |
id | string | Optional | A unique ID for the payment. Maximum length: 192 Read only: true |
is_offline_payment | boolean | Optional | Whether or not this payment was taken offline. Read only: true |
location_id | string | Optional | The ID of the location associated with the payment. Maximum length: 50 Read only: true |
note | string | Optional | An optional note to include when creating a payment. Maximum length: 500 Read only: true |
offline_payment_details | Model | Optional | Expand Create Payment — request body — body offline payment details Additional information about the payment if it was taken offline. Read only: true |
order_id | string | Optional | The ID of the order associated with the payment. Maximum length: 192 Read only: true |
processing_fee | array | Optional | The processing fees and fee adjustments assessed by Square for this payment. Read only: true |
processing_fee[] | Model | Each item | Expand Get Payment — response body — payment processing fee item |
receipt_number | string | Optional | The payment's receipt number. The field is missing if a payment is canceled. Maximum length: 4 Read only: true |
receipt_url | string | Optional | The URL for the payment's receipt. The field is only populated for COMPLETED payments. Maximum length: 255 Read only: true |
reference_id | string | Optional | An optional ID that associates the payment with an entity in another system. Maximum length: 40 Read only: true |
refund_ids | array | Optional | A list of `refund_id`s identifying refunds for the payment. Read only: true |
refund_ids[] | string | Each item | |
refunded_money | Model | Optional | Expand Pay Order — response body — order total money The total amount of the payment refunded to date. This amount is specified in the smallest denomination of the applicable currency (for example, US dollar amounts are specified in cents). Read only: true |
risk_evaluation | Model | Optional | Expand Get Payment — response body — payment risk evaluation Provides information about the risk associated with the payment, as determined by Square. This field is present for payments to sellers that have opted in to receive risk evaluations. Read only: true |
shipping_address | Model | Optional | Expand Get Payment — response body — payment billing address The buyer's shipping address. Read only: true |
source_type | string | Optional | The source type for this payment. Current values include `CARD`, `BANK_ACCOUNT`, `WALLET`, `BUY_NOW_PAY_LATER`, `SQUARE_ACCOUNT`, `CASH` and `EXTERNAL`. For information about these payment source types, see [Take Payments](https://developer.squareup.com/docs/payments-api/take-payments). Maximum length: 50 Read only: true |
square_account_details | Model | Optional | Expand Get Payment — response body — payment square account details Details about a Square Account payment. The details are only populated if the `source_type` is `SQUARE_ACCOUNT`. Read only: true |
statement_description_identifier | string | Optional | Additional payment information that gets added to the customer's card statement as part of the statement description. Note that the `statement_description_identifier` might get truncated on the statement description to fit the required information including the Square identifier (SQ *) and the name of the seller taking the payment. Read only: true |
status | string | Optional | Indicates whether the payment is APPROVED, PENDING, COMPLETED, CANCELED, or FAILED. Maximum length: 50 Read only: true |
team_member_id | JSON | Optional | |
team_member_id (anyOf 1) | string | Alternative | An optional ID of the [TeamMember](entity:TeamMember) associated with taking the payment. Maximum length: 192 |
team_member_id (anyOf 2) | null | Alternative | |
terminal_checkout_id | string | Optional | An optional ID for a Terminal checkout that is associated with the payment. Read only: true |
tip_money | JSON | Optional | |
tip_money (anyOf 1) | Model | Alternative | Expand Pay Order — response body — order total money The amount designated as a tip for the seller's staff. Tips for external vendors such as a 3rd party delivery courier must be recorded using Order.service_charges. This amount is 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). |
tip_money (anyOf 2) | null | Alternative | |
total_money | Model | Optional | Expand Pay Order — response body — order total money The total amount for the payment, including `amount_money` and `tip_money`. This amount is 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). Read only: true |
updated_at | string | Optional | The timestamp of when the payment was last updated, in RFC 3339 format. Maximum length: 32 Read only: true |
version_token | JSON | Optional | |
version_token (anyOf 1) | string | Alternative | Used for optimistic concurrency. This opaque token identifies a specific version of the `Payment` object. |
version_token (anyOf 2) | null | Alternative | |
wallet_details | Model | Optional | Expand Get Payment — response body — payment wallet details Details about an wallet payment. The details are only populated if the `source_type` is `WALLET`. Read only: true |
Referenced models: Get Payment — response body — payment buyer currency exchange, Get Payment — response body — payment device details, Create Payment — request body — body offline payment details, Get Payment — response body — payment billing address, Refund Payment — response body — refund app fee allocations item, Get Payment — response body — payment application details, Get Payment — response body — payment bank account details, Get Payment — response body — payment buy now pay later details, Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type, Get Payment — response body — payment cash details buyer supplied money, change back money, Get Payment — response body — payment wallet details, Get Payment — response body — payment electronic money details Details specific to electronic money payments, Get Payment — response body — payment external details, Pay Order — response body — order total money, Get Payment — response body — payment processing fee item, Get Payment — response body — payment risk evaluation, Get Payment — response body — payment square account details
Get Payment — response body — payment application details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details about the application that took the payment. |
application_id | JSON | Optional | |
application_id (anyOf 1) | string | Alternative | The Square ID assigned to the application used to take the payment. Application developers can use this information to identify payments that their application processed. For example, if a developer uses a custom application to process payments, this field contains the application ID from the Developer Dashboard. If a seller uses a [Square App Marketplace](https://developer.squareup.com/docs/app-marketplace) application to process payments, the field contains the corresponding application ID. |
application_id (anyOf 2) | null | Alternative | |
square_product | JSON | Optional | |
square_product (anyOf 1) | string | Alternative | A list of products to return to external callers. The Square product, such as Square Point of Sale (POS), Square Invoices, or Square Virtual Terminal. See [ExternalSquareProduct](#type-externalsquareproduct) for possible values Known values: APPOINTMENTS, ECOMMERCE_API, INVOICES, ONLINE_STORE, OTHER, RESTAURANTS, RETAIL, SQUARE_POS, TERMINAL_API, VIRTUAL_TERMINAL |
square_product (anyOf 2) | null | Alternative |
Get Payment — response body — payment bank account details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about BANK_ACCOUNT type payments. |
account_ownership_type | JSON | Optional | |
account_ownership_type (anyOf 1) | string | Alternative | The ownership type of the bank account performing the transfer. The type can be `INDIVIDUAL`, `COMPANY`, or `ACCOUNT_TYPE_UNKNOWN`. Maximum length: 50 |
account_ownership_type (anyOf 2) | null | Alternative | |
ach_details | JSON | Optional | |
ach_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment bank account details ach details account number suffix, account type, routing number ACH-specific information about the transfer. The information is only populated if the `transfer_type` is `ACH`. |
ach_details (anyOf 2) | null | Alternative | |
bank_name | JSON | Optional | |
bank_name (anyOf 1) | string | Alternative | The name of the bank associated with the bank account. Maximum length: 100 |
bank_name (anyOf 2) | null | Alternative | |
country | JSON | Optional | |
country (anyOf 1) | string | Alternative | The two-letter ISO code representing the country the bank account is located in. Maximum length: 2 Minimum length: 2 |
country (anyOf 2) | null | Alternative | |
errors | JSON | Optional | |
errors (anyOf 1) | array | Alternative | Information about errors encountered during the request. |
errors (anyOf 1)[] | Model | Each item | Expand Get Shift — response body — errors item |
errors (anyOf 2) | null | Alternative | |
fingerprint | JSON | Optional | |
fingerprint (anyOf 1) | string | Alternative | Uniquely identifies the bank account for this seller and can be used to determine if payments are from the same bank account. Maximum length: 255 |
fingerprint (anyOf 2) | null | Alternative | |
statement_description | JSON | Optional | |
statement_description (anyOf 1) | string | Alternative | The statement description as sent to the bank. Maximum length: 1000 |
statement_description (anyOf 2) | null | Alternative | |
transfer_type | JSON | Optional | |
transfer_type (anyOf 1) | string | Alternative | The type of the bank transfer. The type can be `ACH` or `UNKNOWN`. Maximum length: 50 |
transfer_type (anyOf 2) | null | Alternative |
Referenced models: Get Payment — response body — payment bank account details ach details account number suffix, account type, routing number, Get Shift — response body — errors item
Get Payment — response body — payment bank account details ach details account number suffix, account type, routing number
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | ACH-specific details about `BANK_ACCOUNT` type payments with the `transfer_type` of `ACH`. |
account_number_suffix | JSON | Optional | |
account_number_suffix (anyOf 1) | string | Alternative | The last few digits of the bank account number. Maximum length: 4 Minimum length: 1 |
account_number_suffix (anyOf 2) | null | Alternative | |
account_type | JSON | Optional | |
account_type (anyOf 1) | string | Alternative | The type of the bank account performing the transfer. The account type can be `CHECKING`, `SAVINGS`, or `UNKNOWN`. Maximum length: 50 |
account_type (anyOf 2) | null | Alternative | |
routing_number | JSON | Optional | |
routing_number (anyOf 1) | string | Alternative | The routing number for the bank account. Maximum length: 50 |
routing_number (anyOf 2) | null | Alternative |
Get Payment — response body — payment billing address
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a postal address in a country. For more information, see [Working with Addresses](https://developer.squareup.com/docs/build-basics/working-with-addresses). |
address_line_1 | JSON | Optional | |
address_line_1 (anyOf 1) | string | Alternative | The first line of the address. Fields that start with `address_line` provide the address's most specific details, like street number, street name, and building name. They do *not* provide less specific details like city, state/province, or country (these details are provided in other fields). |
address_line_1 (anyOf 2) | null | Alternative | |
address_line_2 | JSON | Optional | |
address_line_2 (anyOf 1) | string | Alternative | The second line of the address, if any. |
address_line_2 (anyOf 2) | null | Alternative | |
address_line_3 | JSON | Optional | |
address_line_3 (anyOf 1) | string | Alternative | The third line of the address, if any. |
address_line_3 (anyOf 2) | null | Alternative | |
administrative_district_level_1 | JSON | Optional | |
administrative_district_level_1 (anyOf 1) | string | Alternative | A civil entity within the address's country. In the US, this is the state. For a full list of field meanings by country, see [Working with Addresses](https://developer.squareup.com/docs/build-basics/working-with-addresses). |
administrative_district_level_1 (anyOf 2) | null | Alternative | |
administrative_district_level_2 | JSON | Optional | |
administrative_district_level_2 (anyOf 1) | string | Alternative | A civil entity within the address's `administrative_district_level_1`. In the US, this is the county. |
administrative_district_level_2 (anyOf 2) | null | Alternative | |
administrative_district_level_3 | JSON | Optional | |
administrative_district_level_3 (anyOf 1) | string | Alternative | A civil entity within the address's `administrative_district_level_2`, if any. |
administrative_district_level_3 (anyOf 2) | null | Alternative | |
country | JSON | Optional | |
country (anyOf 1) | Model | Alternative | Expand Create Location — response body — location country The address's country, in the two-letter format of ISO 3166. For example, `US` or `FR`. See [Country](#type-country) for possible values |
country (anyOf 2) | null | Alternative | |
first_name | JSON | Optional | |
first_name (anyOf 1) | string | Alternative | Optional first name when it's representing recipient. |
first_name (anyOf 2) | null | Alternative | |
last_name | JSON | Optional | |
last_name (anyOf 1) | string | Alternative | Optional last name when it's representing recipient. |
last_name (anyOf 2) | null | Alternative | |
locality | JSON | Optional | |
locality (anyOf 1) | string | Alternative | The city or town of the address. For a full list of field meanings by country, see [Working with Addresses](https://developer.squareup.com/docs/build-basics/working-with-addresses). |
locality (anyOf 2) | null | Alternative | |
postal_code | JSON | Optional | |
postal_code (anyOf 1) | string | Alternative | The address's postal code. For a full list of field meanings by country, see [Working with Addresses](https://developer.squareup.com/docs/build-basics/working-with-addresses). |
postal_code (anyOf 2) | null | Alternative | |
sublocality | JSON | Optional | |
sublocality (anyOf 1) | string | Alternative | A civil region within the address's `locality`, if any. |
sublocality (anyOf 2) | null | Alternative | |
sublocality_2 | JSON | Optional | |
sublocality_2 (anyOf 1) | string | Alternative | A civil region within the address's `sublocality`, if any. |
sublocality_2 (anyOf 2) | null | Alternative | |
sublocality_3 | JSON | Optional | |
sublocality_3 (anyOf 1) | string | Alternative | A civil region within the address's `sublocality_2`, if any. |
sublocality_3 (anyOf 2) | null | Alternative |
Referenced models: Create Location — response body — location country
Get Payment — response body — payment buy now pay later details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about a Buy Now Pay Later payment type. |
afterpay_details | JSON | Optional | |
afterpay_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment buy now pay later details afterpay details Additional details about Afterpay payments Details about an Afterpay payment. These details are only populated if the `brand` is `AFTERPAY`. |
afterpay_details (anyOf 2) | null | Alternative | |
brand | JSON | Optional | |
brand (anyOf 1) | string | Alternative | The brand used for the Buy Now Pay Later payment. The brand can be `AFTERPAY`, `CLEARPAY` or `UNKNOWN`. Maximum length: 50 |
brand (anyOf 2) | null | Alternative | |
clearpay_details | JSON | Optional | |
clearpay_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment buy now pay later details clearpay details Additional details about Clearpay payments Details about a Clearpay payment. These details are only populated if the `brand` is `CLEARPAY`. |
clearpay_details (anyOf 2) | null | Alternative | |
errors | array | Optional | Information about errors encountered during the payment. Read only: true |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
Referenced models: Get Payment — response body — payment buy now pay later details afterpay details Additional details about Afterpay payments, Get Payment — response body — payment buy now pay later details clearpay details Additional details about Clearpay payments, Get Shift — response body — errors item
Get Payment — response body — payment buy now pay later details afterpay details Additional details about Afterpay payments
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about Afterpay payments. |
email_address | JSON | Optional | |
email_address (anyOf 1) | string | Alternative | Email address on the buyer's Afterpay account. Maximum length: 255 |
email_address (anyOf 2) | null | Alternative |
Get Payment — response body — payment buy now pay later details clearpay details Additional details about Clearpay payments
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about Clearpay payments. |
email_address | JSON | Optional | |
email_address (anyOf 1) | string | Alternative | Email address on the buyer's Clearpay account. Maximum length: 255 |
email_address (anyOf 2) | null | Alternative |
Get Payment — response body — payment buyer currency exchange
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | Opaque currency-exchange details returned by Square; no fields are published. Read only: true |
Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Reflects the current status of a card payment. Contains only non-confidential information. |
application_cryptogram | string | Optional | For EMV payments, the cryptogram generated for the payment. Maximum length: 16 Read only: true |
application_identifier | string | Optional | For EMV payments, the application ID identifies the EMV application used for the payment. Maximum length: 32 Read only: true |
application_name | string | Optional | For EMV payments, the human-readable name of the EMV application used for the payment. Maximum length: 16 Read only: true |
applied_card_surcharge_details | Model | Optional | Expand Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type applied card surcharge details Additional information about a card_surcharge on the payment. Read only: true |
auth_result_code | string | Optional | The status code returned by the card issuer that describes the payment's authorization status. Maximum length: 10 Read only: true |
avs_status | string | Optional | The status code returned from the Address Verification System (AVS) check. The code can be `AVS_ACCEPTED`, `AVS_REJECTED`, or `AVS_NOT_CHECKED`. Maximum length: 50 Read only: true |
card | Model | Optional | Expand Create Card — response body — card The credit card's non-confidential details. Read only: true |
card_payment_timeline | Model | Optional | Expand Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type card payment timeline The timeline for card payments. Read only: true |
cvv_status | string | Optional | The status code returned from the Card Verification Value (CVV) check. The code can be `CVV_ACCEPTED`, `CVV_REJECTED`, or `CVV_NOT_CHECKED`. Maximum length: 50 Read only: true |
device_details | JSON | Optional | |
device_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment device details __Deprecated__: Use `Payment.device_details` instead. Details about the device that took the payment. |
device_details (anyOf 2) | null | Alternative | |
entry_method | string | Optional | The method used to enter the card's details for the payment. The method can be `KEYED`, `SWIPED`, `EMV`, `ON_FILE`, or `CONTACTLESS`. Maximum length: 50 Read only: true |
errors | array | Optional | Information about errors encountered during the request. Read only: true |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
refund_requires_card_presence | boolean | Optional | Whether the card must be physically present for the payment to be refunded. If set to `true`, the card must be present. Read only: true |
statement_description | string | Optional | The statement description sent to the card networks. Note: The actual statement description varies and is likely to be truncated and appended with additional information on a per issuer basis. Maximum length: 50 Read only: true |
status | string | Optional | The card payment's current state. The state can be AUTHORIZED, CAPTURED, VOIDED, or FAILED. Maximum length: 50 Read only: true |
verification_method | string | Optional | For EMV payments, the method used to verify the cardholder's identity. The method can be `PIN`, `SIGNATURE`, `PIN_AND_SIGNATURE`, `ON_DEVICE`, or `NONE`. Maximum length: 50 Read only: true |
verification_results | string | Optional | For EMV payments, the results of the cardholder verification. The result can be `SUCCESS`, `FAILURE`, or `UNKNOWN`. Maximum length: 50 Read only: true |
wallet_type | string | Optional | The type of digital wallet used for this card payment, if applicable. Currently only populated for in-person Apple Pay payments. Detection has no false positives but may have false negatives (some Apple Pay payments may not be detected). For payments with `source_type` of `WALLET`, see `DigitalWalletDetails` instead. Values: `APPLE_PAY` Maximum length: 50 Read only: true |
Referenced models: Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type card payment timeline, Get Payment — response body — payment device details, Create Card — response body — card, Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type applied card surcharge details, Get Shift — response body — errors item
Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type applied card surcharge details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details related to an attempt to apply a card surcharge to this payment. When surcharge eligibility is not known in advance, such as when the card type (debit or credit) is required to make the eligibility determination, proposed_card_surcharge_money and proposed_additional_amount_money will match the values in the request, while card_surcharge_money and additional_amount_money are present only when the payment has a surcharge applied. |
card_surcharge_money | JSON | Optional | |
card_surcharge_money (anyOf 1) | Model | Alternative | Expand Pay Order — response body — order total money A specific surcharge levied by the merchant, if a card payment is used, instead of cash or some other payment type. Should only include the base surcharge amount. Any additional fees related to the surcharge (e.g. taxes on the surcharge) should only be included in the additional_amount_money. This amount is 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 currency code must match the currency associated with the business that is accepting the payment. |
card_surcharge_money (anyOf 2) | null | Alternative |
Referenced models: Pay Order — response body — order total money
Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type card payment timeline
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The timeline for card payments. |
authorized_at | JSON | Optional | |
authorized_at (anyOf 1) | string | Alternative | The timestamp when the payment was authorized, in RFC 3339 format. |
authorized_at (anyOf 2) | null | Alternative | |
captured_at | JSON | Optional | |
captured_at (anyOf 1) | string | Alternative | The timestamp when the payment was captured, in RFC 3339 format. |
captured_at (anyOf 2) | null | Alternative | |
voided_at | JSON | Optional | |
voided_at (anyOf 1) | string | Alternative | The timestamp when the payment was voided, in RFC 3339 format. |
voided_at (anyOf 2) | null | Alternative |
Get Payment — response body — payment cash details buyer supplied money, change back money
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Stores details about a cash payment. Contains only non-confidential information. For more information, see [Take Cash Payments](https://developer.squareup.com/docs/payments-api/take-payments/cash-payments). |
buyer_supplied_money | Model | Required within parent | Expand Pay Order — response body — order total money The amount and currency of the money supplied by the buyer. |
change_back_money | Model | Optional | Expand Pay Order — response body — order total money The amount of change due back to the buyer. This read-only field is calculated from the `amount_money` and `buyer_supplied_money` fields. Read only: true |
Referenced models: Pay Order — response body — order total money
Get Payment — response body — payment device details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details about the device that took the payment. |
device_id | JSON | Optional | |
device_id (anyOf 1) | string | Alternative | The Square-issued ID of the device. Maximum length: 255 |
device_id (anyOf 2) | null | Alternative | |
device_installation_id | JSON | Optional | |
device_installation_id (anyOf 1) | string | Alternative | The Square-issued installation ID for the device. Maximum length: 255 |
device_installation_id (anyOf 2) | null | Alternative | |
device_name | JSON | Optional | |
device_name (anyOf 1) | string | Alternative | The name of the device set by the seller. Maximum length: 255 |
device_name (anyOf 2) | null | Alternative |
Get Payment — response body — payment electronic money details Details specific to electronic money payments
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details specific to electronic money payments. |
felica_details | JSON | Optional | |
felica_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment electronic money details Details specific to electronic money payments felica details Details for Felica payments Details specific to FeliCa payments. |
felica_details (anyOf 2) | null | Alternative |
Referenced models: Get Payment — response body — payment electronic money details Details specific to electronic money payments felica details Details for Felica payments
Get Payment — response body — payment electronic money details Details specific to electronic money payments felica details Details for Felica payments
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details for Felica payments. |
felica_brand | JSON | Optional | |
felica_brand (anyOf 1) | string | Alternative | A Felica card's "sub-brand"--the actual brand on the Felica card The Felica sub-brand of the payment. See [FelicaBrand](#type-felicabrand) for possible values Known values: UNKNOWN, FELICA_ID, FELICA_TRANSPORTATION, FELICA_QP |
felica_brand (anyOf 2) | null | Alternative | |
felica_masked_card_number | JSON | Optional | |
felica_masked_card_number (anyOf 1) | string | Alternative | The masked card number for a Felica payment. |
felica_masked_card_number (anyOf 2) | null | Alternative | |
terminal_id | JSON | Optional | |
terminal_id (anyOf 1) | string | Alternative | The terminal id for a Felica payment. Maximum length: 255 |
terminal_id (anyOf 2) | null | Alternative |
Get Payment — response body — payment external details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Stores details about an external payment. Contains only non-confidential information. For more information, see [Take External Payments](https://developer.squareup.com/docs/payments-api/take-payments/external-payments). |
source | string | Required within parent | A description of the external payment source. For example, "Food Delivery Service". Maximum length: 255 |
source_fee_money | JSON | Optional | |
source_fee_money (anyOf 1) | Model | Alternative | Expand Pay Order — response body — order total money The fees paid to the source. The `amount_money` minus this field is the net amount seller receives. |
source_fee_money (anyOf 2) | null | Alternative | |
source_id | JSON | Optional | |
source_id (anyOf 1) | string | Alternative | An ID to associate the payment to its originating source. Maximum length: 255 |
source_id (anyOf 2) | null | Alternative | |
type | string | Required within parent | The type of external payment the seller received. It can be one of the following: - CHECK - Paid using a physical check. - BANK_TRANSFER - Paid using external bank transfer. - OTHER\_GIFT\_CARD - Paid using a non-Square gift card. - CRYPTO - Paid using a crypto currency. - SQUARE_CASH - Paid using Square Cash App. - SOCIAL - Paid using peer-to-peer payment applications. - EXTERNAL - A third-party application gathered this payment outside of Square. - EMONEY - Paid using an E-money provider. - CARD - A credit or debit card that Square does not support. - STORED_BALANCE - Use for house accounts, store credit, and so forth. - FOOD_VOUCHER - Restaurant voucher provided by employers to employees to pay for meals - OTHER - A type not listed here. Maximum length: 50 |
Referenced models: Pay Order — response body — order total money
Get Payment — response body — payment processing fee item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the Square processing fee. |
amount_money | JSON | Optional | |
amount_money (anyOf 1) | Model | Alternative | Expand Pay Order — response body — order total money The fee amount, which might be negative, that is assessed or adjusted by Square. Positive values represent funds being assessed, while negative values represent funds being returned. |
amount_money (anyOf 2) | null | Alternative | |
effective_at | JSON | Optional | |
effective_at (anyOf 1) | string | Alternative | The timestamp of when the fee takes effect, in RFC 3339 format. |
effective_at (anyOf 2) | null | Alternative | |
type | JSON | Optional | |
type (anyOf 1) | string | Alternative | The type of fee assessed or adjusted. The fee type can be `INITIAL` or `ADJUSTMENT`. |
type (anyOf 2) | null | Alternative |
Referenced models: Pay Order — response body — order total money
Get Payment — response body — payment risk evaluation
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents fraud risk information for the associated payment. When you take a payment through Square's Payments API (using the `CreatePayment` endpoint), Square evaluates it and assigns a risk level to the payment. Sellers can use this information to determine the course of action (for example, provide the goods/services or refund the payment). |
created_at | string | Optional | The timestamp when payment risk was evaluated, in RFC 3339 format. Read only: true |
risk_level | JSON | Optional | |
risk_level (anyOf 1) | string | Alternative | The risk level associated with the payment See [RiskEvaluationRiskLevel](#type-riskevaluationrisklevel) for possible values Known values: PENDING, NORMAL, MODERATE, HIGH |
risk_level (anyOf 2) | null | Alternative |
Get Payment — response body — payment square account details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about Square Account payments. |
errors | JSON | Optional | |
errors (anyOf 1) | array | Alternative | Information about errors encountered during the request. |
errors (anyOf 1)[] | Model | Each item | Expand Get Shift — response body — errors item |
errors (anyOf 2) | null | Alternative | |
payment_source_token | JSON | Optional | |
payment_source_token (anyOf 1) | string | Alternative | Unique identifier for the payment source used for this payment. Maximum length: 255 |
payment_source_token (anyOf 2) | null | Alternative |
Referenced models: Get Shift — response body — errors item
Get Payment — response body — payment wallet details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about `WALLET` type payments. Contains only non-confidential information. |
brand | JSON | Optional | |
brand (anyOf 1) | string | Alternative | The brand used for the `WALLET` payment. The brand can be `CASH_APP`, `PAYPAY`, `ALIPAY`, `RAKUTEN_PAY`, `AU_PAY`, `D_BARAI`, `MERPAY`, `WECHAT_PAY`, `LIGHTNING` or `UNKNOWN`. Maximum length: 50 |
brand (anyOf 2) | null | Alternative | |
cash_app_details | JSON | Optional | |
cash_app_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment wallet details cash app details buyer cashtag, buyer country code, buyer full name Brand-specific details for payments with the `brand` of `CASH_APP`. |
cash_app_details (anyOf 2) | null | Alternative | |
errors | array | Optional | Information about errors encountered during the payment. Read only: true |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
lightning_details | JSON | Optional | |
lightning_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment wallet details lightning details payment url Brand-specific details for payments with the `brand` of `LIGHTNING`. |
lightning_details (anyOf 2) | null | Alternative | |
status | JSON | Optional | |
status (anyOf 1) | string | Alternative | The status of the `WALLET` payment. The status can be `AUTHORIZED`, `CAPTURED`, `VOIDED`, or `FAILED`. Maximum length: 50 |
status (anyOf 2) | null | Alternative |
Referenced models: Get Payment — response body — payment wallet details cash app details buyer cashtag, buyer country code, buyer full name, Get Payment — response body — payment wallet details lightning details payment url, Get Shift — response body — errors item
Get Payment — response body — payment wallet details cash app details buyer cashtag, buyer country code, buyer full name
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about `WALLET` type payments with the `brand` of `CASH_APP`. |
buyer_cashtag | string | Optional | $Cashtag of the Cash App account holder. Maximum length: 21 Minimum length: 1 Read only: true |
buyer_country_code | JSON | Optional | |
buyer_country_code (anyOf 1) | string | Alternative | The country of the Cash App account holder, in ISO 3166-1-alpha-2 format. For possible values, see [Country](entity:Country). Maximum length: 2 Minimum length: 2 |
buyer_country_code (anyOf 2) | null | Alternative | |
buyer_full_name | JSON | Optional | |
buyer_full_name (anyOf 1) | string | Alternative | The name of the Cash App account holder. Maximum length: 255 |
buyer_full_name (anyOf 2) | null | Alternative |
Get Payment — response body — payment wallet details lightning details payment url
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about `WALLET` type payments with the `brand` of `LIGHTNING`. |
payment_url | JSON | Optional | |
payment_url (anyOf 1) | string | Alternative | Payment URL for the lightning payment, a.k.a. the invoice. |
payment_url (anyOf 2) | null | Alternative |
List Payments — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Defines the response returned by [ListPayments](api-endpoint:Payments-ListPayments). |
cursor | string | Optional | The pagination cursor to be used in a subsequent request. If empty, this is the final response. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
errors | array | Optional | Information about errors encountered during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
payments | array | Optional | The requested list of payments. |
payments[] | Model | Each item | Expand Get Payment — response body — payment |
Referenced models: Get Shift — response body — errors item, Get Payment — response body — payment
Update Payment — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Describes a request to update a payment using [UpdatePayment](api-endpoint:Payments-UpdatePayment). |
idempotency_key | string | Required within parent | A unique string that identifies this `UpdatePayment` request. Keys can be any valid string but must be unique for every `UpdatePayment` request. For more information, see [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency). Maximum length: 45 Minimum length: 1 |
payment | JSON | Optional | |
payment (anyOf 1) | Model | Alternative | Expand Update Payment — request body — body payment Represents a payment processed by the Square API The updated `Payment` object. |
payment (anyOf 2) | null | Alternative |
Referenced models: Update Payment — request body — body payment Represents a payment processed by the Square API
Update Payment — request body — body payment Represents a payment processed by the Square API
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a payment processed by the Square API. |
amount_money | JSON | Optional | |
amount_money (anyOf 1) | Model | Alternative | Expand Create Payment — request body — body tip money The amount processed for this payment, not including `tip_money`. The amount is 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). |
amount_money (anyOf 2) | null | Alternative | |
app_fee_allocations | JSON | Optional | |
app_fee_allocations (anyOf 1) | array | Alternative | Details pertaining to recipients of the application fee. |
app_fee_allocations (anyOf 1)[] | Model | Each item | Expand Create Payment — request body — body app fee allocations item |
app_fee_allocations (anyOf 2) | null | Alternative | |
app_fee_money | JSON | Optional | |
app_fee_money (anyOf 1) | Model | Alternative | Expand 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. This amount is specified in the smallest denomination of the applicable currency (for example, US dollar amounts are specified in cents). For more information, see [Take Payments and Collect Fees](https://developer.squareup.com/docs/payments-api/take-payments-and-collect-fees). The amount cannot be more than 90% of the `total_money` value. 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) | null | Alternative | |
application_details | Model | Optional | Expand Update Payment — request body — body payment Represents a payment processed by the Square API application details Details about the application that took the payment. Read only: true |
approved_money | JSON | Optional | |
approved_money (anyOf 1) | Model | Alternative | Expand Create Payment — request body — body tip money The amount of money approved for this payment. This value may change if Square chooses to obtain reauthorization as part of a call to [UpdatePayment](api-endpoint:Payments-UpdatePayment). |
approved_money (anyOf 2) | null | Alternative | |
bank_account_details | Model | Optional | Expand Update Payment — request body — body payment Represents a payment processed by the Square API bank account details Details about a bank account payment. These details are only populated if the source_type is `BANK_ACCOUNT`. Read only: true |
billing_address | Model | Optional | Expand Create Customer — request body — body address The buyer's billing address. Read only: true |
buy_now_pay_later_details | Model | Optional | Expand Update Payment — request body — body payment Represents a payment processed by the Square API buy now pay later details Details about a Buy Now Pay Later payment. The details are only populated if the `source_type` is `BUY_NOW_PAY_LATER`. For more information, see [Afterpay Payments](https://developer.squareup.com/docs/payments-api/take-payments/afterpay-payments). Read only: true |
buyer_currency_exchange | Model | Optional | Expand Get Payment — response body — payment buyer currency exchange Details about the currency exchange for payments where the currency the buyer paid with differs from the currency the merchant received (e.g., bitcoin lightning payments). This field will only be present when the buyer paid in a different currency than the one used in the payment's total_money/amount_money fields. Read only: true |
buyer_email_address | string | Optional | The buyer's email address. Maximum length: 255 Read only: true |
capabilities | array | Optional | Actions that can be performed on this payment: - `EDIT_AMOUNT_UP` - The payment amount can be edited up. - `EDIT_AMOUNT_DOWN` - The payment amount can be edited down. - `EDIT_TIP_AMOUNT_UP` - The tip amount can be edited up. - `EDIT_TIP_AMOUNT_DOWN` - The tip amount can be edited down. - `EDIT_DELAY_ACTION` - The delay_action can be edited. Read only: true |
capabilities[] | string | Each item | |
card_details | JSON | Optional | |
card_details (anyOf 1) | Model | Alternative | Expand Update Payment — request body — body payment Represents a payment processed by the Square API card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type Details about a card payment. These details are only populated if the source_type is `CARD`. |
card_details (anyOf 2) | null | Alternative | |
cash_details | JSON | Optional | |
cash_details (anyOf 1) | Model | Alternative | Expand Create Payment — request body — body cash details Details about a cash payment. These details are only populated if the source_type is `CASH`. |
cash_details (anyOf 2) | null | Alternative | |
created_at | string | Optional | The timestamp of when the payment was created, in RFC 3339 format. Maximum length: 32 Read only: true |
customer_id | string | Optional | The ID of the customer associated with the payment. If the ID is not provided in the `CreatePayment` request that was used to create the `Payment`, Square may use information in the request (such as the billing and shipping address, email address, and payment source) to identify a matching customer profile in the Customer Directory. If found, the profile ID is used. If a profile is not found, the API attempts to create an [instant profile](https://developer.squareup.com/docs/customers-api/what-it-does#instant-profiles). If the API cannot create an instant profile (either because the seller has disabled it or the seller's region prevents creating it), this field remains unset. Note that this process is asynchronous and it may take some time before a customer ID is added to the payment. Maximum length: 191 Read only: true |
delay_action | JSON | Optional | |
delay_action (anyOf 1) | string | Alternative | The action to be applied to the payment when the `delay_duration` has elapsed. Current values include `CANCEL` and `COMPLETE`. |
delay_action (anyOf 2) | null | Alternative | |
delay_duration | string | Optional | The duration of time after the payment's creation when Square automatically applies the `delay_action` to the payment. This automatic `delay_action` applies only to payments that do not reach a terminal state (COMPLETED, CANCELED, or FAILED) before the `delay_duration` time period. This field is specified as a time duration, in RFC 3339 format. Notes: This feature is only supported for card payments. Default: - Card-present payments: "PT36H" (36 hours) from the creation time. - Card-not-present payments: "P7D" (7 days) from the creation time. Read only: true |
delayed_until | string | Optional | The read-only timestamp of when the `delay_action` is automatically applied, in RFC 3339 format. Note that this field is calculated by summing the payment's `delay_duration` and `created_at` fields. The `created_at` field is generated by Square and might not exactly match the time on your local machine. Read only: true |
device_details | Model | Optional | Expand Get Payment — response body — payment device details Details about the device that took the payment. Read only: true |
electronic_money_details | JSON | Optional | |
electronic_money_details (anyOf 1) | Model | Alternative | Expand Update Payment — request body — body payment Represents a payment processed by the Square API electronic money details Details specific to electronic money payments Details specific to electronic money payments. |
electronic_money_details (anyOf 2) | null | Alternative | |
employee_id | string | Optional | __Deprecated__: Use `Payment.team_member_id` instead. An optional ID of the employee associated with taking the payment. Maximum length: 192 Read only: true |
external_details | Model | Optional | Expand Create Payment — request body — body external details Details about an external payment. The details are only populated if the `source_type` is `EXTERNAL`. Read only: true |
id | string | Optional | A unique ID for the payment. Maximum length: 192 Read only: true |
is_offline_payment | boolean | Optional | Whether or not this payment was taken offline. Read only: true |
location_id | string | Optional | The ID of the location associated with the payment. Maximum length: 50 Read only: true |
note | string | Optional | An optional note to include when creating a payment. Maximum length: 500 Read only: true |
offline_payment_details | Model | Optional | Expand Create Payment — request body — body offline payment details Additional information about the payment if it was taken offline. Read only: true |
order_id | string | Optional | The ID of the order associated with the payment. Maximum length: 192 Read only: true |
processing_fee | array | Optional | The processing fees and fee adjustments assessed by Square for this payment. Read only: true |
processing_fee[] | Model | Each item | Expand Update Payment — request body — body payment Represents a payment processed by the Square API processing fee item |
receipt_number | string | Optional | The payment's receipt number. The field is missing if a payment is canceled. Maximum length: 4 Read only: true |
receipt_url | string | Optional | The URL for the payment's receipt. The field is only populated for COMPLETED payments. Maximum length: 255 Read only: true |
reference_id | string | Optional | An optional ID that associates the payment with an entity in another system. Maximum length: 40 Read only: true |
refund_ids | array | Optional | A list of `refund_id`s identifying refunds for the payment. Read only: true |
refund_ids[] | string | Each item | |
refunded_money | Model | Optional | Expand Create Payment — request body — body tip money The total amount of the payment refunded to date. This amount is specified in the smallest denomination of the applicable currency (for example, US dollar amounts are specified in cents). Read only: true |
risk_evaluation | Model | Optional | Expand Update Payment — request body — body payment Represents a payment processed by the Square API risk evaluation Provides information about the risk associated with the payment, as determined by Square. This field is present for payments to sellers that have opted in to receive risk evaluations. Read only: true |
shipping_address | Model | Optional | Expand Create Customer — request body — body address The buyer's shipping address. Read only: true |
source_type | string | Optional | The source type for this payment. Current values include `CARD`, `BANK_ACCOUNT`, `WALLET`, `BUY_NOW_PAY_LATER`, `SQUARE_ACCOUNT`, `CASH` and `EXTERNAL`. For information about these payment source types, see [Take Payments](https://developer.squareup.com/docs/payments-api/take-payments). Maximum length: 50 Read only: true |
square_account_details | Model | Optional | Expand Update Payment — request body — body payment Represents a payment processed by the Square API square account details Details about a Square Account payment. The details are only populated if the `source_type` is `SQUARE_ACCOUNT`. Read only: true |
statement_description_identifier | string | Optional | Additional payment information that gets added to the customer's card statement as part of the statement description. Note that the `statement_description_identifier` might get truncated on the statement description to fit the required information including the Square identifier (SQ *) and the name of the seller taking the payment. Read only: true |
status | string | Optional | Indicates whether the payment is APPROVED, PENDING, COMPLETED, CANCELED, or FAILED. Maximum length: 50 Read only: true |
team_member_id | JSON | Optional | |
team_member_id (anyOf 1) | string | Alternative | An optional ID of the [TeamMember](entity:TeamMember) associated with taking the payment. Maximum length: 192 |
team_member_id (anyOf 2) | null | Alternative | |
terminal_checkout_id | string | Optional | An optional ID for a Terminal checkout that is associated with the payment. Read only: true |
tip_money | JSON | Optional | |
tip_money (anyOf 1) | Model | Alternative | Expand Create Payment — request body — body tip money The amount designated as a tip for the seller's staff. Tips for external vendors such as a 3rd party delivery courier must be recorded using Order.service_charges. This amount is 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). |
tip_money (anyOf 2) | null | Alternative | |
total_money | Model | Optional | Expand Create Payment — request body — body tip money The total amount for the payment, including `amount_money` and `tip_money`. This amount is 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). Read only: true |
updated_at | string | Optional | The timestamp of when the payment was last updated, in RFC 3339 format. Maximum length: 32 Read only: true |
version_token | JSON | Optional | |
version_token (anyOf 1) | string | Alternative | Used for optimistic concurrency. This opaque token identifies a specific version of the `Payment` object. |
version_token (anyOf 2) | null | Alternative | |
wallet_details | Model | Optional | Expand Update Payment — request body — body payment Represents a payment processed by the Square API wallet details Details about an wallet payment. The details are only populated if the `source_type` is `WALLET`. Read only: true |
Referenced models: Create Customer — request body — body address, Create Payment — request body — body app fee allocations item, Update Payment — request body — body payment Represents a payment processed by the Square API application details, Update Payment — request body — body payment Represents a payment processed by the Square API bank account details, Update Payment — request body — body payment Represents a payment processed by the Square API buy now pay later details, Update Payment — request body — body payment Represents a payment processed by the Square API card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type, Create Payment — request body — body cash details, Get Payment — response body — payment buyer currency exchange, Get Payment — response body — payment device details, Update Payment — request body — body payment Represents a payment processed by the Square API wallet details, Update Payment — request body — body payment Represents a payment processed by the Square API electronic money details Details specific to electronic money payments, Create Payment — request body — body external details, Create Payment — request body — body tip money, Create Payment — request body — body offline payment details, Update Payment — request body — body payment Represents a payment processed by the Square API processing fee item, Update Payment — request body — body payment Represents a payment processed by the Square API risk evaluation, Update Payment — request body — body payment Represents a payment processed by the Square API square account details
Update Payment — request body — body payment Represents a payment processed by the Square API application details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details about the application that took the payment. |
application_id | JSON | Optional | |
application_id (anyOf 1) | string | Alternative | The Square ID assigned to the application used to take the payment. Application developers can use this information to identify payments that their application processed. For example, if a developer uses a custom application to process payments, this field contains the application ID from the Developer Dashboard. If a seller uses a [Square App Marketplace](https://developer.squareup.com/docs/app-marketplace) application to process payments, the field contains the corresponding application ID. |
application_id (anyOf 2) | null | Alternative | |
square_product | JSON | Optional | |
square_product (anyOf 1) | string | Alternative | A list of products to return to external callers. The Square product, such as Square Point of Sale (POS), Square Invoices, or Square Virtual Terminal. See [ExternalSquareProduct](#type-externalsquareproduct) for possible values One of: APPOINTMENTS, ECOMMERCE_API, INVOICES, ONLINE_STORE, OTHER, RESTAURANTS, RETAIL, SQUARE_POS, TERMINAL_API, VIRTUAL_TERMINAL |
square_product (anyOf 2) | null | Alternative |
Update Payment — request body — body payment Represents a payment processed by the Square API bank account details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about BANK_ACCOUNT type payments. |
account_ownership_type | JSON | Optional | |
account_ownership_type (anyOf 1) | string | Alternative | The ownership type of the bank account performing the transfer. The type can be `INDIVIDUAL`, `COMPANY`, or `ACCOUNT_TYPE_UNKNOWN`. Maximum length: 50 |
account_ownership_type (anyOf 2) | null | Alternative | |
ach_details | JSON | Optional | |
ach_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment bank account details ach details account number suffix, account type, routing number ACH-specific information about the transfer. The information is only populated if the `transfer_type` is `ACH`. |
ach_details (anyOf 2) | null | Alternative | |
bank_name | JSON | Optional | |
bank_name (anyOf 1) | string | Alternative | The name of the bank associated with the bank account. Maximum length: 100 |
bank_name (anyOf 2) | null | Alternative | |
country | JSON | Optional | |
country (anyOf 1) | string | Alternative | The two-letter ISO code representing the country the bank account is located in. Maximum length: 2 Minimum length: 2 |
country (anyOf 2) | null | Alternative | |
errors | JSON | Optional | |
errors (anyOf 1) | array | Alternative | Information about errors encountered during the request. |
errors (anyOf 1)[] | Model | Each item | Expand Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item |
errors (anyOf 2) | null | Alternative | |
fingerprint | JSON | Optional | |
fingerprint (anyOf 1) | string | Alternative | Uniquely identifies the bank account for this seller and can be used to determine if payments are from the same bank account. Maximum length: 255 |
fingerprint (anyOf 2) | null | Alternative | |
statement_description | JSON | Optional | |
statement_description (anyOf 1) | string | Alternative | The statement description as sent to the bank. Maximum length: 1000 |
statement_description (anyOf 2) | null | Alternative | |
transfer_type | JSON | Optional | |
transfer_type (anyOf 1) | string | Alternative | The type of the bank transfer. The type can be `ACH` or `UNKNOWN`. Maximum length: 50 |
transfer_type (anyOf 2) | null | Alternative |
Referenced models: Get Payment — response body — payment bank account details ach details account number suffix, account type, routing number, Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item
Update Payment — request body — body payment Represents a payment processed by the Square API buy now pay later details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about a Buy Now Pay Later payment type. |
afterpay_details | JSON | Optional | |
afterpay_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment buy now pay later details afterpay details Additional details about Afterpay payments Details about an Afterpay payment. These details are only populated if the `brand` is `AFTERPAY`. |
afterpay_details (anyOf 2) | null | Alternative | |
brand | JSON | Optional | |
brand (anyOf 1) | string | Alternative | The brand used for the Buy Now Pay Later payment. The brand can be `AFTERPAY`, `CLEARPAY` or `UNKNOWN`. Maximum length: 50 |
brand (anyOf 2) | null | Alternative | |
clearpay_details | JSON | Optional | |
clearpay_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment buy now pay later details clearpay details Additional details about Clearpay payments Details about a Clearpay payment. These details are only populated if the `brand` is `CLEARPAY`. |
clearpay_details (anyOf 2) | null | Alternative | |
errors | array | Optional | Information about errors encountered during the payment. Read only: true |
errors[] | Model | Each item | Expand Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item |
Referenced models: Get Payment — response body — payment buy now pay later details afterpay details Additional details about Afterpay payments, Get Payment — response body — payment buy now pay later details clearpay details Additional details about Clearpay payments, Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item
Update Payment — request body — body payment Represents a payment processed by the Square API card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Reflects the current status of a card payment. Contains only non-confidential information. |
application_cryptogram | string | Optional | For EMV payments, the cryptogram generated for the payment. Maximum length: 16 Read only: true |
application_identifier | string | Optional | For EMV payments, the application ID identifies the EMV application used for the payment. Maximum length: 32 Read only: true |
application_name | string | Optional | For EMV payments, the human-readable name of the EMV application used for the payment. Maximum length: 16 Read only: true |
applied_card_surcharge_details | Model | Optional | Expand Update Payment — request body — body payment Represents a payment processed by the Square API card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type applied card surcharge details Additional information about a card_surcharge on the payment. Read only: true |
auth_result_code | string | Optional | The status code returned by the card issuer that describes the payment's authorization status. Maximum length: 10 Read only: true |
avs_status | string | Optional | The status code returned from the Address Verification System (AVS) check. The code can be `AVS_ACCEPTED`, `AVS_REJECTED`, or `AVS_NOT_CHECKED`. Maximum length: 50 Read only: true |
card | Model | Optional | Expand Create Card — request body — body card The credit card's non-confidential details. Read only: true |
card_payment_timeline | Model | Optional | Expand Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type card payment timeline The timeline for card payments. Read only: true |
cvv_status | string | Optional | The status code returned from the Card Verification Value (CVV) check. The code can be `CVV_ACCEPTED`, `CVV_REJECTED`, or `CVV_NOT_CHECKED`. Maximum length: 50 Read only: true |
device_details | JSON | Optional | |
device_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment device details __Deprecated__: Use `Payment.device_details` instead. Details about the device that took the payment. |
device_details (anyOf 2) | null | Alternative | |
entry_method | string | Optional | The method used to enter the card's details for the payment. The method can be `KEYED`, `SWIPED`, `EMV`, `ON_FILE`, or `CONTACTLESS`. Maximum length: 50 Read only: true |
errors | array | Optional | Information about errors encountered during the request. Read only: true |
errors[] | Model | Each item | Expand Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item |
refund_requires_card_presence | boolean | Optional | Whether the card must be physically present for the payment to be refunded. If set to `true`, the card must be present. Read only: true |
statement_description | string | Optional | The statement description sent to the card networks. Note: The actual statement description varies and is likely to be truncated and appended with additional information on a per issuer basis. Maximum length: 50 Read only: true |
status | string | Optional | The card payment's current state. The state can be AUTHORIZED, CAPTURED, VOIDED, or FAILED. Maximum length: 50 Read only: true |
verification_method | string | Optional | For EMV payments, the method used to verify the cardholder's identity. The method can be `PIN`, `SIGNATURE`, `PIN_AND_SIGNATURE`, `ON_DEVICE`, or `NONE`. Maximum length: 50 Read only: true |
verification_results | string | Optional | For EMV payments, the results of the cardholder verification. The result can be `SUCCESS`, `FAILURE`, or `UNKNOWN`. Maximum length: 50 Read only: true |
wallet_type | string | Optional | The type of digital wallet used for this card payment, if applicable. Currently only populated for in-person Apple Pay payments. Detection has no false positives but may have false negatives (some Apple Pay payments may not be detected). For payments with `source_type` of `WALLET`, see `DigitalWalletDetails` instead. Values: `APPLE_PAY` Maximum length: 50 Read only: true |
Referenced models: Create Card — request body — body card, Get Payment — response body — payment card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type card payment timeline, Update Payment — request body — body payment Represents a payment processed by the Square API card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type applied card surcharge details, Get Payment — response body — payment device details, Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item
Update Payment — request body — body payment Represents a payment processed by the Square API card details application cryptogram, application identifier, application name, applied card surcharge details, auth result code, avs status, card, card payment timeline, cvv status, device details, entry method, errors, refund requires card presence, statement description, status, verification method, verification results, wallet type applied card surcharge details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details related to an attempt to apply a card surcharge to this payment. When surcharge eligibility is not known in advance, such as when the card type (debit or credit) is required to make the eligibility determination, proposed_card_surcharge_money and proposed_additional_amount_money will match the values in the request, while card_surcharge_money and additional_amount_money are present only when the payment has a surcharge applied. |
card_surcharge_money | JSON | Optional | |
card_surcharge_money (anyOf 1) | Model | Alternative | Expand Create Payment — request body — body tip money A specific surcharge levied by the merchant, if a card payment is used, instead of cash or some other payment type. Should only include the base surcharge amount. Any additional fees related to the surcharge (e.g. taxes on the surcharge) should only be included in the additional_amount_money. This amount is 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 currency code must match the currency associated with the business that is accepting the payment. |
card_surcharge_money (anyOf 2) | null | Alternative |
Referenced models: Create Payment — request body — body tip money
Update Payment — request body — body payment Represents a payment processed by the Square API electronic money details Details specific to electronic money payments
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details specific to electronic money payments. |
felica_details | JSON | Optional | |
felica_details (anyOf 1) | Model | Alternative | Expand Update Payment — request body — body payment Represents a payment processed by the Square API electronic money details Details specific to electronic money payments felica details Details for Felica payments Details specific to FeliCa payments. |
felica_details (anyOf 2) | null | Alternative |
Update Payment — request body — body payment Represents a payment processed by the Square API electronic money details Details specific to electronic money payments felica details Details for Felica payments
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details for Felica payments. |
felica_brand | JSON | Optional | |
felica_brand (anyOf 1) | string | Alternative | A Felica card's "sub-brand"--the actual brand on the Felica card The Felica sub-brand of the payment. See [FelicaBrand](#type-felicabrand) for possible values One of: UNKNOWN, FELICA_ID, FELICA_TRANSPORTATION, FELICA_QP |
felica_brand (anyOf 2) | null | Alternative | |
felica_masked_card_number | JSON | Optional | |
felica_masked_card_number (anyOf 1) | string | Alternative | The masked card number for a Felica payment. |
felica_masked_card_number (anyOf 2) | null | Alternative | |
terminal_id | JSON | Optional | |
terminal_id (anyOf 1) | string | Alternative | The terminal id for a Felica payment. Maximum length: 255 |
terminal_id (anyOf 2) | null | Alternative |
Update Payment — request body — body payment Represents a payment processed by the Square API processing fee item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the Square processing fee. |
amount_money | JSON | Optional | |
amount_money (anyOf 1) | Model | Alternative | Expand Create Payment — request body — body tip money The fee amount, which might be negative, that is assessed or adjusted by Square. Positive values represent funds being assessed, while negative values represent funds being returned. |
amount_money (anyOf 2) | null | Alternative | |
effective_at | JSON | Optional | |
effective_at (anyOf 1) | string | Alternative | The timestamp of when the fee takes effect, in RFC 3339 format. |
effective_at (anyOf 2) | null | Alternative | |
type | JSON | Optional | |
type (anyOf 1) | string | Alternative | The type of fee assessed or adjusted. The fee type can be `INITIAL` or `ADJUSTMENT`. |
type (anyOf 2) | null | Alternative |
Referenced models: Create Payment — request body — body tip money
Update Payment — request body — body payment Represents a payment processed by the Square API risk evaluation
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents fraud risk information for the associated payment. When you take a payment through Square's Payments API (using the `CreatePayment` endpoint), Square evaluates it and assigns a risk level to the payment. Sellers can use this information to determine the course of action (for example, provide the goods/services or refund the payment). |
created_at | string | Optional | The timestamp when payment risk was evaluated, in RFC 3339 format. Read only: true |
risk_level | JSON | Optional | |
risk_level (anyOf 1) | string | Alternative | The risk level associated with the payment See [RiskEvaluationRiskLevel](#type-riskevaluationrisklevel) for possible values One of: PENDING, NORMAL, MODERATE, HIGH |
risk_level (anyOf 2) | null | Alternative |
Update Payment — request body — body payment Represents a payment processed by the Square API square account details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about Square Account payments. |
errors | JSON | Optional | |
errors (anyOf 1) | array | Alternative | Information about errors encountered during the request. |
errors (anyOf 1)[] | Model | Each item | Expand Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item |
errors (anyOf 2) | null | Alternative | |
payment_source_token | JSON | Optional | |
payment_source_token (anyOf 1) | string | Alternative | Unique identifier for the payment source used for this payment. Maximum length: 255 |
payment_source_token (anyOf 2) | null | Alternative |
Referenced models: Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item
Update Payment — request body — body payment Represents a payment processed by the Square API wallet details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional details about `WALLET` type payments. Contains only non-confidential information. |
brand | JSON | Optional | |
brand (anyOf 1) | string | Alternative | The brand used for the `WALLET` payment. The brand can be `CASH_APP`, `PAYPAY`, `ALIPAY`, `RAKUTEN_PAY`, `AU_PAY`, `D_BARAI`, `MERPAY`, `WECHAT_PAY`, `LIGHTNING` or `UNKNOWN`. Maximum length: 50 |
brand (anyOf 2) | null | Alternative | |
cash_app_details | JSON | Optional | |
cash_app_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment wallet details cash app details buyer cashtag, buyer country code, buyer full name Brand-specific details for payments with the `brand` of `CASH_APP`. |
cash_app_details (anyOf 2) | null | Alternative | |
errors | array | Optional | Information about errors encountered during the payment. Read only: true |
errors[] | Model | Each item | Expand Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item |
lightning_details | JSON | Optional | |
lightning_details (anyOf 1) | Model | Alternative | Expand Get Payment — response body — payment wallet details lightning details payment url Brand-specific details for payments with the `brand` of `LIGHTNING`. |
lightning_details (anyOf 2) | null | Alternative | |
status | JSON | Optional | |
status (anyOf 1) | string | Alternative | The status of the `WALLET` payment. The status can be `AUTHORIZED`, `CAPTURED`, `VOIDED`, or `FAILED`. Maximum length: 50 |
status (anyOf 2) | null | Alternative |
Referenced models: Get Payment — response body — payment wallet details cash app details buyer cashtag, buyer country code, buyer full name, Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item, Get Payment — response body — payment wallet details lightning details payment url
Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an error encountered during a request to the Connect API. See [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) for more information. |
category | string | Required within parent | Indicates which high-level category of error has occurred during a request to the Connect API. The high-level category for the error. See [ErrorCategory](#type-errorcategory) for possible values One of: API_ERROR, AUTHENTICATION_ERROR, INVALID_REQUEST_ERROR, RATE_LIMIT_ERROR, PAYMENT_METHOD_ERROR, REFUND_ERROR, MERCHANT_SUBSCRIPTION_ERROR, EXTERNAL_VENDOR_ERROR |
code | Model | Required within parent | Expand Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item code The specific code of the error. See [ErrorCode](#type-errorcode) for possible values |
detail | string | Optional | A human-readable description of the error for debugging purposes. |
field | string | Optional | The name of the field provided in the original request (if any) that the error pertains to. |
Referenced models: Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item code
Update Payment — request body — body payment Represents a payment processed by the Square API wallet details errors item code
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | string | Root | Indicates the specific error that occurred during a request to a Square API. One of: INTERNAL_SERVER_ERROR, UNAUTHORIZED, ACCESS_TOKEN_EXPIRED, ACCESS_TOKEN_REVOKED, CLIENT_DISABLED, FORBIDDEN, INSUFFICIENT_SCOPES, APPLICATION_DISABLED, V1_APPLICATION, V1_ACCESS_TOKEN, CARD_PROCESSING_NOT_ENABLED, MERCHANT_SUBSCRIPTION_NOT_FOUND, BAD_REQUEST, MISSING_REQUIRED_PARAMETER, INCORRECT_TYPE, INVALID_TIME, INVALID_TIME_RANGE, INVALID_VALUE, INVALID_CURSOR, UNKNOWN_QUERY_PARAMETER, CONFLICTING_PARAMETERS, EXPECTED_JSON_BODY, INVALID_SORT_ORDER, VALUE_REGEX_MISMATCH, VALUE_TOO_SHORT, VALUE_TOO_LONG, VALUE_TOO_LOW, VALUE_TOO_HIGH, VALUE_EMPTY, ARRAY_LENGTH_TOO_LONG, ARRAY_LENGTH_TOO_SHORT, ARRAY_EMPTY, EXPECTED_BOOLEAN, EXPECTED_INTEGER, EXPECTED_FLOAT, EXPECTED_STRING, EXPECTED_OBJECT, EXPECTED_ARRAY, EXPECTED_MAP, EXPECTED_BASE64_ENCODED_BYTE_ARRAY, INVALID_ARRAY_VALUE, INVALID_ENUM_VALUE, INVALID_CONTENT_TYPE, INVALID_FORM_VALUE, CUSTOMER_NOT_FOUND, ONE_INSTRUMENT_EXPECTED, NO_FIELDS_SET, TOO_MANY_MAP_ENTRIES, MAP_KEY_LENGTH_TOO_SHORT, MAP_KEY_LENGTH_TOO_LONG, CUSTOMER_MISSING_NAME, CUSTOMER_MISSING_EMAIL, INVALID_PAUSE_LENGTH, INVALID_DATE, UNSUPPORTED_COUNTRY, UNSUPPORTED_CURRENCY, APPLE_TTP_PIN_TOKEN, CARD_EXPIRED, INVALID_EXPIRATION, INVALID_EXPIRATION_YEAR, INVALID_EXPIRATION_DATE, UNSUPPORTED_CARD_BRAND, UNSUPPORTED_ENTRY_METHOD, INVALID_ENCRYPTED_CARD, INVALID_CARD, PAYMENT_AMOUNT_MISMATCH, GENERIC_DECLINE, CVV_FAILURE, ADDRESS_VERIFICATION_FAILURE, INVALID_ACCOUNT, CURRENCY_MISMATCH, INSUFFICIENT_FUNDS, INSUFFICIENT_PERMISSIONS, CARDHOLDER_INSUFFICIENT_PERMISSIONS, INVALID_LOCATION, TRANSACTION_LIMIT, VOICE_FAILURE, PAN_FAILURE, EXPIRATION_FAILURE, CARD_NOT_SUPPORTED, READER_DECLINED, INVALID_PIN, MISSING_PIN, MISSING_ACCOUNT_TYPE, INVALID_POSTAL_CODE, INVALID_FEES, MANUALLY_ENTERED_PAYMENT_NOT_SUPPORTED, PAYMENT_LIMIT_EXCEEDED, GIFT_CARD_AVAILABLE_AMOUNT, ACCOUNT_UNUSABLE, BUYER_REFUSED_PAYMENT, DELAYED_TRANSACTION_EXPIRED, DELAYED_TRANSACTION_CANCELED, DELAYED_TRANSACTION_CAPTURED, DELAYED_TRANSACTION_FAILED, CARD_TOKEN_EXPIRED, CARD_TOKEN_USED, AMOUNT_TOO_HIGH, AMOUNT_TOO_LOW, UNSUPPORTED_INSTRUMENT_TYPE, REFUND_AMOUNT_INVALID, REFUND_ALREADY_PENDING, PAYMENT_NOT_REFUNDABLE, PAYMENT_NOT_REFUNDABLE_DUE_TO_DISPUTE, REFUND_ERROR_PAYMENT_NEEDS_COMPLETION, REFUND_DECLINED, INSUFFICIENT_PERMISSIONS_FOR_REFUND, INVALID_CARD_DATA, SOURCE_USED, SOURCE_EXPIRED, UNSUPPORTED_LOYALTY_REWARD_TIER, LOCATION_MISMATCH, ORDER_UNPAID_NOT_RETURNABLE, PARTIAL_PAYMENT_DELAY_CAPTURE_NOT_SUPPORTED, IDEMPOTENCY_KEY_REUSED, UNEXPECTED_VALUE, SANDBOX_NOT_SUPPORTED, INVALID_EMAIL_ADDRESS, INVALID_PHONE_NUMBER, CHECKOUT_EXPIRED, BAD_CERTIFICATE, INVALID_SQUARE_VERSION_FORMAT, API_VERSION_INCOMPATIBLE, CARD_PRESENCE_REQUIRED, UNSUPPORTED_SOURCE_TYPE, CARD_MISMATCH, PLAID_ERROR, PLAID_ERROR_ITEM_LOGIN_REQUIRED, PLAID_ERROR_RATE_LIMIT, PLAID_ERROR_INVALID_ACCESS_TOKEN, PLAID_ERROR_INVALID_ACCOUNT_ID, PLAID_ERROR_NO_ACCOUNTS, PLAID_ERROR_ITEM_NOT_FOUND, PLAID_ERROR_INSUFFICIENT_CREDENTIALS, PLAID_ERROR_ITEM_NOT_SUPPORTED, PLAID_ERROR_PRODUCT_NOT_READY, PAYMENT_SOURCE_NOT_ENABLED_FOR_TARGET, CARD_DECLINED, VERIFY_CVV_FAILURE, VERIFY_AVS_FAILURE, CARD_DECLINED_CALL_ISSUER, CARD_DECLINED_VERIFICATION_REQUIRED, BAD_EXPIRATION, CHIP_INSERTION_REQUIRED, ALLOWABLE_PIN_TRIES_EXCEEDED, RESERVATION_DECLINED, UNKNOWN_BODY_PARAMETER, CART_INELIGIBLE_FOR_EBT, NOT_FOUND, APPLE_PAYMENT_PROCESSING_CERTIFICATE_HASH_NOT_FOUND, METHOD_NOT_ALLOWED, NOT_ACCEPTABLE, REQUEST_TIMEOUT, CONFLICT, GONE, REQUEST_ENTITY_TOO_LARGE, UNSUPPORTED_MEDIA_TYPE, UNPROCESSABLE_ENTITY, RATE_LIMITED, NOT_IMPLEMENTED, BAD_GATEWAY, SERVICE_UNAVAILABLE, TEMPORARY_ERROR, GATEWAY_TIMEOUT |
Update Payment — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Defines the response returned by [UpdatePayment](api-endpoint:Payments-UpdatePayment). |
errors | array | Optional | Any errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
payment | Model | Optional | Expand Get Payment — response body — payment The updated payment. |
Referenced models: Get Shift — response body — errors item, Get Payment — response body — payment