---
title: "Update a Reader"
method: POST
path: "/v1/terminal/readers/{reader}"
---

# Update a Reader

`POST /v1/terminal/readers/{reader}`

Updates a `Reader` object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

## Path parameters

- `reader` string, required

## Response `200`

Successful response.

- union
  - TerminalReader — A Reader represents a physical device for accepting payment details. Related guide: [Connecting to a reader](https://docs.stripe.com/terminal/payments/connect-reader)
    - `action` TerminalReaderReaderResourceReaderAction — Represents an action performed by the reader
      - `api_error` ApiErrors
        - `advice_code` string — For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one.
        - `charge` string — For card errors, the ID of the failed charge.
        - `code` string — For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.
        - `decline_code` string — For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one.
        - `doc_url` string — A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
        - `message` string — A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
        - `network_advice_code` string — For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
        - `network_decline_code` string — For payments declined by the network, an alphanumeric code which indicates the reason the payment failed.
        - `param` string — If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
        - `payment_intent` PaymentIntent — A PaymentIntent guides you through the process of collecting a payment from your customer. We recommend that you create exactly one PaymentIntent for each order or customer session in your system. You can reference the PaymentIntent later to see the history of payment attempts for a particular session. A PaymentIntent transitions through [multiple statuses](/payments/paymentintents/lifecycle) throughout its lifetime as it interfaces with Stripe.js to perform authentication flows and ultimately creates at most one successful charge. Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
          - `allowed_payment_method_types` string[], nullable — The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
          - `amount` integer — Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
          - `amount_capturable` integer — Amount that can be captured from this PaymentIntent.
          - `amount_details` union
            - PaymentFlowsAmountDetails
              - …
            - PaymentFlowsAmountDetailsClient
              - …
          - `amount_received` integer — Amount that this PaymentIntent collects.
          - `application` union — ID of the Connect application that created the PaymentIntent.
            - string
            - Application
              - …
          - `application_fee_amount` integer, nullable — The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
          - `automatic_payment_methods` PaymentFlowsAutomaticPaymentMethodsPaymentIntent
            - `allow_redirects` 'always' | 'never' — Controls whether this PaymentIntent will accept redirect-based payment methods. Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
            - `enabled` boolean, required — Automatically calculates compatible payment methods
          - `canceled_at` integer, nullable — Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
          - `cancellation_reason` 'abandoned' | 'automatic' | 'duplicate' | 'expired' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice', nullable — Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, `automatic`, or `expired`).
          - `capture_method` 'automatic' | 'automatic_async' | 'manual' — Controls when the funds will be captured from the customer's account.
          - `client_secret` string, nullable — The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.
          - `confirmation_method` 'automatic' | 'manual' — Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
          - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
          - `currency` string, currency — Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
          - `customer` union — ID of the Customer this PaymentIntent belongs to, if one exists. Payment methods attached to other Customers cannot be used with this PaymentIntent. If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
            - string
            - Customer — This object represents a customer of your business. Use it to [create recurring charges](https://docs.stripe.com/invoicing/customer), [save payment](https://docs.stripe.com/payments/save-during-payment) and contact information, and track payments that belong to the same customer.
              - …
            - DeletedCustomer
              - …
          - `customer_account` string, nullable — ID of the Account representing the customer that this PaymentIntent belongs to, if one exists. Payment methods attached to other Accounts cannot be used with this PaymentIntent. If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
          - `description` string, nullable — An arbitrary string attached to the object. Often useful for displaying to users.
          - `excluded_payment_method_types` string[], nullable — The list of payment method types to exclude from use with this payment.
          - `hooks` PaymentFlowsPaymentIntentAsyncWorkflows
            - `inputs` PaymentFlowsPaymentIntentAsyncWorkflowsResourceInputs
              - …
          - `id` string, required — Unique identifier for the object.
          - `last_payment_error` ApiErrors — recursive
          - `latest_charge` union — ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
            - string
            - Charge — The `Charge` object represents a single attempt to move money into your Stripe account. PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://docs.stripe.com/connect/account-debits) may also create Charges. Some legacy payment flows create Charges directly, which is not recommended for new integrations.
              - …
          - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
          - `managed_payments` SmorResourceManagedPayments
            - `enabled` boolean, required — Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
          - `metadata` object — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
          - `next_action` PaymentIntentNextAction
            - `alipay_handle_redirect` PaymentIntentNextActionAlipayHandleRedirect
              - …
            - `blik_authorize` PaymentIntentNextActionBlikAuthorize
            - `boleto_display_details` PaymentIntentNextActionBoleto
              - …
            - `card_await_notification` PaymentIntentNextActionCardAwaitNotification
              - …
            - `cashapp_handle_redirect_or_display_qr_code` PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode
              - …
            - `display_bank_transfer_instructions` PaymentIntentNextActionDisplayBankTransferInstructions
              - …
            - `klarna_display_qr_code` PaymentIntentNextActionKlarnaDisplayQrCode
              - …
            - `konbini_display_details` PaymentIntentNextActionKonbini
              - …
            - `multibanco_display_details` PaymentIntentNextActionDisplayMultibancoDetails
              - …
            - `oxxo_display_details` PaymentIntentNextActionDisplayOxxoDetails
              - …
            - `paynow_display_qr_code` PaymentIntentNextActionPaynowDisplayQrCode
              - …
            - `pix_display_qr_code` PaymentIntentNextActionPixDisplayQrCode
              - …
            - `promptpay_display_qr_code` PaymentIntentNextActionPromptpayDisplayQrCode
              - …
            - `redirect_to_url` PaymentIntentNextActionRedirectToUrl
              - …
            - `swish_handle_redirect_or_display_qr_code` PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode
              - …
            - `type` string, required — Type of the next action to perform. Refer to the other child attributes under `next_action` for available values. Examples include: `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
            - `upi_handle_redirect_or_display_qr_code` PaymentIntentNextActionUpiHandleRedirectOrDisplayQrCode
              - …
            - `use_stripe_sdk` object — When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
            - `verify_with_microdeposits` PaymentIntentNextActionVerifyWithMicrodeposits
              - …
            - `wechat_pay_display_qr_code` PaymentIntentNextActionWechatPayDisplayQrCode
              - …
            - `wechat_pay_redirect_to_android_app` PaymentIntentNextActionWechatPayRedirectToAndroidApp
              - …
            - `wechat_pay_redirect_to_ios_app` PaymentIntentNextActionWechatPayRedirectToIosApp
              - …
          - `object` 'payment_intent', required — String representing the object's type. Objects of the same type share the same value.
          - `on_behalf_of` union — You can specify the settlement merchant as the connected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](/payments/connected-accounts) for details.
            - string
            - Account — For new integrations, we recommend using the [Accounts v2 API](/api/v2/core/accounts), in place of /v1/accounts and /v1/customers to represent a user. This is an object representing a Stripe account. You can retrieve it to see properties on the account like its current requirements or if the account is enabled to make live charges or receive payouts. For accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, the properties below are always returned. For accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`, which includes Standard and Express accounts, some properties are only returned until you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions) to start Connect Onboarding. Learn about the [differences between accounts](/connect/accounts).
              - …
          - `payment_details` PaymentFlowsPaymentDetails
            - `customer_reference` string, nullable — A unique value to identify the customer. This field is available only for card payments. This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
            - `order_reference` string, nullable — A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
          - `payment_method` union — ID of the payment method used in this PaymentIntent.
            - string
            - PaymentMethod — PaymentMethod objects represent your customer's payment instruments. You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to Customer objects to store instrument details for future payments. Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
              - …
          - `payment_method_configuration_details` PaymentMethodConfigBizPaymentMethodConfigurationDetails
            - `id` string, required — ID of the payment method configuration used.
            - `parent` string, nullable — ID of the parent payment method configuration used.
          - `payment_method_options` PaymentIntentPaymentMethodOptions
            - `acss_debit` union
              - …
            - `affirm` union
              - …
            - `afterpay_clearpay` union
              - …
            - `alipay` union
              - …
            - `alma` union
              - …
            - `amazon_pay` union
              - …
            - `au_becs_debit` union
              - …
            - `bacs_debit` union
              - …
            - `bancontact` union
              - …
            - `billie` union
              - …
            - `bizum` union
              - …
            - `blik` union
              - …
            - `boleto` union
              - …
            - `card` union
              - …
            - `card_present` union
              - …
            - `cashapp` union
              - …
            - `crypto` union
              - …
            - `customer_balance` union
              - …
            - `eps` union
              - …
            - `fpx` union
              - …
            - `giropay` union
              - …
            - `grabpay` union
              - …
            - `ideal` union
              - …
            - `interac_present` union
              - …
            - `kakao_pay` union
              - …
            - `klarna` union
              - …
            - `konbini` union
              - …
            - `kr_card` union
              - …
            - `link` union
              - …
            - `mb_way` union
              - …
            - `mobilepay` union
              - …
            - `multibanco` union
              - …
            - `naver_pay` union
              - …
            - `nz_bank_account` union
              - …
            - `oxxo` union
              - …
            - `p24` union
              - …
            - `pay_by_bank` union
              - …
            - `payco` union
              - …
            - `paynow` union
              - …
            - `paypal` union
              - …
            - `payto` union
              - …
            - `pix` union
              - …
            - `promptpay` union
              - …
            - `revolut_pay` union
              - …
            - `samsung_pay` union
              - …
            - `satispay` union
              - …
            - `scalapay` union
              - …
            - `sepa_debit` union
              - …
            - `sofort` union
              - …
            - `sunbit` union
              - …
            - `swish` union
              - …
            - `twint` union
              - …
            - `upi` union
              - …
            - `us_bank_account` union
              - …
            - `wechat_pay` union
              - …
            - `zip` union
              - …
          - `payment_method_types` string[] — The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
          - `presentment_details` PaymentFlowsPaymentIntentPresentmentDetails
            - `presentment_amount` integer, required — Amount intended to be collected by this payment, denominated in `presentment_currency`.
            - `presentment_currency` string, required — Currency presented to the customer during payment.
          - `processing` PaymentIntentProcessing
            - `card` PaymentIntentCardProcessing
              - …
            - `type` 'card', required — Type of the payment method for which payment is in `processing` state, one of `card`.
          - `receipt_email` string, nullable — Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
          - `review` union — ID of the review associated with this PaymentIntent, if any.
            - string
            - Review — Reviews can be used to supplement automated fraud detection with human expertise. Learn more about [Radar](/radar) and reviewing payments [here](https://docs.stripe.com/radar/reviews).
              - …
          - `setup_future_usage` 'off_session' | 'on_session', nullable — Indicates that you intend to make future payments with this PaymentIntent's payment method. If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
          - `shipping` Shipping
            - `address` Address
              - …
            - `carrier` string, nullable — The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
            - `name` string — Recipient name.
            - `phone` string, nullable — Recipient phone (including extension).
            - `tracking_number` string, nullable — The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
          - `statement_descriptor` string, nullable — Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
          - `statement_descriptor_suffix` string, nullable — Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
          - `status` 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded', required — Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
          - `transfer_data` TransferData
            - `amount` integer — The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account. The amount must be less than or equal to the [amount](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
            - `description` string — An arbitrary string attached to the transfer. Often useful for displaying to users.
            - `destination` union, required — The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success.
              - …
            - `metadata` object — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
            - `payment_data` PaymentData
              - …
          - `transfer_group` string, nullable — A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
        - `payment_method` PaymentMethod — PaymentMethod objects represent your customer's payment instruments. You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to Customer objects to store instrument details for future payments. Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
          - `acss_debit` PaymentMethodAcssDebit
            - `bank_name` string, nullable — Name of the bank associated with the bank account.
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `institution_number` string, nullable — Institution number of the bank account.
            - `last4` string, nullable — Last four digits of the bank account number.
            - `transit_number` string, nullable — Transit number of the bank account.
          - `affirm` PaymentMethodAffirm
          - `afterpay_clearpay` PaymentMethodAfterpayClearpay
          - `alipay` PaymentFlowsPrivatePaymentMethodsAlipay
          - `allow_redisplay` 'always' | 'limited' | 'unspecified' — This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
          - `alma` PaymentMethodAlma
          - `amazon_pay` PaymentMethodAmazonPay
          - `au_becs_debit` PaymentMethodAuBecsDebit
            - `bsb_number` string, nullable — Six-digit number identifying bank and branch associated with this bank account.
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `last4` string, nullable — Last four digits of the bank account number.
          - `bacs_debit` PaymentMethodBacsDebit
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `last4` string, nullable — Last four digits of the bank account number.
            - `sort_code` string, nullable — Sort code of the bank account. (e.g., `10-20-30`)
          - `bancontact` PaymentMethodBancontact
          - `billie` PaymentMethodBillie
          - `billing_details` BillingDetails, required
            - `address` Address
              - …
            - `email` string, nullable — Email address.
            - `name` string, nullable — Full name.
            - `phone` string, nullable — Billing phone number (including extension).
            - `tax_id` string, nullable — Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
          - `bizum` PaymentMethodBizum
            - `buyer_id` string, nullable — A unique identifier for the buyer as determined by the local payment processor.
          - `blik` PaymentMethodBlik
            - `buyer_id` string, nullable — A unique and immutable identifier assigned by BLIK to every buyer.
          - `boleto` PaymentMethodBoleto
            - `tax_id` string, required — Uniquely identifies the customer tax id (CNPJ or CPF)
          - `card` PaymentMethodCard
            - `brand` string, required — Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
            - `checks` PaymentMethodCardChecks
              - …
            - `country` string, nullable — Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
            - `display_brand` string, nullable — The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future.
            - `exp_month` integer, required — Two-digit number representing the card's expiration month.
            - `exp_year` integer, required — Four-digit number representing the card's expiration year.
            - `fingerprint` string, nullable — Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
            - `funding` string, required — Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
            - `generated_from` PaymentMethodCardGeneratedCard
              - …
            - `last4` string, required — The last four digits of the card.
            - `networks` Networks
              - …
            - `regulated_status` 'regulated' | 'unregulated', nullable — Status of a card based on the card issuer.
            - `three_d_secure_usage` ThreeDSecureUsage
              - …
            - `wallet` PaymentMethodCardWallet
              - …
          - `card_present` PaymentMethodCardPresent
            - `brand` string, nullable — Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
            - `brand_product` string, nullable — The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
            - `cardholder_name` string, nullable — The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
            - `country` string, nullable — Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
            - `description` string, nullable — A high-level description of the type of cards issued in this range.
            - `exp_month` integer, required — Two-digit number representing the card's expiration month.
            - `exp_year` integer, required — Four-digit number representing the card's expiration year.
            - `fingerprint` string, nullable — Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
            - `funding` string, nullable — Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
            - `issuer` string, nullable — The name of the card's issuing bank.
            - `last4` string, nullable — The last four digits of the card.
            - `networks` PaymentMethodCardPresentNetworks
              - …
            - `offline` PaymentMethodDetailsCardPresentOffline
              - …
            - `preferred_locales` string[], nullable — The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
            - `read_method` 'contact_emv' | 'contactless_emv' | 'contactless_magstripe_mode' | 'magnetic_stripe_fallback' | 'magnetic_stripe_track2', nullable — How card details were read in this transaction.
            - `wallet` PaymentFlowsPrivatePaymentMethodsCardPresentCommonWallet
              - …
          - `cashapp` PaymentMethodCashapp
            - `buyer_id` string, nullable — A unique and immutable identifier assigned by Cash App to every buyer.
            - `cashtag` string, nullable — A public identifier for buyers using Cash App.
          - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
          - `crypto` PaymentMethodCrypto
          - `custom` PaymentMethodCustom
            - `display_name` string, nullable — Display name of the Dashboard-only CustomPaymentMethodType.
            - `logo` CustomLogo
              - …
            - `type` string, required — ID of the Dashboard-only CustomPaymentMethodType. Not expandable.
          - `customer` union — The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
            - string
            - Customer — This object represents a customer of your business. Use it to [create recurring charges](https://docs.stripe.com/invoicing/customer), [save payment](https://docs.stripe.com/payments/save-during-payment) and contact information, and track payments that belong to the same customer.
              - …
          - `customer_account` string, nullable
          - `customer_balance` PaymentMethodCustomerBalance
          - `eps` PaymentMethodEps
            - `bank` 'arzte_und_apotheker_bank' | 'austrian_anadi_bank_ag' | 'bank_austria' | 'bankhaus_carl_spangler' | 'bankhaus_schelhammer_und_schattera_ag' | 'bawag_psk_ag' | 'bks_bank_ag' | 'brull_kallmus_bank_ag' | 'btv_vier_lander_bank' | 'capital_bank_grawe_gruppe_ag' | 'deutsche_bank_ag' | 'dolomitenbank' | 'easybank_ag' | 'erste_bank_und_sparkassen' | 'hypo_alpeadriabank_international_ag' | 'hypo_bank_burgenland_aktiengesellschaft' | 'hypo_noe_lb_fur_niederosterreich_u_wien' | 'hypo_oberosterreich_salzburg_steiermark' | 'hypo_tirol_bank_ag' | 'hypo_vorarlberg_bank_ag' | 'marchfelder_bank' | 'oberbank_ag' | 'raiffeisen_bankengruppe_osterreich' | 'schoellerbank_ag' | 'sparda_bank_wien' | 'volksbank_gruppe' | 'volkskreditbank_ag' | 'vr_bank_braunau', nullable — The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
          - `fpx` PaymentMethodFpx
            - `bank` 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob', required — The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bnp_paribas`, `bank_rakyat`, `bsn`, `cimb`, `citibank`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `mbsb_bank`, `pb_enterprise`, or `bank_of_china`.
          - `giropay` PaymentMethodGiropay
          - `grabpay` PaymentMethodGrabpay
          - `id` string, required — Unique identifier for the object.
          - `ideal` PaymentMethodIdeal
            - `bank` 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe', nullable — The customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
            - `bic` 'ABNANL2A' | 'ADYBNL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'BUUTNL2A' | 'FNOMNL22' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MLLENL2A' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U', nullable — The Bank Identifier Code of the customer's bank, if the bank was provided.
          - `interac_present` PaymentMethodInteracPresent
            - `brand` string, nullable — Card brand. Can be `interac`, `mastercard` or `visa`.
            - `cardholder_name` string, nullable — The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
            - `country` string, nullable — Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
            - `description` string, nullable — A high-level description of the type of cards issued in this range.
            - `exp_month` integer, required — Two-digit number representing the card's expiration month.
            - `exp_year` integer, required — Four-digit number representing the card's expiration year.
            - `fingerprint` string, nullable — Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
            - `funding` string, nullable — Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
            - `issuer` string, nullable — The name of the card's issuing bank.
            - `last4` string, nullable — The last four digits of the card.
            - `networks` PaymentMethodCardPresentNetworks
              - …
            - `preferred_locales` string[], nullable — The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
            - `read_method` 'contact_emv' | 'contactless_emv' | 'contactless_magstripe_mode' | 'magnetic_stripe_fallback' | 'magnetic_stripe_track2', nullable — How card details were read in this transaction.
          - `kakao_pay` PaymentMethodKakaoPay
          - `klarna` PaymentMethodKlarna
            - `dob` PaymentFlowsPrivatePaymentMethodsKlarnaDob
              - …
          - `konbini` PaymentMethodKonbini
          - `kr_card` PaymentMethodKrCard
            - `brand` 'bc' | 'citi' | 'hana' | 'hyundai' | 'jeju' | 'jeonbuk' | 'kakaobank' | 'kbank' | 'kdbbank' | 'kookmin' | 'kwangju' | 'lotte' | 'mg' | 'nh' | 'post' | 'samsung' | 'savingsbank' | 'shinhan' | 'shinhyup' | 'suhyup' | 'tossbank' | 'woori', nullable — The local credit or debit card brand.
            - `last4` string, nullable — The last four digits of the card. This may not be present for American Express cards.
          - `link` PaymentMethodLink
            - `email` string, nullable — Account owner's email address.
          - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
          - `mb_way` PaymentMethodMbWay
          - `metadata` object, nullable — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
          - `mobilepay` PaymentMethodMobilepay
          - `multibanco` PaymentMethodMultibanco
          - `naver_pay` PaymentMethodNaverPay
            - `buyer_id` string, nullable — Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
            - `funding` 'card' | 'points', required — Whether to fund this transaction with Naver Pay points or a card.
          - `nz_bank_account` PaymentMethodNzBankAccount
            - `account_holder_name` string, nullable — The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
            - `bank_code` string, required — The numeric code for the bank account's bank.
            - `bank_name` string, required — The name of the bank.
            - `branch_code` string, required — The numeric code for the bank account's bank branch.
            - `last4` string, required — Last four digits of the bank account number.
            - `suffix` string, nullable — The suffix of the bank account number.
          - `object` 'payment_method', required — String representing the object's type. Objects of the same type share the same value.
          - `oxxo` PaymentMethodOxxo
          - `p24` PaymentMethodP24
            - `bank` 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank', nullable — The customer's bank, if provided.
          - `pay_by_bank` PaymentMethodPayByBank
          - `payco` PaymentMethodPayco
          - `paynow` PaymentMethodPaynow
          - `paypal` PaymentMethodPaypal
            - `country` string, nullable — Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
            - `payer_email` string, nullable — Owner's email. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
            - `payer_id` string, nullable — PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
          - `payto` PaymentMethodPayto
            - `bsb_number` string, nullable — Bank-State-Branch number of the bank account.
            - `last4` string, nullable — Last four digits of the bank account number.
            - `pay_id` string, nullable — The PayID alias for the bank account.
          - `pix` PaymentMethodPix
            - `fingerprint` string, nullable — Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.
          - `promptpay` PaymentMethodPromptpay
          - `radar_options` RadarRadarOptions — Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
            - `session` string — A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
          - `revolut_pay` PaymentMethodRevolutPay
          - `samsung_pay` PaymentMethodSamsungPay
          - `satispay` PaymentMethodSatispay
          - `scalapay` PaymentMethodScalapay
          - `sepa_debit` PaymentMethodSepaDebit
            - `bank_code` string, nullable — Bank code of bank associated with the bank account.
            - `branch_code` string, nullable — Branch code of bank associated with the bank account.
            - `country` string, nullable — Two-letter ISO code representing the country the bank account is located in.
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `generated_from` SepaDebitGeneratedFrom
              - …
            - `last4` string, nullable — Last four characters of the IBAN.
          - `sofort` PaymentMethodSofort
            - `country` string, nullable — Two-letter ISO code representing the country the bank account is located in.
          - `sunbit` PaymentMethodSunbit
          - `swish` PaymentMethodSwish
          - `twint` PaymentMethodTwint
          - `type` 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip', required — The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
          - `upi` PaymentMethodUpi
            - `vpa` string, nullable — Customer's unique Virtual Payment Address
          - `us_bank_account` PaymentMethodUsBankAccount
            - `account_holder_type` 'company' | 'individual', nullable — Account holder type: individual or company.
            - `account_type` 'checking' | 'savings', nullable — Account type: checkings or savings. Defaults to checking if omitted.
            - `bank_name` string, nullable — The name of the bank.
            - `financial_connections_account` string, nullable — The ID of the Financial Connections Account used to create the payment method.
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `last4` string, nullable — Last four digits of the bank account number.
            - `networks` UsBankAccountNetworks
              - …
            - `routing_number` string, nullable — Routing number of the bank account.
            - `status_details` PaymentMethodUsBankAccountStatusDetails
              - …
          - `wechat_pay` PaymentMethodWechatPay
          - `zip` PaymentMethodZip
        - `payment_method_type` string — If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
        - `request_log_url` string — A URL to the request log entry in your dashboard.
        - `setup_intent` SetupIntent — A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments. For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment. Later, you can use [PaymentIntents](https://api.stripe.com#payment_intents) to drive the payment flow. Create a SetupIntent when you're ready to collect your customer's payment credentials. Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid. The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides you through the setup process. Successful SetupIntents result in payment credentials that are optimized for future payments. For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents). If you use the SetupIntent with a [Customer](https://api.stripe.com#setup_intent_object-customer), it automatically attaches the resulting payment method to that Customer after successful setup. We recommend using SetupIntents or [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) on PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods. By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
          - `allowed_payment_method_types` string[], nullable — The list of payment method types to allow for this SetupIntent. Stripe will only use methods in this list when determining the payment methods to offer.
          - `application` union — ID of the Connect application that created the SetupIntent.
            - string
            - Application
              - …
          - `attach_to_self` boolean — If present, the SetupIntent's payment method will be attached to the in-context Stripe Account. It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
          - `automatic_payment_methods` PaymentFlowsAutomaticPaymentMethodsSetupIntent
            - `allow_redirects` 'always' | 'never' — Controls whether this SetupIntent will accept redirect-based payment methods. Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
            - `enabled` boolean, nullable — Automatically calculates compatible payment methods
          - `cancellation_reason` 'abandoned' | 'duplicate' | 'requested_by_customer', nullable — Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.
          - `client_secret` string, nullable — The client secret of this SetupIntent. Used for client-side retrieval using a publishable key. The client secret can be used to complete payment setup from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
          - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
          - `customer` union — ID of the Customer this SetupIntent belongs to, if one exists. If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
            - string
            - Customer — This object represents a customer of your business. Use it to [create recurring charges](https://docs.stripe.com/invoicing/customer), [save payment](https://docs.stripe.com/payments/save-during-payment) and contact information, and track payments that belong to the same customer.
              - …
            - DeletedCustomer
              - …
          - `customer_account` string, nullable — ID of the Account this SetupIntent belongs to, if one exists. If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
          - `description` string, nullable — An arbitrary string attached to the object. Often useful for displaying to users.
          - `excluded_payment_method_types` string[], nullable — Payment method types that are excluded from this SetupIntent.
          - `flow_directions` string[], nullable — Indicates the directions of money movement for which this payment method is intended to be used. Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
          - `id` string, required — Unique identifier for the object.
          - `last_setup_error` ApiErrors — recursive
          - `latest_attempt` union — The most recent SetupAttempt for this SetupIntent.
            - string
            - SetupAttempt — A SetupAttempt describes one attempted confirmation of a SetupIntent, whether that confirmation is successful or unsuccessful. You can use SetupAttempts to inspect details of a specific attempt at setting up a payment method using a SetupIntent.
              - …
          - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
          - `managed_payments` SmorResourceManagedPayments
            - `enabled` boolean, required — Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
          - `mandate` union — ID of the multi use Mandate generated by the SetupIntent.
            - string
            - Mandate — A Mandate is a record of the permission that your customer gives you to debit their payment method.
              - …
          - `metadata` object, nullable — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
          - `next_action` SetupIntentNextAction
            - `blik_authorize` PaymentIntentNextActionBlikAuthorize
            - `cashapp_handle_redirect_or_display_qr_code` PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode
              - …
            - `pix_display_qr_code` SetupIntentNextActionPixDisplayQrCode
              - …
            - `redirect_to_url` SetupIntentNextActionRedirectToUrl
              - …
            - `type` string, required — Type of the next action to perform. Refer to the other child attributes under `next_action` for available values. Examples include: `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
            - `upi_handle_redirect_or_display_qr_code` PaymentIntentNextActionUpiHandleRedirectOrDisplayQrCode
              - …
            - `use_stripe_sdk` object — When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
            - `verify_with_microdeposits` SetupIntentNextActionVerifyWithMicrodeposits
              - …
          - `object` 'setup_intent', required — String representing the object's type. Objects of the same type share the same value.
          - `on_behalf_of` union — The account (if any) for which the setup is intended.
            - string
            - Account — For new integrations, we recommend using the [Accounts v2 API](/api/v2/core/accounts), in place of /v1/accounts and /v1/customers to represent a user. This is an object representing a Stripe account. You can retrieve it to see properties on the account like its current requirements or if the account is enabled to make live charges or receive payouts. For accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, the properties below are always returned. For accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`, which includes Standard and Express accounts, some properties are only returned until you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions) to start Connect Onboarding. Learn about the [differences between accounts](/connect/accounts).
              - …
          - `payment_method` union — ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead.
            - string
            - PaymentMethod — PaymentMethod objects represent your customer's payment instruments. You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to Customer objects to store instrument details for future payments. Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
              - …
          - `payment_method_configuration_details` PaymentMethodConfigBizPaymentMethodConfigurationDetails
            - `id` string, required — ID of the payment method configuration used.
            - `parent` string, nullable — ID of the parent payment method configuration used.
          - `payment_method_options` SetupIntentPaymentMethodOptions
            - `acss_debit` union
              - …
            - `amazon_pay` union
              - …
            - `bacs_debit` union
              - …
            - `bizum` union
              - …
            - `card` union
              - …
            - `card_present` union
              - …
            - `klarna` union
              - …
            - `link` union
              - …
            - `paypal` union
              - …
            - `payto` union
              - …
            - `pix` union
              - …
            - `sepa_debit` union
              - …
            - `upi` union
              - …
            - `us_bank_account` union
              - …
          - `payment_method_types` string[], required — The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
          - `single_use_mandate` union — ID of the single_use Mandate generated by the SetupIntent.
            - string
            - Mandate — A Mandate is a record of the permission that your customer gives you to debit their payment method.
              - …
          - `status` 'canceled' | 'processing' | 'requires_action' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded', required — [Status](https://docs.stripe.com/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`.
          - `usage` string, required — Indicates how the payment method is intended to be used in the future. Use `on_session` if you intend to only reuse the payment method when the customer is in your checkout flow. Use `off_session` if your customer may or may not be in your checkout flow. If not provided, this value defaults to `off_session`.
        - `source` union — The [source object](https://docs.stripe.com/api/sources/object) for errors returned on a request involving a source.
          - object — These bank accounts are payment methods on `Customer` objects. On the other hand [External Accounts](/api#external_accounts) are transfer destinations on `Account` objects for connected accounts. They can be bank accounts or debit cards as well, and are documented in the links above. Related guide: [Bank debits and transfers](/payments/bank-debits-transfers)
            - `account` union — The account this bank account belongs to. Only applicable on Accounts (not customers or recipients) This property is only available when returned as an [External Account](/api/external_account_bank_accounts/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`.
              - …
            - `account_holder_name` string, nullable — The name of the person or business that owns the bank account.
            - `account_holder_type` string, nullable — The type of entity that holds the account. This can be either `individual` or `company`.
            - `account_type` string, nullable — The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.
            - `available_payout_methods` string[], nullable — A set of available payout methods for this bank account. Only values from this set should be passed as the `method` when creating a payout.
            - `bank_name` string, nullable — Name of the bank associated with the routing number (e.g., `WELLS FARGO`).
            - `country` string, required — Two-letter ISO code representing the country the bank account is located in.
            - `currency` string, currency, required — Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account.
            - `customer` union — The ID of the customer that the bank account is associated with.
              - …
            - `default_for_currency` boolean, nullable — Whether this bank account is the default external account for its currency.
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `future_requirements` ExternalAccountRequirements
              - …
            - `id` string, required — Unique identifier for the object.
            - `last4` string, required — The last four digits of the bank account number.
            - `metadata` object, nullable — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
            - `object` 'bank_account', required — String representing the object's type. Objects of the same type share the same value.
            - `requirements` ExternalAccountRequirements
              - …
            - `routing_number` string, nullable — The routing transit number for the bank account.
            - `status` string, required — For bank accounts, possible values are `new`, `validated`, `verified`, `verification_failed`, `tokenized_account_number_deactivated` or `errored`. A bank account that hasn't had any activity or validation performed is `new`. If Stripe can determine that the bank account exists, its status will be `validated`. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be `verified`. If the verification failed for any reason, such as microdeposit failure, the status will be `verification_failed`. If the status is `tokenized_account_number_deactivated`, the account utilizes a tokenized account number which has been deactivated due to expiration or revocation. This account will need to be reverified to continue using it for money movement. If a payout sent to this bank account fails, we'll set the status to `errored` and will not continue to send [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) until the bank details are updated. For external accounts, possible values are `new`, `errored`, `verification_failed`, and `tokenized_account_number_deactivated`. If a payout fails, the status is set to `errored` and scheduled payouts are stopped until account details are updated. In the US and India, if we can't [verify the owner of the bank account](https://support.stripe.com/questions/bank-account-ownership-verification), we'll set the status to `verification_failed`. Other validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply.
          - object — You can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later. Related guide: [Card payments with Sources](https://docs.stripe.com/sources/cards)
            - `account` union
              - …
            - `address_city` string, nullable — City/District/Suburb/Town/Village.
            - `address_country` string, nullable — Billing address country, if provided when creating card.
            - `address_line1` string, nullable — Address line 1 (Street address/PO Box/Company name).
            - `address_line1_check` string, nullable — If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.
            - `address_line2` string, nullable — Address line 2 (Apartment/Suite/Unit/Building).
            - `address_state` string, nullable — State/County/Province/Region.
            - `address_zip` string, nullable — ZIP or postal code.
            - `address_zip_check` string, nullable — If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.
            - `allow_redisplay` 'always' | 'limited' | 'unspecified', nullable — This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
            - `available_payout_methods` string[], nullable — A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout.
            - `brand` string, required — Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
            - `country` string, nullable — Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
            - `currency` string, currency, nullable — Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available when returned as an [External Account](/api/external_account_cards/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`.
            - `customer` union — The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.
              - …
            - `cvc_check` string, nullable — If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge).
            - `default_for_currency` boolean, nullable — Whether this card is the default external account for its currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
            - `dynamic_last4` string, nullable — (For tokenized numbers only.) The last four digits of the device account number.
            - `exp_month` integer, required — Two-digit number representing the card's expiration month.
            - `exp_year` integer, required — Four-digit number representing the card's expiration year.
            - `fingerprint` string, nullable — Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
            - `funding` string, required — Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
            - `id` string, required — Unique identifier for the object.
            - `last4` string, required — The last four digits of the card.
            - `metadata` object, nullable — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
            - `name` string, nullable — Cardholder name.
            - `networks` TokenCardNetworks
              - …
            - `object` 'card', required — String representing the object's type. Objects of the same type share the same value.
            - `regulated_status` 'regulated' | 'unregulated', nullable — Status of a card based on the card issuer.
            - `status` string, nullable — For external accounts that are cards, possible values are `new` and `errored`. If a payout fails, the status is set to `errored` and [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) are stopped until account details are updated.
            - `tokenization_method` string, nullable — If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null.
          - object — `Source` objects allow you to accept a variety of payment methods. They represent a customer's payment instrument, and can be used with the Stripe API just like a `Card` object: once chargeable, they can be charged, or can be attached to customers. Stripe doesn't recommend using the deprecated [Sources API](https://docs.stripe.com/api/sources). We recommend that you adopt the [PaymentMethods API](https://docs.stripe.com/api/payment_methods). This newer API provides access to our latest features and payment method types. Related guides: [Sources API](https://docs.stripe.com/sources) and [Sources & Customers](https://docs.stripe.com/sources/customers).
            - `ach_credit_transfer` SourceTypeAchCreditTransfer
              - …
            - `ach_debit` SourceTypeAchDebit
              - …
            - `acss_debit` SourceTypeAcssDebit
              - …
            - `alipay` SourceTypeAlipay
              - …
            - `allow_redisplay` 'always' | 'limited' | 'unspecified', nullable — This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
            - `amount` integer, nullable — A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources.
            - `au_becs_debit` SourceTypeAuBecsDebit
              - …
            - `bancontact` SourceTypeBancontact
              - …
            - `card` SourceTypeCard
              - …
            - `card_present` SourceTypeCardPresent
              - …
            - `client_secret` string, required — The client secret of the source. Used for client-side retrieval using a publishable key.
            - `code_verification` SourceCodeVerificationFlow
              - …
            - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
            - `currency` string, currency, nullable — Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) associated with the source. This is the currency for which the source will be chargeable once ready. Required for `single_use` sources.
            - `customer` string — The ID of the customer to which this source is attached. This will not be present when the source has not been attached to a customer.
            - `eps` SourceTypeEps
              - …
            - `flow` string, required — The authentication `flow` of the source. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`.
            - `giropay` SourceTypeGiropay
              - …
            - `id` string, required — Unique identifier for the object.
            - `ideal` SourceTypeIdeal
              - …
            - `klarna` SourceTypeKlarna
              - …
            - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
            - `metadata` object, nullable — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
            - `multibanco` SourceTypeMultibanco
              - …
            - `object` 'source', required — String representing the object's type. Objects of the same type share the same value.
            - `owner` SourceOwner
              - …
            - `p24` SourceTypeP24
              - …
            - `receiver` SourceReceiverFlow
              - …
            - `redirect` SourceRedirectFlow
              - …
            - `sepa_debit` SourceTypeSepaDebit
              - …
            - `sofort` SourceTypeSofort
              - …
            - `source_order` SourceOrder
              - …
            - `statement_descriptor` string, nullable — Extra information about a source. This will appear on your customer's statement every time you charge the source.
            - `status` string, required — The status of the source, one of `canceled`, `chargeable`, `consumed`, `failed`, or `pending`. Only `chargeable` sources can be used to create a charge.
            - `three_d_secure` SourceTypeThreeDSecure
              - …
            - `type` 'ach_credit_transfer' | 'ach_debit' | 'acss_debit' | 'alipay' | 'au_becs_debit' | 'bancontact' | 'card' | 'card_present' | 'eps' | 'giropay' | 'ideal' | 'klarna' | 'multibanco' | 'p24' | 'sepa_debit' | 'sofort' | 'three_d_secure' | 'wechat', required — The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the [payment method](https://docs.stripe.com/sources) used.
            - `usage` string, nullable — Either `reusable` or `single_use`. Whether this source should be reusable or not. Some source types may or may not be reusable by construction, while others may leave the option at creation. If an incompatible value is passed, an error will be returned.
            - `wechat` SourceTypeWechat
              - …
        - `type` 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error', required — The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
      - `collect_inputs` TerminalReaderReaderResourceCollectInputsAction — Represents a reader action to collect customer inputs
        - `inputs` TerminalReaderReaderResourceInput[], required — List of inputs to be collected.
          - `custom_text` TerminalReaderReaderResourceCustomText — Represents custom text to be displayed when collecting the input using a reader
            - `description` string, nullable — Customize the default description for this input
            - `skip_button` string, nullable — Customize the default label for this input's skip button
            - `submit_button` string, nullable — Customize the default label for this input's submit button
            - `title` string, nullable — Customize the default title for this input
          - `email` TerminalReaderReaderResourceEmail — Information about a email being collected using a reader
            - `value` string, nullable — The collected email address
          - `numeric` TerminalReaderReaderResourceNumeric — Information about a number being collected using a reader
            - `value` string, nullable — The collected number
          - `phone` TerminalReaderReaderResourcePhone — Information about a phone number being collected using a reader
            - `value` string, nullable — The collected phone number
          - `required` boolean, nullable — Indicate that this input is required, disabling the skip button.
          - `selection` TerminalReaderReaderResourceSelection — Information about a selection being collected using a reader
            - `choices` TerminalReaderReaderResourceChoice[], required — List of possible choices to be selected
              - …
            - `id` string, nullable — The id of the selected choice
            - `text` string, nullable — The text of the selected choice
          - `signature` TerminalReaderReaderResourceSignature — Information about a signature being collected using a reader
            - `value` string, nullable — The File ID of a collected signature image
          - `skipped` boolean — Indicate that this input was skipped by the user.
          - `text` TerminalReaderReaderResourceText — Information about text being collected using a reader
            - `value` string, nullable — The collected text value
          - `toggles` TerminalReaderReaderResourceToggle[], nullable — List of toggles being collected. Values are present if collection is complete.
            - `default_value` 'disabled' | 'enabled', nullable — The toggle's default value. Can be `enabled` or `disabled`.
            - `description` string, nullable — The toggle's description text. Maximum 50 characters.
            - `title` string, nullable — The toggle's title text. Maximum 50 characters.
            - `value` 'disabled' | 'enabled', nullable — The toggle's collected value. Can be `enabled` or `disabled`.
          - `type` 'email' | 'numeric' | 'phone' | 'selection' | 'signature' | 'text', required — Type of input being collected.
        - `metadata` object, nullable — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
      - `collect_payment_method` TerminalReaderReaderResourceCollectPaymentMethodAction — Represents a reader action to collect a payment method
        - `collect_config` TerminalReaderReaderResourceCollectConfig — Represents a per-transaction override of a reader configuration
          - `enable_customer_cancellation` boolean — Enable customer-initiated cancellation when processing this payment.
          - `skip_tipping` boolean — Override showing a tipping selection screen on this transaction.
          - `tipping` TerminalReaderReaderResourceTippingConfig — Represents a per-transaction tipping configuration
            - `amount_eligible` integer — Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
        - `payment_intent` union, required — Most recent PaymentIntent processed by the reader.
          - string
          - PaymentIntent — A PaymentIntent guides you through the process of collecting a payment from your customer. We recommend that you create exactly one PaymentIntent for each order or customer session in your system. You can reference the PaymentIntent later to see the history of payment attempts for a particular session. A PaymentIntent transitions through [multiple statuses](/payments/paymentintents/lifecycle) throughout its lifetime as it interfaces with Stripe.js to perform authentication flows and ultimately creates at most one successful charge. Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
            - `allowed_payment_method_types` string[], nullable — The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
            - `amount` integer — Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
            - `amount_capturable` integer — Amount that can be captured from this PaymentIntent.
            - `amount_details` union
              - …
            - `amount_received` integer — Amount that this PaymentIntent collects.
            - `application` union — ID of the Connect application that created the PaymentIntent.
              - …
            - `application_fee_amount` integer, nullable — The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
            - `automatic_payment_methods` PaymentFlowsAutomaticPaymentMethodsPaymentIntent
              - …
            - `canceled_at` integer, nullable — Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
            - `cancellation_reason` 'abandoned' | 'automatic' | 'duplicate' | 'expired' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice', nullable — Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, `automatic`, or `expired`).
            - `capture_method` 'automatic' | 'automatic_async' | 'manual' — Controls when the funds will be captured from the customer's account.
            - `client_secret` string, nullable — The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.
            - `confirmation_method` 'automatic' | 'manual' — Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
            - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
            - `currency` string, currency — Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
            - `customer` union — ID of the Customer this PaymentIntent belongs to, if one exists. Payment methods attached to other Customers cannot be used with this PaymentIntent. If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
              - …
            - `customer_account` string, nullable — ID of the Account representing the customer that this PaymentIntent belongs to, if one exists. Payment methods attached to other Accounts cannot be used with this PaymentIntent. If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
            - `description` string, nullable — An arbitrary string attached to the object. Often useful for displaying to users.
            - `excluded_payment_method_types` string[], nullable — The list of payment method types to exclude from use with this payment.
            - `hooks` PaymentFlowsPaymentIntentAsyncWorkflows
              - …
            - `id` string, required — Unique identifier for the object.
            - `last_payment_error` ApiErrors
              - …
            - `latest_charge` union — ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
              - …
            - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
            - `managed_payments` SmorResourceManagedPayments
              - …
            - `metadata` object — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
            - `next_action` PaymentIntentNextAction
              - …
            - `object` 'payment_intent', required — String representing the object's type. Objects of the same type share the same value.
            - `on_behalf_of` union — You can specify the settlement merchant as the connected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](/payments/connected-accounts) for details.
              - …
            - `payment_details` PaymentFlowsPaymentDetails
              - …
            - `payment_method` union — ID of the payment method used in this PaymentIntent.
              - …
            - `payment_method_configuration_details` PaymentMethodConfigBizPaymentMethodConfigurationDetails
              - …
            - `payment_method_options` PaymentIntentPaymentMethodOptions
              - …
            - `payment_method_types` string[] — The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
            - `presentment_details` PaymentFlowsPaymentIntentPresentmentDetails
              - …
            - `processing` PaymentIntentProcessing
              - …
            - `receipt_email` string, nullable — Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
            - `review` union — ID of the review associated with this PaymentIntent, if any.
              - …
            - `setup_future_usage` 'off_session' | 'on_session', nullable — Indicates that you intend to make future payments with this PaymentIntent's payment method. If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
            - `shipping` Shipping
              - …
            - `statement_descriptor` string, nullable — Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
            - `statement_descriptor_suffix` string, nullable — Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
            - `status` 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded', required — Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
            - `transfer_data` TransferData
              - …
            - `transfer_group` string, nullable — A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
        - `payment_method` PaymentMethod — PaymentMethod objects represent your customer's payment instruments. You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to Customer objects to store instrument details for future payments. Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
          - `acss_debit` PaymentMethodAcssDebit
            - `bank_name` string, nullable — Name of the bank associated with the bank account.
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `institution_number` string, nullable — Institution number of the bank account.
            - `last4` string, nullable — Last four digits of the bank account number.
            - `transit_number` string, nullable — Transit number of the bank account.
          - `affirm` PaymentMethodAffirm
          - `afterpay_clearpay` PaymentMethodAfterpayClearpay
          - `alipay` PaymentFlowsPrivatePaymentMethodsAlipay
          - `allow_redisplay` 'always' | 'limited' | 'unspecified' — This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
          - `alma` PaymentMethodAlma
          - `amazon_pay` PaymentMethodAmazonPay
          - `au_becs_debit` PaymentMethodAuBecsDebit
            - `bsb_number` string, nullable — Six-digit number identifying bank and branch associated with this bank account.
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `last4` string, nullable — Last four digits of the bank account number.
          - `bacs_debit` PaymentMethodBacsDebit
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `last4` string, nullable — Last four digits of the bank account number.
            - `sort_code` string, nullable — Sort code of the bank account. (e.g., `10-20-30`)
          - `bancontact` PaymentMethodBancontact
          - `billie` PaymentMethodBillie
          - `billing_details` BillingDetails, required
            - `address` Address
              - …
            - `email` string, nullable — Email address.
            - `name` string, nullable — Full name.
            - `phone` string, nullable — Billing phone number (including extension).
            - `tax_id` string, nullable — Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
          - `bizum` PaymentMethodBizum
            - `buyer_id` string, nullable — A unique identifier for the buyer as determined by the local payment processor.
          - `blik` PaymentMethodBlik
            - `buyer_id` string, nullable — A unique and immutable identifier assigned by BLIK to every buyer.
          - `boleto` PaymentMethodBoleto
            - `tax_id` string, required — Uniquely identifies the customer tax id (CNPJ or CPF)
          - `card` PaymentMethodCard
            - `brand` string, required — Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
            - `checks` PaymentMethodCardChecks
              - …
            - `country` string, nullable — Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
            - `display_brand` string, nullable — The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future.
            - `exp_month` integer, required — Two-digit number representing the card's expiration month.
            - `exp_year` integer, required — Four-digit number representing the card's expiration year.
            - `fingerprint` string, nullable — Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
            - `funding` string, required — Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
            - `generated_from` PaymentMethodCardGeneratedCard
              - …
            - `last4` string, required — The last four digits of the card.
            - `networks` Networks
              - …
            - `regulated_status` 'regulated' | 'unregulated', nullable — Status of a card based on the card issuer.
            - `three_d_secure_usage` ThreeDSecureUsage
              - …
            - `wallet` PaymentMethodCardWallet
              - …
          - `card_present` PaymentMethodCardPresent
            - `brand` string, nullable — Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
            - `brand_product` string, nullable — The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
            - `cardholder_name` string, nullable — The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
            - `country` string, nullable — Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
            - `description` string, nullable — A high-level description of the type of cards issued in this range.
            - `exp_month` integer, required — Two-digit number representing the card's expiration month.
            - `exp_year` integer, required — Four-digit number representing the card's expiration year.
            - `fingerprint` string, nullable — Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
            - `funding` string, nullable — Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
            - `issuer` string, nullable — The name of the card's issuing bank.
            - `last4` string, nullable — The last four digits of the card.
            - `networks` PaymentMethodCardPresentNetworks
              - …
            - `offline` PaymentMethodDetailsCardPresentOffline
              - …
            - `preferred_locales` string[], nullable — The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
            - `read_method` 'contact_emv' | 'contactless_emv' | 'contactless_magstripe_mode' | 'magnetic_stripe_fallback' | 'magnetic_stripe_track2', nullable — How card details were read in this transaction.
            - `wallet` PaymentFlowsPrivatePaymentMethodsCardPresentCommonWallet
              - …
          - `cashapp` PaymentMethodCashapp
            - `buyer_id` string, nullable — A unique and immutable identifier assigned by Cash App to every buyer.
            - `cashtag` string, nullable — A public identifier for buyers using Cash App.
          - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
          - `crypto` PaymentMethodCrypto
          - `custom` PaymentMethodCustom
            - `display_name` string, nullable — Display name of the Dashboard-only CustomPaymentMethodType.
            - `logo` CustomLogo
              - …
            - `type` string, required — ID of the Dashboard-only CustomPaymentMethodType. Not expandable.
          - `customer` union — The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
            - string
            - Customer — This object represents a customer of your business. Use it to [create recurring charges](https://docs.stripe.com/invoicing/customer), [save payment](https://docs.stripe.com/payments/save-during-payment) and contact information, and track payments that belong to the same customer.
              - …
          - `customer_account` string, nullable
          - `customer_balance` PaymentMethodCustomerBalance
          - `eps` PaymentMethodEps
            - `bank` 'arzte_und_apotheker_bank' | 'austrian_anadi_bank_ag' | 'bank_austria' | 'bankhaus_carl_spangler' | 'bankhaus_schelhammer_und_schattera_ag' | 'bawag_psk_ag' | 'bks_bank_ag' | 'brull_kallmus_bank_ag' | 'btv_vier_lander_bank' | 'capital_bank_grawe_gruppe_ag' | 'deutsche_bank_ag' | 'dolomitenbank' | 'easybank_ag' | 'erste_bank_und_sparkassen' | 'hypo_alpeadriabank_international_ag' | 'hypo_bank_burgenland_aktiengesellschaft' | 'hypo_noe_lb_fur_niederosterreich_u_wien' | 'hypo_oberosterreich_salzburg_steiermark' | 'hypo_tirol_bank_ag' | 'hypo_vorarlberg_bank_ag' | 'marchfelder_bank' | 'oberbank_ag' | 'raiffeisen_bankengruppe_osterreich' | 'schoellerbank_ag' | 'sparda_bank_wien' | 'volksbank_gruppe' | 'volkskreditbank_ag' | 'vr_bank_braunau', nullable — The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
          - `fpx` PaymentMethodFpx
            - `bank` 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob', required — The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bnp_paribas`, `bank_rakyat`, `bsn`, `cimb`, `citibank`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `mbsb_bank`, `pb_enterprise`, or `bank_of_china`.
          - `giropay` PaymentMethodGiropay
          - `grabpay` PaymentMethodGrabpay
          - `id` string, required — Unique identifier for the object.
          - `ideal` PaymentMethodIdeal
            - `bank` 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe', nullable — The customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
            - `bic` 'ABNANL2A' | 'ADYBNL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'BUUTNL2A' | 'FNOMNL22' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MLLENL2A' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U', nullable — The Bank Identifier Code of the customer's bank, if the bank was provided.
          - `interac_present` PaymentMethodInteracPresent
            - `brand` string, nullable — Card brand. Can be `interac`, `mastercard` or `visa`.
            - `cardholder_name` string, nullable — The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
            - `country` string, nullable — Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
            - `description` string, nullable — A high-level description of the type of cards issued in this range.
            - `exp_month` integer, required — Two-digit number representing the card's expiration month.
            - `exp_year` integer, required — Four-digit number representing the card's expiration year.
            - `fingerprint` string, nullable — Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
            - `funding` string, nullable — Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
            - `issuer` string, nullable — The name of the card's issuing bank.
            - `last4` string, nullable — The last four digits of the card.
            - `networks` PaymentMethodCardPresentNetworks
              - …
            - `preferred_locales` string[], nullable — The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
            - `read_method` 'contact_emv' | 'contactless_emv' | 'contactless_magstripe_mode' | 'magnetic_stripe_fallback' | 'magnetic_stripe_track2', nullable — How card details were read in this transaction.
          - `kakao_pay` PaymentMethodKakaoPay
          - `klarna` PaymentMethodKlarna
            - `dob` PaymentFlowsPrivatePaymentMethodsKlarnaDob
              - …
          - `konbini` PaymentMethodKonbini
          - `kr_card` PaymentMethodKrCard
            - `brand` 'bc' | 'citi' | 'hana' | 'hyundai' | 'jeju' | 'jeonbuk' | 'kakaobank' | 'kbank' | 'kdbbank' | 'kookmin' | 'kwangju' | 'lotte' | 'mg' | 'nh' | 'post' | 'samsung' | 'savingsbank' | 'shinhan' | 'shinhyup' | 'suhyup' | 'tossbank' | 'woori', nullable — The local credit or debit card brand.
            - `last4` string, nullable — The last four digits of the card. This may not be present for American Express cards.
          - `link` PaymentMethodLink
            - `email` string, nullable — Account owner's email address.
          - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
          - `mb_way` PaymentMethodMbWay
          - `metadata` object, nullable — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
          - `mobilepay` PaymentMethodMobilepay
          - `multibanco` PaymentMethodMultibanco
          - `naver_pay` PaymentMethodNaverPay
            - `buyer_id` string, nullable — Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
            - `funding` 'card' | 'points', required — Whether to fund this transaction with Naver Pay points or a card.
          - `nz_bank_account` PaymentMethodNzBankAccount
            - `account_holder_name` string, nullable — The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
            - `bank_code` string, required — The numeric code for the bank account's bank.
            - `bank_name` string, required — The name of the bank.
            - `branch_code` string, required — The numeric code for the bank account's bank branch.
            - `last4` string, required — Last four digits of the bank account number.
            - `suffix` string, nullable — The suffix of the bank account number.
          - `object` 'payment_method', required — String representing the object's type. Objects of the same type share the same value.
          - `oxxo` PaymentMethodOxxo
          - `p24` PaymentMethodP24
            - `bank` 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank', nullable — The customer's bank, if provided.
          - `pay_by_bank` PaymentMethodPayByBank
          - `payco` PaymentMethodPayco
          - `paynow` PaymentMethodPaynow
          - `paypal` PaymentMethodPaypal
            - `country` string, nullable — Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
            - `payer_email` string, nullable — Owner's email. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
            - `payer_id` string, nullable — PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
          - `payto` PaymentMethodPayto
            - `bsb_number` string, nullable — Bank-State-Branch number of the bank account.
            - `last4` string, nullable — Last four digits of the bank account number.
            - `pay_id` string, nullable — The PayID alias for the bank account.
          - `pix` PaymentMethodPix
            - `fingerprint` string, nullable — Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.
          - `promptpay` PaymentMethodPromptpay
          - `radar_options` RadarRadarOptions — Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
            - `session` string — A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
          - `revolut_pay` PaymentMethodRevolutPay
          - `samsung_pay` PaymentMethodSamsungPay
          - `satispay` PaymentMethodSatispay
          - `scalapay` PaymentMethodScalapay
          - `sepa_debit` PaymentMethodSepaDebit
            - `bank_code` string, nullable — Bank code of bank associated with the bank account.
            - `branch_code` string, nullable — Branch code of bank associated with the bank account.
            - `country` string, nullable — Two-letter ISO code representing the country the bank account is located in.
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `generated_from` SepaDebitGeneratedFrom
              - …
            - `last4` string, nullable — Last four characters of the IBAN.
          - `sofort` PaymentMethodSofort
            - `country` string, nullable — Two-letter ISO code representing the country the bank account is located in.
          - `sunbit` PaymentMethodSunbit
          - `swish` PaymentMethodSwish
          - `twint` PaymentMethodTwint
          - `type` 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip', required — The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
          - `upi` PaymentMethodUpi
            - `vpa` string, nullable — Customer's unique Virtual Payment Address
          - `us_bank_account` PaymentMethodUsBankAccount
            - `account_holder_type` 'company' | 'individual', nullable — Account holder type: individual or company.
            - `account_type` 'checking' | 'savings', nullable — Account type: checkings or savings. Defaults to checking if omitted.
            - `bank_name` string, nullable — The name of the bank.
            - `financial_connections_account` string, nullable — The ID of the Financial Connections Account used to create the payment method.
            - `fingerprint` string, nullable — Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
            - `last4` string, nullable — Last four digits of the bank account number.
            - `networks` UsBankAccountNetworks
              - …
            - `routing_number` string, nullable — Routing number of the bank account.
            - `status_details` PaymentMethodUsBankAccountStatusDetails
              - …
          - `wechat_pay` PaymentMethodWechatPay
          - `zip` PaymentMethodZip
      - `confirm_payment_intent` TerminalReaderReaderResourceConfirmPaymentIntentAction — Represents a reader action to confirm a payment
        - `confirm_config` TerminalReaderReaderResourceConfirmConfig — Represents a per-transaction override of a reader configuration
          - `return_url` string — If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion.
        - `payment_intent` union, required — Most recent PaymentIntent processed by the reader.
          - string
          - PaymentIntent — A PaymentIntent guides you through the process of collecting a payment from your customer. We recommend that you create exactly one PaymentIntent for each order or customer session in your system. You can reference the PaymentIntent later to see the history of payment attempts for a particular session. A PaymentIntent transitions through [multiple statuses](/payments/paymentintents/lifecycle) throughout its lifetime as it interfaces with Stripe.js to perform authentication flows and ultimately creates at most one successful charge. Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
            - `allowed_payment_method_types` string[], nullable — The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
            - `amount` integer — Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
            - `amount_capturable` integer — Amount that can be captured from this PaymentIntent.
            - `amount_details` union
              - …
            - `amount_received` integer — Amount that this PaymentIntent collects.
            - `application` union — ID of the Connect application that created the PaymentIntent.
              - …
            - `application_fee_amount` integer, nullable — The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
            - `automatic_payment_methods` PaymentFlowsAutomaticPaymentMethodsPaymentIntent
              - …
            - `canceled_at` integer, nullable — Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
            - `cancellation_reason` 'abandoned' | 'automatic' | 'duplicate' | 'expired' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice', nullable — Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, `automatic`, or `expired`).
            - `capture_method` 'automatic' | 'automatic_async' | 'manual' — Controls when the funds will be captured from the customer's account.
            - `client_secret` string, nullable — The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.
            - `confirmation_method` 'automatic' | 'manual' — Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
            - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
            - `currency` string, currency — Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
            - `customer` union — ID of the Customer this PaymentIntent belongs to, if one exists. Payment methods attached to other Customers cannot be used with this PaymentIntent. If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
              - …
            - `customer_account` string, nullable — ID of the Account representing the customer that this PaymentIntent belongs to, if one exists. Payment methods attached to other Accounts cannot be used with this PaymentIntent. If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
            - `description` string, nullable — An arbitrary string attached to the object. Often useful for displaying to users.
            - `excluded_payment_method_types` string[], nullable — The list of payment method types to exclude from use with this payment.
            - `hooks` PaymentFlowsPaymentIntentAsyncWorkflows
              - …
            - `id` string, required — Unique identifier for the object.
            - `last_payment_error` ApiErrors
              - …
            - `latest_charge` union — ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
              - …
            - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
            - `managed_payments` SmorResourceManagedPayments
              - …
            - `metadata` object — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
            - `next_action` PaymentIntentNextAction
              - …
            - `object` 'payment_intent', required — String representing the object's type. Objects of the same type share the same value.
            - `on_behalf_of` union — You can specify the settlement merchant as the connected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](/payments/connected-accounts) for details.
              - …
            - `payment_details` PaymentFlowsPaymentDetails
              - …
            - `payment_method` union — ID of the payment method used in this PaymentIntent.
              - …
            - `payment_method_configuration_details` PaymentMethodConfigBizPaymentMethodConfigurationDetails
              - …
            - `payment_method_options` PaymentIntentPaymentMethodOptions
              - …
            - `payment_method_types` string[] — The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
            - `presentment_details` PaymentFlowsPaymentIntentPresentmentDetails
              - …
            - `processing` PaymentIntentProcessing
              - …
            - `receipt_email` string, nullable — Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
            - `review` union — ID of the review associated with this PaymentIntent, if any.
              - …
            - `setup_future_usage` 'off_session' | 'on_session', nullable — Indicates that you intend to make future payments with this PaymentIntent's payment method. If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
            - `shipping` Shipping
              - …
            - `statement_descriptor` string, nullable — Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
            - `statement_descriptor_suffix` string, nullable — Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
            - `status` 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded', required — Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
            - `transfer_data` TransferData
              - …
            - `transfer_group` string, nullable — A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
      - `failure_code` string, nullable — Failure code, only set if status is `failed`.
      - `failure_message` string, nullable — Detailed failure message, only set if status is `failed`.
      - `print_content` TerminalReaderReaderResourcePrintContent — Represents a reader action to print content
        - `image` TerminalReaderReaderResourceFileMetadata — Metadata of an uploaded file
          - `created_at` integer, required — Creation time of the object (in seconds since the Unix epoch).
          - `filename` string, required — The original name of the uploaded file (e.g. `receipt.png`).
          - `size` integer, required — The size (in bytes) of the uploaded file.
          - `type` string, required — The format of the uploaded file.
        - `type` 'image', required — The type of content to print. Currently supports `image`.
      - `process_payment_intent` TerminalReaderReaderResourceProcessPaymentIntentAction — Represents a reader action to process a payment intent
        - `payment_intent` union, required — Most recent PaymentIntent processed by the reader.
          - string
          - PaymentIntent — A PaymentIntent guides you through the process of collecting a payment from your customer. We recommend that you create exactly one PaymentIntent for each order or customer session in your system. You can reference the PaymentIntent later to see the history of payment attempts for a particular session. A PaymentIntent transitions through [multiple statuses](/payments/paymentintents/lifecycle) throughout its lifetime as it interfaces with Stripe.js to perform authentication flows and ultimately creates at most one successful charge. Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
            - `allowed_payment_method_types` string[], nullable — The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
            - `amount` integer — Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
            - `amount_capturable` integer — Amount that can be captured from this PaymentIntent.
            - `amount_details` union
              - …
            - `amount_received` integer — Amount that this PaymentIntent collects.
            - `application` union — ID of the Connect application that created the PaymentIntent.
              - …
            - `application_fee_amount` integer, nullable — The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
            - `automatic_payment_methods` PaymentFlowsAutomaticPaymentMethodsPaymentIntent
              - …
            - `canceled_at` integer, nullable — Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
            - `cancellation_reason` 'abandoned' | 'automatic' | 'duplicate' | 'expired' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice', nullable — Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, `automatic`, or `expired`).
            - `capture_method` 'automatic' | 'automatic_async' | 'manual' — Controls when the funds will be captured from the customer's account.
            - `client_secret` string, nullable — The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.
            - `confirmation_method` 'automatic' | 'manual' — Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
            - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
            - `currency` string, currency — Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
            - `customer` union — ID of the Customer this PaymentIntent belongs to, if one exists. Payment methods attached to other Customers cannot be used with this PaymentIntent. If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
              - …
            - `customer_account` string, nullable — ID of the Account representing the customer that this PaymentIntent belongs to, if one exists. Payment methods attached to other Accounts cannot be used with this PaymentIntent. If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
            - `description` string, nullable — An arbitrary string attached to the object. Often useful for displaying to users.
            - `excluded_payment_method_types` string[], nullable — The list of payment method types to exclude from use with this payment.
            - `hooks` PaymentFlowsPaymentIntentAsyncWorkflows
              - …
            - `id` string, required — Unique identifier for the object.
            - `last_payment_error` ApiErrors
              - …
            - `latest_charge` union — ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
              - …
            - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
            - `managed_payments` SmorResourceManagedPayments
              - …
            - `metadata` object — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
            - `next_action` PaymentIntentNextAction
              - …
            - `object` 'payment_intent', required — String representing the object's type. Objects of the same type share the same value.
            - `on_behalf_of` union — You can specify the settlement merchant as the connected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](/payments/connected-accounts) for details.
              - …
            - `payment_details` PaymentFlowsPaymentDetails
              - …
            - `payment_method` union — ID of the payment method used in this PaymentIntent.
              - …
            - `payment_method_configuration_details` PaymentMethodConfigBizPaymentMethodConfigurationDetails
              - …
            - `payment_method_options` PaymentIntentPaymentMethodOptions
              - …
            - `payment_method_types` string[] — The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
            - `presentment_details` PaymentFlowsPaymentIntentPresentmentDetails
              - …
            - `processing` PaymentIntentProcessing
              - …
            - `receipt_email` string, nullable — Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
            - `review` union — ID of the review associated with this PaymentIntent, if any.
              - …
            - `setup_future_usage` 'off_session' | 'on_session', nullable — Indicates that you intend to make future payments with this PaymentIntent's payment method. If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
            - `shipping` Shipping
              - …
            - `statement_descriptor` string, nullable — Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
            - `statement_descriptor_suffix` string, nullable — Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
            - `status` 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded', required — Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
            - `transfer_data` TransferData
              - …
            - `transfer_group` string, nullable — A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
        - `process_config` TerminalReaderReaderResourceProcessConfig — Represents a per-transaction override of a reader configuration
          - `enable_customer_cancellation` boolean — Enable customer-initiated cancellation when processing this payment.
          - `return_url` string — If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion.
          - `skip_tipping` boolean — Override showing a tipping selection screen on this transaction.
          - `tipping` TerminalReaderReaderResourceTippingConfig — Represents a per-transaction tipping configuration
            - `amount_eligible` integer — Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
      - `process_setup_intent` TerminalReaderReaderResourceProcessSetupIntentAction — Represents a reader action to process a setup intent
        - `generated_card` string — ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
        - `process_config` TerminalReaderReaderResourceProcessSetupConfig — Represents a per-setup override of a reader configuration
          - `enable_customer_cancellation` boolean — Enable customer-initiated cancellation when processing this SetupIntent.
        - `setup_intent` union, required — Most recent SetupIntent processed by the reader.
          - string
          - SetupIntent — A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments. For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment. Later, you can use [PaymentIntents](https://api.stripe.com#payment_intents) to drive the payment flow. Create a SetupIntent when you're ready to collect your customer's payment credentials. Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid. The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides you through the setup process. Successful SetupIntents result in payment credentials that are optimized for future payments. For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents). If you use the SetupIntent with a [Customer](https://api.stripe.com#setup_intent_object-customer), it automatically attaches the resulting payment method to that Customer after successful setup. We recommend using SetupIntents or [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) on PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods. By using SetupIntents, you can reduce friction for your customers, even as regulations change over time. Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
            - `allowed_payment_method_types` string[], nullable — The list of payment method types to allow for this SetupIntent. Stripe will only use methods in this list when determining the payment methods to offer.
            - `application` union — ID of the Connect application that created the SetupIntent.
              - …
            - `attach_to_self` boolean — If present, the SetupIntent's payment method will be attached to the in-context Stripe Account. It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
            - `automatic_payment_methods` PaymentFlowsAutomaticPaymentMethodsSetupIntent
              - …
            - `cancellation_reason` 'abandoned' | 'duplicate' | 'requested_by_customer', nullable — Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.
            - `client_secret` string, nullable — The client secret of this SetupIntent. Used for client-side retrieval using a publishable key. The client secret can be used to complete payment setup from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
            - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
            - `customer` union — ID of the Customer this SetupIntent belongs to, if one exists. If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
              - …
            - `customer_account` string, nullable — ID of the Account this SetupIntent belongs to, if one exists. If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
            - `description` string, nullable — An arbitrary string attached to the object. Often useful for displaying to users.
            - `excluded_payment_method_types` string[], nullable — Payment method types that are excluded from this SetupIntent.
            - `flow_directions` string[], nullable — Indicates the directions of money movement for which this payment method is intended to be used. Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
            - `id` string, required — Unique identifier for the object.
            - `last_setup_error` ApiErrors
              - …
            - `latest_attempt` union — The most recent SetupAttempt for this SetupIntent.
              - …
            - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
            - `managed_payments` SmorResourceManagedPayments
              - …
            - `mandate` union — ID of the multi use Mandate generated by the SetupIntent.
              - …
            - `metadata` object, nullable — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
            - `next_action` SetupIntentNextAction
              - …
            - `object` 'setup_intent', required — String representing the object's type. Objects of the same type share the same value.
            - `on_behalf_of` union — The account (if any) for which the setup is intended.
              - …
            - `payment_method` union — ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead.
              - …
            - `payment_method_configuration_details` PaymentMethodConfigBizPaymentMethodConfigurationDetails
              - …
            - `payment_method_options` SetupIntentPaymentMethodOptions
              - …
            - `payment_method_types` string[], required — The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
            - `single_use_mandate` union — ID of the single_use Mandate generated by the SetupIntent.
              - …
            - `status` 'canceled' | 'processing' | 'requires_action' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded', required — [Status](https://docs.stripe.com/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`.
            - `usage` string, required — Indicates how the payment method is intended to be used in the future. Use `on_session` if you intend to only reuse the payment method when the customer is in your checkout flow. Use `off_session` if your customer may or may not be in your checkout flow. If not provided, this value defaults to `off_session`.
      - `refund_payment` TerminalReaderReaderResourceRefundPaymentAction — Represents a reader action to refund a payment
        - `amount` integer — The amount being refunded.
        - `charge` union — Charge that is being refunded.
          - string
          - Charge — The `Charge` object represents a single attempt to move money into your Stripe account. PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://docs.stripe.com/connect/account-debits) may also create Charges. Some legacy payment flows create Charges directly, which is not recommended for new integrations.
            - `amount` integer, required — Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
            - `amount_captured` integer, required — Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
            - `amount_refunded` integer, required — Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).
            - `application` union — ID of the Connect application that created the charge.
              - …
            - `application_fee` union — The application fee (if any) for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
              - …
            - `application_fee_amount` integer, nullable — The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
            - `balance_transaction` union — ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).
              - …
            - `billing_details` BillingDetails, required
              - …
            - `calculated_statement_descriptor` string, nullable — The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.
            - `captured` boolean, required — If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
            - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
            - `currency` string, currency, required — Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
            - `customer` union — ID of the customer this charge is for if one exists.
              - …
            - `description` string, nullable — An arbitrary string attached to the object. Often useful for displaying to users.
            - `disputed` boolean, required — Whether the charge has been disputed.
            - `failure_balance_transaction` union — ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
              - …
            - `failure_code` string, nullable — Error code explaining reason for charge failure if available (see [the errors section](https://docs.stripe.com/error-codes) for a list of codes).
            - `failure_message` string, nullable — Message to user further explaining reason for charge failure if available.
            - `fraud_details` ChargeFraudDetails
              - …
            - `id` string, required — Unique identifier for the object.
            - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
            - `metadata` object, required — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
            - `object` 'charge', required — String representing the object's type. Objects of the same type share the same value.
            - `on_behalf_of` union — The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.
              - …
            - `outcome` ChargeOutcome
              - …
            - `paid` boolean, required — `true` if the charge succeeded, or was successfully authorized for later capture.
            - `payment_intent` union — ID of the PaymentIntent associated with this charge, if one exists.
              - …
            - `payment_method` string, nullable — ID of the payment method used in this charge.
            - `payment_method_details` PaymentMethodDetails
              - …
            - `presentment_details` PaymentFlowsPaymentIntentPresentmentDetails
              - …
            - `radar_options` RadarRadarOptions — Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
              - …
            - `receipt_email` string, nullable — This is the email address that the receipt for this charge was sent to.
            - `receipt_number` string, nullable — This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent.
            - `receipt_url` string, nullable — This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
            - `refunded` boolean, required — Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
            - `refunds` object, nullable — A list of refunds that have been applied to the charge.
              - …
            - `review` union — ID of the review associated with this charge if one exists.
              - …
            - `shipping` Shipping
              - …
            - `source_transfer` union — The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
              - …
            - `statement_descriptor` string, nullable — For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
            - `statement_descriptor_suffix` string, nullable — Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
            - `status` 'failed' | 'pending' | 'succeeded', required — The status of the payment is either `succeeded`, `pending`, or `failed`.
            - `transfer` union — ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
              - …
            - `transfer_data` ChargeTransferData
              - …
            - `transfer_group` string, nullable — A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
        - `metadata` object — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
        - `payment_intent` union — Payment intent that is being refunded.
          - string
          - PaymentIntent — A PaymentIntent guides you through the process of collecting a payment from your customer. We recommend that you create exactly one PaymentIntent for each order or customer session in your system. You can reference the PaymentIntent later to see the history of payment attempts for a particular session. A PaymentIntent transitions through [multiple statuses](/payments/paymentintents/lifecycle) throughout its lifetime as it interfaces with Stripe.js to perform authentication flows and ultimately creates at most one successful charge. Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
            - `allowed_payment_method_types` string[], nullable — The list of payment method types allowed for use with this payment. Stripe automatically returns compatible payment methods from this list in the `payment_method_types` field of the response, based on the other PaymentIntent parameters, such as `currency`, `amount`, and `customer`.
            - `amount` integer — Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
            - `amount_capturable` integer — Amount that can be captured from this PaymentIntent.
            - `amount_details` union
              - …
            - `amount_received` integer — Amount that this PaymentIntent collects.
            - `application` union — ID of the Connect application that created the PaymentIntent.
              - …
            - `application_fee_amount` integer, nullable — The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
            - `automatic_payment_methods` PaymentFlowsAutomaticPaymentMethodsPaymentIntent
              - …
            - `canceled_at` integer, nullable — Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
            - `cancellation_reason` 'abandoned' | 'automatic' | 'duplicate' | 'expired' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice', nullable — Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, `automatic`, or `expired`).
            - `capture_method` 'automatic' | 'automatic_async' | 'manual' — Controls when the funds will be captured from the customer's account.
            - `client_secret` string, nullable — The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.
            - `confirmation_method` 'automatic' | 'manual' — Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
            - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
            - `currency` string, currency — Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
            - `customer` union — ID of the Customer this PaymentIntent belongs to, if one exists. Payment methods attached to other Customers cannot be used with this PaymentIntent. If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
              - …
            - `customer_account` string, nullable — ID of the Account representing the customer that this PaymentIntent belongs to, if one exists. Payment methods attached to other Accounts cannot be used with this PaymentIntent. If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
            - `description` string, nullable — An arbitrary string attached to the object. Often useful for displaying to users.
            - `excluded_payment_method_types` string[], nullable — The list of payment method types to exclude from use with this payment.
            - `hooks` PaymentFlowsPaymentIntentAsyncWorkflows
              - …
            - `id` string, required — Unique identifier for the object.
            - `last_payment_error` ApiErrors
              - …
            - `latest_charge` union — ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
              - …
            - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
            - `managed_payments` SmorResourceManagedPayments
              - …
            - `metadata` object — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
            - `next_action` PaymentIntentNextAction
              - …
            - `object` 'payment_intent', required — String representing the object's type. Objects of the same type share the same value.
            - `on_behalf_of` union — You can specify the settlement merchant as the connected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](/payments/connected-accounts) for details.
              - …
            - `payment_details` PaymentFlowsPaymentDetails
              - …
            - `payment_method` union — ID of the payment method used in this PaymentIntent.
              - …
            - `payment_method_configuration_details` PaymentMethodConfigBizPaymentMethodConfigurationDetails
              - …
            - `payment_method_options` PaymentIntentPaymentMethodOptions
              - …
            - `payment_method_types` string[] — The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
            - `presentment_details` PaymentFlowsPaymentIntentPresentmentDetails
              - …
            - `processing` PaymentIntentProcessing
              - …
            - `receipt_email` string, nullable — Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
            - `review` union — ID of the review associated with this PaymentIntent, if any.
              - …
            - `setup_future_usage` 'off_session' | 'on_session', nullable — Indicates that you intend to make future payments with this PaymentIntent's payment method. If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes. If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
            - `shipping` Shipping
              - …
            - `statement_descriptor` string, nullable — Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors). Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
            - `statement_descriptor_suffix` string, nullable — Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
            - `status` 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded', required — Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
            - `transfer_data` TransferData
              - …
            - `transfer_group` string, nullable — A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
        - `reason` 'duplicate' | 'fraudulent' | 'requested_by_customer' — The reason for the refund.
        - `refund` union — Unique identifier for the refund object.
          - string
          - Refund — Refund objects allow you to refund a previously created charge that isn't refunded yet. Funds are refunded to the credit or debit card that's initially charged. Related guide: [Refunds](https://docs.stripe.com/refunds)
            - `amount` integer, required — Amount, in cents (or local equivalent).
            - `balance_transaction` union — Balance transaction that describes the impact on your account balance.
              - …
            - `charge` union — ID of the charge that's refunded.
              - …
            - `created` integer, required — Time at which the object was created. Measured in seconds since the Unix epoch.
            - `currency` string, currency, required — Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
            - `customer` union — ID of the customer of this refund.
              - …
            - `customer_account` string, nullable — ID of the account of this refund.
            - `description` string — An arbitrary string attached to the object. You can use this for displaying to users (available on non-card refunds only).
            - `destination_details` RefundDestinationDetails
              - …
            - `failure_balance_transaction` union — After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.
              - …
            - `failure_reason` string — Provides the reason for the refund failure. Possible values are: `lost_or_stolen_card`, `expired_or_canceled_card`, `charge_for_pending_refund_disputed`, `insufficient_funds`, `declined`, `merchant_request`, or `unknown`.
            - `id` string, required — Unique identifier for the object.
            - `instructions_email` string — For payment methods without native refund support (for example, Konbini, PromptPay), provide an email address for the customer to receive refund instructions.
            - `metadata` object, nullable — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
            - `next_action` RefundNextAction
              - …
            - `object` 'refund', required — String representing the object's type. Objects of the same type share the same value.
            - `payment_intent` union — ID of the PaymentIntent that's refunded.
              - …
            - `payment_method` union — ID of the payment method associated with this refund.
              - …
            - `pending_reason` 'charge_pending' | 'insufficient_funds' | 'processing' — Provides the reason for why the refund is pending. Possible values are: `processing`, `insufficient_funds`, or `charge_pending`.
            - `presentment_details` PaymentFlowsPaymentIntentPresentmentDetails
              - …
            - `reason` 'duplicate' | 'expired_uncaptured_charge' | 'fraudulent' | 'requested_by_customer', nullable — Reason for the refund, which is either user-provided (`duplicate`, `fraudulent`, or `requested_by_customer`) or generated by Stripe internally (`expired_uncaptured_charge`).
            - `receipt_number` string, nullable — This is the transaction number that appears on email receipts sent for this refund.
            - `source_transfer_reversal` union — The transfer reversal that's associated with the refund. Only present if the charge came from another Stripe account.
              - …
            - `status` string, nullable — Status of the refund. This can be `pending`, `requires_action`, `succeeded`, `failed`, or `canceled`. Learn more about [failed refunds](https://docs.stripe.com/refunds#failed-refunds).
            - `transfer_reversal` union — This refers to the transfer reversal object if the accompanying transfer reverses. This is only applicable if the charge was created using the destination parameter.
              - …
        - `refund_application_fee` boolean — Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.
        - `refund_payment_config` TerminalReaderReaderResourceRefundPaymentConfig — Represents a per-transaction override of a reader configuration
          - `enable_customer_cancellation` boolean — Enable customer-initiated cancellation when refunding this payment.
        - `reverse_transfer` boolean — Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
      - `set_reader_display` TerminalReaderReaderResourceSetReaderDisplayAction — Represents a reader action to set the reader display
        - `cart` TerminalReaderReaderResourceCart — Represents a cart to be displayed on the reader
          - `currency` string, currency, required — Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
          - `line_items` TerminalReaderReaderResourceLineItem[], required — List of line items in the cart.
            - `amount` integer, required — The amount of the line item. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
            - `description` string, required — Description of the line item.
            - `quantity` integer, required — The quantity of the line item.
          - `tax` integer, nullable — Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
          - `total` integer, required — Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
        - `type` 'cart', required — Type of information to be displayed by the reader. Only `cart` is currently supported.
      - `status` 'failed' | 'in_progress' | 'succeeded', required — Status of the action performed by the reader.
      - `type` 'collect_inputs' | 'collect_payment_method' | 'confirm_payment_intent' | 'print_content' | 'process_payment_intent' | 'process_setup_intent' | 'refund_payment' | 'set_reader_display', required — Type of action performed by the reader.
    - `device_sw_version` string, nullable — The current software version of the reader.
    - `device_type` 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p', required — Device type of the reader.
    - `id` string, required — Unique identifier for the object.
    - `ip_address` string, nullable — The local IP address of the reader.
    - `label` string, required — Custom label given to the reader for easier identification.
    - `last_seen_at` integer, nullable — The last time this reader reported to Stripe backend. Timestamp is measured in milliseconds since the Unix epoch. Unlike most other Stripe timestamp fields which use seconds, this field uses milliseconds.
    - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
    - `location` union — The location identifier of the reader.
      - string
      - TerminalLocation — A Location represents a grouping of readers. Related guide: [Fleet management](https://docs.stripe.com/terminal/fleet/locations)
        - `address` Address, required
          - `city` string, nullable — City, district, suburb, town, or village.
          - `country` string, nullable — Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
          - `line1` string, nullable — Address line 1, such as the street, PO Box, or company name.
          - `line2` string, nullable — Address line 2, such as the apartment, suite, unit, or building.
          - `postal_code` string, nullable — ZIP or postal code.
          - `state` string, nullable — State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
        - `address_kana` LegalEntityJapanAddress
          - `city` string, nullable — City/Ward.
          - `country` string, nullable — Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
          - `line1` string, nullable — Block/Building number.
          - `line2` string, nullable — Building details.
          - `postal_code` string, nullable — ZIP or postal code.
          - `state` string, nullable — Prefecture.
          - `town` string, nullable — Town/cho-me.
        - `address_kanji` LegalEntityJapanAddress
          - `city` string, nullable — City/Ward.
          - `country` string, nullable — Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
          - `line1` string, nullable — Block/Building number.
          - `line2` string, nullable — Building details.
          - `postal_code` string, nullable — ZIP or postal code.
          - `state` string, nullable — Prefecture.
          - `town` string, nullable — Town/cho-me.
        - `configuration_overrides` string — The ID of a configuration that will be used to customize all readers in this location.
        - `display_name` string, required — The display name of the location.
        - `display_name_kana` string — The Kana variation of the display name of the location.
        - `display_name_kanji` string — The Kanji variation of the display name of the location.
        - `id` string, required — Unique identifier for the object.
        - `livemode` boolean, required — If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
        - `metadata` object, required — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
        - `object` 'terminal.location', required — String representing the object's type. Objects of the same type share the same value.
        - `phone` string — The phone number of the location.
    - `metadata` object, required — Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
    - `object` 'terminal.reader', required — String representing the object's type. Objects of the same type share the same value.
    - `serial_number` string, required — Serial number of the reader.
    - `status` 'offline' | 'online', nullable — The networking status of the reader. We do not recommend using this field in flows that may block taking payments.
  - DeletedTerminalReader
    - `deleted` true, required — Always true for a deleted object
    - `device_type` 'bbpos_chipper2x' | 'bbpos_wisepad3' | 'bbpos_wisepos_e' | 'mobile_phone_reader' | 'simulated_stripe_s700' | 'simulated_stripe_s710' | 'simulated_verifone_m425' | 'simulated_verifone_p630' | 'simulated_verifone_ux700' | 'simulated_verifone_v660p' | 'simulated_wisepos_e' | 'stripe_m2' | 'stripe_s700' | 'stripe_s710' | 'verifone_P400' | 'verifone_m425' | 'verifone_p630' | 'verifone_ux700' | 'verifone_v660p', required — Device type of the reader.
    - `id` string, required — Unique identifier for the object.
    - `object` 'terminal.reader', required — String representing the object's type. Objects of the same type share the same value.
    - `serial_number` string, required — Serial number of the reader.

## Other responses

- `default` — Error response.

---

[API](https://skmtc.net/stripe/apis/spec3.md) · [All operations](https://skmtc.net/stripe/apis/spec3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stripe/spec3/revisions/3653ad45bbec/schema)
