The Confirmation Token object 

Core Resources
Confirmation Token
The Confirmation Token object

Attributes

  • idstring

    Unique identifier for the object.

  • objectstring

    String representing the object’s type. Objects of the same type share the same value.

  • createdtimestamp

    Time at which the object was created. Measured in seconds since the Unix epoch.

  • expires_atnullable timestamp

    Time at which this ConfirmationToken expires and can no longer be used to confirm a PaymentIntent or SetupIntent.

  • livemodeboolean

    Has the value true if the object exists in live mode or the value false if the object exists in test mode.

  • mandate_datanullable object

    Data used for generating a Mandate.

    • mandate_data.customer_acceptanceobject

      This hash contains details about the customer acceptance of the Mandate.

      • mandate_data.customer_acceptance.onlinenullable object

        If this is a Mandate accepted online, this hash contains details about the online acceptance.

        • mandate_data.customer_acceptance.online.ip_addressnullable string

          The IP address from which the Mandate was accepted by the customer.

        • mandate_data.customer_acceptance.online.user_agentnullable string

          The user agent of the browser from which the Mandate was accepted by the customer.

      • mandate_data.customer_acceptance.typestring

        The type of customer acceptance information included with the Mandate.

  • payment_intentnullable string

    ID of the PaymentIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.

  • payment_method_optionsnullable object

    Payment-method-specific configuration for this ConfirmationToken.

    • payment_method_options.cardnullable object

      This hash contains the card payment method options.

      • payment_method_options.card.cvc_tokennullable string

        The cvc_update Token collected from the Payment Element.

      • payment_method_options.card.installmentsnullable object

        Installment details.

        • payment_method_options.card.installments.plannullable object

          Installment plan selected for this PaymentIntent.

          • payment_method_options.card.installments.plan.countnullable integer

            For fixed_count installment plans, this is the number of installment payments your customer will make to their credit card.

          • payment_method_options.card.installments.plan.intervalnullable enum

            For fixed_count installment plans, this is the interval between installment payments your customer will make to their credit card. One of month.

            Possible enum values
            month
          • payment_method_options.card.installments.plan.typeenum

            Type of installment plan, one of fixed_count, bonus, or revolving.

            Possible enum values
            bonus

            An installment plan used in Japan, where the customer defers payment to a later date that aligns with their salary bonus.

            fixed_count

            An installment plan where the number of installment payments is fixed and known at the time of purchase.

            revolving

            An installment plan used in Japan, where the customer pays a certain amount each month, and the remaining balance rolls over to the next month.

  • payment_method_previewnullable object

    Payment details collected by the Payment Element, used to create a PaymentMethod when a PaymentIntent or SetupIntent is confirmed with this ConfirmationToken.

    • payment_method_preview.acss_debitnullable object

      If this is an acss_debit PaymentMethod, this hash contains details about the ACSS Debit payment method.

      • payment_method_preview.acss_debit.bank_namenullable string

        Name of the bank associated with the bank account.

      • payment_method_preview.acss_debit.fingerprintnullable string

        Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.

      • payment_method_preview.acss_debit.institution_numbernullable string

        Institution number of the bank account.

      • payment_method_preview.acss_debit.last4nullable string

        Last four digits of the bank account number.

      • payment_method_preview.acss_debit.transit_numbernullable string

        Transit number of the bank account.

    • payment_method_preview.affirmnullable object

      If this is an affirm PaymentMethod, this hash contains details about the Affirm payment method.

    • payment_method_preview.afterpay_clearpaynullable object

      If this is an AfterpayClearpay PaymentMethod, this hash contains details about the AfterpayClearpay payment method.

    • payment_method_preview.alipaynullable object

      If this is an Alipay PaymentMethod, this hash contains details about the Alipay payment method.

    • payment_method_preview.allow_redisplaynullable enum

      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”.

      Possible enum values
      always

      Use always to indicate that this payment method can always be shown to a customer in a checkout flow.

      limited

      Use limited to indicate that this payment method can’t always be shown to a customer in a checkout flow. For example, it can only be shown in the context of a specific subscription.

      unspecified

      This is the default value for payment methods where allow_redisplay wasn’t set.

    • payment_method_preview.almanullable object

      If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.

    • payment_method_preview.amazon_paynullable object

      If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.

    • payment_method_preview.au_becs_debitnullable object

      If this is an au_becs_debit PaymentMethod, this hash contains details about the bank account.

      • payment_method_preview.au_becs_debit.bsb_numbernullable string

        Six-digit number identifying bank and branch associated with this bank account.

      • payment_method_preview.au_becs_debit.fingerprintnullable string

        Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.

      • payment_method_preview.au_becs_debit.last4nullable string

        Last four digits of the bank account number.

    • payment_method_preview.bacs_debitnullable object

      If this is a bacs_debit PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.

      • payment_method_preview.bacs_debit.fingerprintnullable string

        Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.

      • payment_method_preview.bacs_debit.last4nullable string

        Last four digits of the bank account number.

      • payment_method_preview.bacs_debit.sort_codenullable string

        Sort code of the bank account. (e.g., 10-20-30)

    • payment_method_preview.bancontactnullable object

      If this is a bancontact PaymentMethod, this hash contains details about the Bancontact payment method.

    • payment_method_preview.billienullable object

      If this is a billie PaymentMethod, this hash contains details about the Billie payment method.

    • payment_method_preview.billing_detailsobject

      Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.

      • payment_method_preview.billing_details.addressnullable object

        Billing address.

        • payment_method_preview.billing_details.address.citynullable string

          City, district, suburb, town, or village.

        • payment_method_preview.billing_details.address.countrynullable string

          Two-letter country code (ISO 3166-1 alpha-2).

        • payment_method_preview.billing_details.address.line1nullable string

          Address line 1 (e.g., street, PO Box, or company name).

        • payment_method_preview.billing_details.address.line2nullable string

          Address line 2 (e.g., apartment, suite, unit, or building).

        • payment_method_preview.billing_details.address.postal_codenullable string

          ZIP or postal code.

        • payment_method_preview.billing_details.address.statenullable string

          State, county, province, or region.

      • payment_method_preview.billing_details.emailnullable string

        Email address.

      • payment_method_preview.billing_details.namenullable string

        Full name.

      • payment_method_preview.billing_details.phonenullable string

        Billing phone number (including extension).

      • payment_method_preview.billing_details.tax_idnullable string

        Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.

    • payment_method_preview.bliknullable object

      If this is a blik PaymentMethod, this hash contains details about the BLIK payment method.

    • payment_method_preview.boletonullable object

      If this is a boleto PaymentMethod, this hash contains details about the Boleto payment method.

      • payment_method_preview.boleto.tax_idstring

        Uniquely identifies the customer tax id (CNPJ or CPF)

    • payment_method_preview.cardnullable object

      If this is a card PaymentMethod, this hash contains the user’s card details.

      • payment_method_preview.card.brandstring

        Card brand. Can be amex, cartes_bancaires, diners, discover, eftpos_au, jcb, link, mastercard, unionpay, visa or unknown.

      • payment_method_preview.card.checksnullable object

        Checks on Card address and CVC if provided.

        • payment_method_preview.card.checks.address_line1_checknullable string

          If a address line1 was provided, results of the check, one of pass, fail, unavailable, or unchecked.

        • payment_method_preview.card.checks.address_postal_code_checknullable string

          If a address postal code was provided, results of the check, one of pass, fail, unavailable, or unchecked.

        • payment_method_preview.card.checks.cvc_checknullable string

          If a CVC was provided, results of the check, one of pass, fail, unavailable, or unchecked.

      • payment_method_preview.card.countrynullable string

        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.

      • payment_method_preview.card.display_brandnullable string

        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.

      • payment_method_preview.card.exp_monthinteger

        Two-digit number representing the card’s expiration month.

      • payment_method_preview.card.exp_yearinteger

        Four-digit number representing the card’s expiration year.

      • payment_method_preview.card.fingerprintnullable string

        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.

      • payment_method_preview.card.fundingstring

        Card funding type. Can be credit, debit, prepaid, or unknown.

      • payment_method_preview.card.generated_fromnullable object

        Details of the original PaymentMethod that created this object.

        • payment_method_preview.card.generated_from.chargenullable string

          The charge that created this object.

        • payment_method_preview.card.generated_from.payment_method_detailsnullable object

          Transaction-specific details of the payment method used in the payment.

          • payment_method_preview.card.generated_from.payment_method_details.card_presentnullable object

            This hash contains the snapshot of the card_present transaction-specific details which generated this card payment method.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.amount_authorizednullable integer

              The authorized amount

            • payment_method_preview.card.generated_from.payment_method_details.card_present.brandnullable string

              Card brand. Can be amex, cartes_bancaires, diners, discover, eftpos_au, jcb, link, mastercard, unionpay, visa or unknown.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.brand_productnullable string

              The product code that identifies the specific program or product associated with a card.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.capture_beforenullable timestamp

              When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.cardholder_namenullable string

              The cardholder name as read from the card, in ISO 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.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.countrynullable string

              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.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.descriptionnullable string

              A high-level description of the type of cards issued in this range.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.emv_auth_datanullable string

              Authorization response cryptogram.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.exp_monthinteger

              Two-digit number representing the card’s expiration month.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.exp_yearinteger

              Four-digit number representing the card’s expiration year.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.fingerprintnullable string

              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.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.fundingnullable string

              Card funding type. Can be credit, debit, prepaid, or unknown.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.generated_cardnullable 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.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.incremental_authorization_supportedboolean

              Whether this PaymentIntent is eligible for incremental authorizations. Request support using request_incremental_authorization_support.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.issuernullable string

              The name of the card’s issuing bank.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.last4nullable string

              The last four digits of the card.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.networknullable string

              Identifies which network this charge was processed on. Can be amex, cartes_bancaires, diners, discover, eftpos_au, interac, jcb, link, mastercard, unionpay, visa, or unknown.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.network_transaction_idnullable string

              This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.offlinenullable object

              Details about payments collected offline.

              • payment_method_preview.card.generated_from.payment_method_details.card_present.offline.stored_atnullable timestamp

                Time at which the payment was collected while offline

              • payment_method_preview.card.generated_from.payment_method_details.card_present.offline.typenullable enum

                The method used to process this payment method offline. Only deferred is allowed.

                Possible enum values
                deferred
            • payment_method_preview.card.generated_from.payment_method_details.card_present.overcapture_supportedboolean

              Defines whether the authorized amount can be over-captured or not

            • payment_method_preview.card.generated_from.payment_method_details.card_present.preferred_localesnullable array of strings

              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.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.read_methodnullable enum

              How card details were read in this transaction.

              Possible enum values
              contact_emv

              Inserting a chip card into the card reader.

              contactless_emv

              Tapping a contactless-enabled chip card or mobile wallet.

              contactless_magstripe_mode

              Older standard for contactless payments that emulated a magnetic stripe read.

              magnetic_stripe_fallback

              When inserting a chip card fails three times in a row, fallback to a magnetic stripe read.

              magnetic_stripe_track2

              Swiping a card using the magnetic stripe reader.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.receiptnullable object

              A collection of fields required to be displayed on receipts. Only required for EMV transactions.

              • payment_method_preview.card.generated_from.payment_method_details.card_present.receipt.account_typenullable enum

                The type of account being debited or credited

                Possible enum values
                checking

                A checking account, as when using a debit card

                credit

                A credit account, as when using a credit card

                prepaid

                A prepaid account, as when using a debit gift card

                unknown

                An unknown account

              • payment_method_preview.card.generated_from.payment_method_details.card_present.receipt.application_cryptogramnullable string

                The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.

              • payment_method_preview.card.generated_from.payment_method_details.card_present.receipt.application_preferred_namenullable string

                The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card’s chip.

              • payment_method_preview.card.generated_from.payment_method_details.card_present.receipt.authorization_codenullable string

                Identifier for this transaction.

              • payment_method_preview.card.generated_from.payment_method_details.card_present.receipt.authorization_response_codenullable string

                EMV tag 8A. A code returned by the card issuer.

              • payment_method_preview.card.generated_from.payment_method_details.card_present.receipt.cardholder_verification_methodnullable string

                Describes the method used by the cardholder to verify ownership of the card. One of the following: approval, failure, none, offline_pin, offline_pin_and_signature, online_pin, or signature.

              • payment_method_preview.card.generated_from.payment_method_details.card_present.receipt.dedicated_file_namenullable string

                Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.

              • payment_method_preview.card.generated_from.payment_method_details.card_present.receipt.terminal_verification_resultsnullable string

                A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.

              • payment_method_preview.card.generated_from.payment_method_details.card_present.receipt.transaction_status_informationnullable string

                An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.

            • payment_method_preview.card.generated_from.payment_method_details.card_present.walletnullable object

              If a mobile wallet was presented in the transaction, this contains the details of the mobile wallet.

              • payment_method_preview.card.generated_from.payment_method_details.card_present.wallet.typeenum

                The type of mobile wallet, one of apple_pay, google_pay, samsung_pay, or unknown.

                Possible enum values
                apple_pay

                Apple Pay is a mobile payment service by Apple.

                google_pay

                Google Pay is a mobile payment service by Google.

                samsung_pay

                Samsung Pay is a mobile payment service by Samsung Electronics.

                unknown

                The wallet provider is unknown.

          • payment_method_preview.card.generated_from.payment_method_details.typestring

            The type of payment method transaction-specific details from the transaction that generated this card payment method. Always card_present.

        • payment_method_preview.card.generated_from.setup_attemptnullable stringExpandable

          The ID of the SetupAttempt that generated this PaymentMethod, if any.

      • payment_method_preview.card.last4string

        The last four digits of the card.

      • payment_method_preview.card.networksnullable object

        Contains information about card networks that can be used to process the payment.

        • payment_method_preview.card.networks.availablearray of strings

          All networks available for selection via payment_method_options.card.network.

        • payment_method_preview.card.networks.preferrednullable string

          The preferred network for co-branded cards. Can be cartes_bancaires, mastercard, visa or invalid_preference if requested network is not valid for the card.

      • payment_method_preview.card.regulated_statusnullable enum

        Status of a card based on the card issuer.

        Possible enum values
        regulated

        The card falls under a regulated account range.

        unregulated

        The card does not fall under a regulated account range.

      • payment_method_preview.card.three_d_secure_usagenullable object

        Contains details on how this Card may be used for 3D Secure authentication.

        • payment_method_preview.card.three_d_secure_usage.supportedboolean

          Whether 3D Secure is supported on this card.

      • payment_method_preview.card.walletnullable object

        If this Card is part of a card wallet, this contains the details of the card wallet.

        • payment_method_preview.card.wallet.amex_express_checkoutnullable object

          If this is a amex_express_checkout card wallet, this hash contains details about the wallet.

        • payment_method_preview.card.wallet.apple_paynullable object

          If this is a apple_pay card wallet, this hash contains details about the wallet.

        • payment_method_preview.card.wallet.dynamic_last4nullable string

          (For tokenized numbers only.) The last four digits of the device account number.

        • payment_method_preview.card.wallet.google_paynullable object

          If this is a google_pay card wallet, this hash contains details about the wallet.

        • payment_method_preview.card.wallet.linknullable object

          If this is a link card wallet, this hash contains details about the wallet.

        • payment_method_preview.card.wallet.masterpassnullable object

          If this is a masterpass card wallet, this hash contains details about the wallet.

          • payment_method_preview.card.wallet.masterpass.billing_addressnullable object

            Owner’s verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

            • payment_method_preview.card.wallet.masterpass.billing_address.citynullable string

              City, district, suburb, town, or village.

            • payment_method_preview.card.wallet.masterpass.billing_address.countrynullable string

              Two-letter country code (ISO 3166-1 alpha-2).

            • payment_method_preview.card.wallet.masterpass.billing_address.line1nullable string

              Address line 1 (e.g., street, PO Box, or company name).

            • payment_method_preview.card.wallet.masterpass.billing_address.line2nullable string

              Address line 2 (e.g., apartment, suite, unit, or building).

            • payment_method_preview.card.wallet.masterpass.billing_address.postal_codenullable string

              ZIP or postal code.

            • payment_method_preview.card.wallet.masterpass.billing_address.statenullable string

              State, county, province, or region.

          • payment_method_preview.card.wallet.masterpass.emailnullable string

            Owner’s verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

          • payment_method_preview.card.wallet.masterpass.namenullable string

            Owner’s verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

          • payment_method_preview.card.wallet.masterpass.shipping_addressnullable object

            Owner’s verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

            • payment_method_preview.card.wallet.masterpass.shipping_address.citynullable string

              City, district, suburb, town, or village.

            • payment_method_preview.card.wallet.masterpass.shipping_address.countrynullable string

              Two-letter country code (ISO 3166-1 alpha-2).

            • payment_method_preview.card.wallet.masterpass.shipping_address.line1nullable string

              Address line 1 (e.g., street, PO Box, or company name).

            • payment_method_preview.card.wallet.masterpass.shipping_address.line2nullable string

              Address line 2 (e.g., apartment, suite, unit, or building).

            • payment_method_preview.card.wallet.masterpass.shipping_address.postal_codenullable string

              ZIP or postal code.

            • payment_method_preview.card.wallet.masterpass.shipping_address.statenullable string

              State, county, province, or region.

        • payment_method_preview.card.wallet.samsung_paynullable object

          If this is a samsung_pay card wallet, this hash contains details about the wallet.

        • payment_method_preview.card.wallet.typeenum

          The type of the card wallet, one of amex_express_checkout, apple_pay, google_pay, masterpass, samsung_pay, visa_checkout, or link. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.

          Possible enum values
          amex_express_checkout
          apple_pay
          google_pay
          link
          masterpass
          samsung_pay
          visa_checkout
        • payment_method_preview.card.wallet.visa_checkoutnullable object

          If this is a visa_checkout card wallet, this hash contains details about the wallet.

          • payment_method_preview.card.wallet.visa_checkout.billing_addressnullable object

            Owner’s verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

            • payment_method_preview.card.wallet.visa_checkout.billing_address.citynullable string

              City, district, suburb, town, or village.

            • payment_method_preview.card.wallet.visa_checkout.billing_address.countrynullable string

              Two-letter country code (ISO 3166-1 alpha-2).

            • payment_method_preview.card.wallet.visa_checkout.billing_address.line1nullable string

              Address line 1 (e.g., street, PO Box, or company name).

            • payment_method_preview.card.wallet.visa_checkout.billing_address.line2nullable string

              Address line 2 (e.g., apartment, suite, unit, or building).

            • payment_method_preview.card.wallet.visa_checkout.billing_address.postal_codenullable string

              ZIP or postal code.

            • payment_method_preview.card.wallet.visa_checkout.billing_address.statenullable string

              State, county, province, or region.

          • payment_method_preview.card.wallet.visa_checkout.emailnullable string

            Owner’s verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

          • payment_method_preview.card.wallet.visa_checkout.namenullable string

            Owner’s verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

          • payment_method_preview.card.wallet.visa_checkout.shipping_addressnullable object

            Owner’s verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

            • payment_method_preview.card.wallet.visa_checkout.shipping_address.citynullable string

              City, district, suburb, town, or village.

            • payment_method_preview.card.wallet.visa_checkout.shipping_address.countrynullable string

              Two-letter country code (ISO 3166-1 alpha-2).

            • payment_method_preview.card.wallet.visa_checkout.shipping_address.line1nullable string

              Address line 1 (e.g., street, PO Box, or company name).

            • payment_method_preview.card.wallet.visa_checkout.shipping_address.line2nullable string

              Address line 2 (e.g., apartment, suite, unit, or building).

            • payment_method_preview.card.wallet.visa_checkout.shipping_address.postal_codenullable string

              ZIP or postal code.

            • payment_method_preview.card.wallet.visa_checkout.shipping_address.statenullable string

              State, county, province, or region.

    • payment_method_preview.card_presentnullable object

      If this is a card_present PaymentMethod, this hash contains details about the Card Present payment method.

      • payment_method_preview.card_present.brandnullable string

        Card brand. Can be amex, cartes_bancaires, diners, discover, eftpos_au, jcb, link, mastercard, unionpay, visa or unknown.

      • payment_method_preview.card_present.brand_productnullable string

        The product code that identifies the specific program or product associated with a card.

      • payment_method_preview.card_present.cardholder_namenullable string

        The cardholder name as read from the card, in ISO 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.

      • payment_method_preview.card_present.countrynullable string

        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.

      • payment_method_preview.card_present.descriptionnullable string

        A high-level description of the type of cards issued in this range.

      • payment_method_preview.card_present.exp_monthinteger

        Two-digit number representing the card’s expiration month.

      • payment_method_preview.card_present.exp_yearinteger

        Four-digit number representing the card’s expiration year.

      • payment_method_preview.card_present.fingerprintnullable string

        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.

      • payment_method_preview.card_present.fundingnullable string

        Card funding type. Can be credit, debit, prepaid, or unknown.

      • payment_method_preview.card_present.issuernullable string

        The name of the card’s issuing bank.

      • payment_method_preview.card_present.last4nullable string

        The last four digits of the card.

      • payment_method_preview.card_present.networksnullable object

        Contains information about card networks that can be used to process the payment.

        • payment_method_preview.card_present.networks.availablearray of strings

          All networks available for selection via payment_method_options.card.network.

        • payment_method_preview.card_present.networks.preferrednullable string

          The preferred network for the card.

      • payment_method_preview.card_present.offlinenullable object

        Details about payment methods collected offline.

        • payment_method_preview.card_present.offline.stored_atnullable timestamp

          Time at which the payment was collected while offline

        • payment_method_preview.card_present.offline.typenullable enum

          The method used to process this payment method offline. Only deferred is allowed.

          Possible enum values
          deferred
      • payment_method_preview.card_present.preferred_localesnullable array of strings

        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.

      • payment_method_preview.card_present.read_methodnullable enum

        How card details were read in this transaction.

        Possible enum values
        contact_emv

        Inserting a chip card into the card reader.

        contactless_emv

        Tapping a contactless-enabled chip card or mobile wallet.

        contactless_magstripe_mode

        Older standard for contactless payments that emulated a magnetic stripe read.

        magnetic_stripe_fallback

        When inserting a chip card fails three times in a row, fallback to a magnetic stripe read.

        magnetic_stripe_track2

        Swiping a card using the magnetic stripe reader.

      • payment_method_preview.card_present.walletnullable object

        If a mobile wallet was presented in the transaction, this contains the details of the mobile wallet.

        • payment_method_preview.card_present.wallet.typeenum

          The type of mobile wallet, one of apple_pay, google_pay, samsung_pay, or unknown.

          Possible enum values
          apple_pay

          Apple Pay is a mobile payment service by Apple.

          google_pay

          Google Pay is a mobile payment service by Google.

          samsung_pay

          Samsung Pay is a mobile payment service by Samsung Electronics.

          unknown

          The wallet provider is unknown.

    • payment_method_preview.cashappnullable object

      If this is a cashapp PaymentMethod, this hash contains details about the Cash App Pay payment method.

      • payment_method_preview.cashapp.buyer_idnullable string

        A unique and immutable identifier assigned by Cash App to every buyer.

      • payment_method_preview.cashapp.cashtagnullable string

        A public identifier for buyers using Cash App.

    • payment_method_preview.cryptonullable object

      If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.

    • payment_method_preview.customernullable stringExpandable

      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.

    • payment_method_preview.customer_balancenullable object

      If this is a customer_balance PaymentMethod, this hash contains details about the CustomerBalance payment method.

    • payment_method_preview.epsnullable object

      If this is an eps PaymentMethod, this hash contains details about the EPS payment method.

      • payment_method_preview.eps.banknullable enum

        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.

        Possible enum values
        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
        Show 18 more
    • payment_method_preview.fpxnullable object

      If this is an fpx PaymentMethod, this hash contains details about the FPX payment method.

      • payment_method_preview.fpx.bankenum

        The customer’s bank, if provided. Can be one of affin_bank, agrobank, alliance_bank, ambank, bank_islam, bank_muamalat, bank_rakyat, bsn, cimb, hong_leong_bank, hsbc, kfh, maybank2u, ocbc, public_bank, rhb, standard_chartered, uob, deutsche_bank, maybank2e, pb_enterprise, or bank_of_china.

        Possible enum values
        affin_bank
        agrobank
        alliance_bank
        ambank
        bank_islam
        bank_muamalat
        bank_of_china
        bank_rakyat
        bsn
        cimb
        Show 12 more
    • payment_method_preview.giropaynullable object

      If this is a giropay PaymentMethod, this hash contains details about the Giropay payment method.

    • payment_method_preview.grabpaynullable object

      If this is a grabpay PaymentMethod, this hash contains details about the GrabPay payment method.

    • payment_method_preview.idealnullable object

      If this is an ideal PaymentMethod, this hash contains details about the iDEAL payment method.

      • payment_method_preview.ideal.banknullable enum

        The customer’s bank, if provided. Can be one of abn_amro, asn_bank, bunq, buut, handelsbanken, ing, knab, moneyou, n26, nn, rabobank, regiobank, revolut, sns_bank, triodos_bank, van_lanschot, or yoursafe.

        Possible enum values
        abn_amro
        asn_bank
        bunq
        buut
        handelsbanken
        ing
        knab
        moneyou
        n26
        nn
        Show 7 more
      • payment_method_preview.ideal.bicnullable enum

        The Bank Identifier Code of the customer’s bank, if the bank was provided.

        Possible enum values
        ABNANL2A
        ASNBNL21
        BITSNL2A
        BUNQNL2A
        BUUTNL2A
        FVLBNL22
        HANDNL2A
        INGBNL2A
        KNABNL2H
        MOYONL21
        Show 8 more
    • payment_method_preview.interac_presentnullable objectPreview feature

      If this is an interac_present PaymentMethod, this hash contains details about the Interac Present payment method.

      • payment_method_preview.interac_present.brandnullable string

        Card brand. Can be interac, mastercard or visa.

      • payment_method_preview.interac_present.cardholder_namenullable string

        The cardholder name as read from the card, in ISO 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.

      • payment_method_preview.interac_present.countrynullable string

        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.

      • payment_method_preview.interac_present.descriptionnullable string

        A high-level description of the type of cards issued in this range.

      • payment_method_preview.interac_present.exp_monthinteger

        Two-digit number representing the card’s expiration month.

      • payment_method_preview.interac_present.exp_yearinteger

        Four-digit number representing the card’s expiration year.

      • payment_method_preview.interac_present.fingerprintnullable string

        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.

      • payment_method_preview.interac_present.fundingnullable string

        Card funding type. Can be credit, debit, prepaid, or unknown.

      • payment_method_preview.interac_present.issuernullable string

        The name of the card’s issuing bank.

      • payment_method_preview.interac_present.last4nullable string

        The last four digits of the card.

      • payment_method_preview.interac_present.networksnullable object

        Contains information about card networks that can be used to process the payment.

        • payment_method_preview.interac_present.networks.availablearray of strings

          All networks available for selection via payment_method_options.card.network.

        • payment_method_preview.interac_present.networks.preferrednullable string

          The preferred network for the card.

      • payment_method_preview.interac_present.preferred_localesnullable array of strings

        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.

      • payment_method_preview.interac_present.read_methodnullable enum

        How card details were read in this transaction.

        Possible enum values
        contact_emv

        Inserting a chip card into the card reader.

        contactless_emv

        Tapping a contactless-enabled chip card or mobile wallet.

        contactless_magstripe_mode

        Older standard for contactless payments that emulated a magnetic stripe read.

        magnetic_stripe_fallback

        When inserting a chip card fails three times in a row, fallback to a magnetic stripe read.

        magnetic_stripe_track2

        Swiping a card using the magnetic stripe reader.

    • payment_method_preview.kakao_paynullable object

      If this is a kakao_pay PaymentMethod, this hash contains details about the Kakao Pay payment method.

    • payment_method_preview.klarnanullable object

      If this is a klarna PaymentMethod, this hash contains details about the Klarna payment method.

      • payment_method_preview.klarna.dobnullable objectExpandable

        The customer’s date of birth, if provided.

        • payment_method_preview.klarna.dob.daynullable integer

          The day of birth, between 1 and 31.

        • payment_method_preview.klarna.dob.monthnullable integer

          The month of birth, between 1 and 12.

        • payment_method_preview.klarna.dob.yearnullable integer

          The four-digit year of birth.

    • payment_method_preview.konbininullable object

      If this is a konbini PaymentMethod, this hash contains details about the Konbini payment method.

    • payment_method_preview.kr_cardnullable object

      If this is a kr_card PaymentMethod, this hash contains details about the Korean Card payment method.

      • payment_method_preview.kr_card.brandnullable enum

        The local credit or debit card brand.

        Possible enum values
        bc

        BC

        citi

        Citi

        hana

        Hana

        hyundai

        Hyundai

        jeju

        Jeju

        jeonbuk

        Jeonbuk

        kakaobank

        Kakao Bank

        kbank

        KBank

        kdbbank

        KDB Bank

        kookmin

        Kookmin

        Show 12 more
      • payment_method_preview.kr_card.last4nullable string

        The last four digits of the card. This may not be present for American Express cards.

    • payment_method_preview.linknullable object

      If this is an Link PaymentMethod, this hash contains details about the Link payment method.

      • payment_method_preview.link.emailnullable string

        Account owner’s email address.

    • payment_method_preview.mobilepaynullable object

      If this is a mobilepay PaymentMethod, this hash contains details about the MobilePay payment method.

    • payment_method_preview.multibanconullable object

      If this is a multibanco PaymentMethod, this hash contains details about the Multibanco payment method.

    • payment_method_preview.naver_paynullable object

      If this is a naver_pay PaymentMethod, this hash contains details about the Naver Pay payment method.

      • payment_method_preview.naver_pay.buyer_idnullable string

        Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.

      • payment_method_preview.naver_pay.fundingenum

        Whether to fund this transaction with Naver Pay points or a card.

        Possible enum values
        card

        Use a card to fund this transaction.

        points

        Use Naver Pay points to fund this transaction.

    • payment_method_preview.nz_bank_accountnullable object

      If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.

      • payment_method_preview.nz_bank_account.account_holder_namenullable string

        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.

      • payment_method_preview.nz_bank_account.bank_codestring

        The numeric code for the bank account’s bank.

      • payment_method_preview.nz_bank_account.bank_namestring

        The name of the bank.

      • payment_method_preview.nz_bank_account.branch_codestring

        The numeric code for the bank account’s bank branch.

      • payment_method_preview.nz_bank_account.last4string

        Last four digits of the bank account number.

      • payment_method_preview.nz_bank_account.suffixnullable string

        The suffix of the bank account number.

    • payment_method_preview.oxxonullable object

      If this is an oxxo PaymentMethod, this hash contains details about the OXXO payment method.

    • payment_method_preview.p24nullable object

      If this is a p24 PaymentMethod, this hash contains details about the P24 payment method.

      • payment_method_preview.p24.banknullable enum

        The customer’s bank, if provided.

    • payment_method_preview.pay_by_banknullable object

      If this is a pay_by_bank PaymentMethod, this hash contains details about the PayByBank payment method.

    • payment_method_preview.payconullable object

      If this is a payco PaymentMethod, this hash contains details about the PAYCO payment method.

    • payment_method_preview.paynownullable object

      If this is a paynow PaymentMethod, this hash contains details about the PayNow payment method.

    • payment_method_preview.paypalnullable object

      If this is a paypal PaymentMethod, this hash contains details about the PayPal payment method.

      • payment_method_preview.paypal.countrynullable string

        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.

      • payment_method_preview.paypal.payer_emailnullable string

        Owner’s email. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.

      • payment_method_preview.paypal.payer_idnullable string

        PayPal account PayerID. This identifier uniquely identifies the PayPal customer.

    • payment_method_preview.pixnullable object

      If this is a pix PaymentMethod, this hash contains details about the Pix payment method.

    • payment_method_preview.promptpaynullable object

      If this is a promptpay PaymentMethod, this hash contains details about the PromptPay payment method.

    • payment_method_preview.revolut_paynullable object

      If this is a revolut_pay PaymentMethod, this hash contains details about the Revolut Pay payment method.

    • payment_method_preview.samsung_paynullable object

      If this is a samsung_pay PaymentMethod, this hash contains details about the SamsungPay payment method.

    • payment_method_preview.satispaynullable object

      If this is a satispay PaymentMethod, this hash contains details about the Satispay payment method.

    • payment_method_preview.sepa_debitnullable object

      If this is a sepa_debit PaymentMethod, this hash contains details about the SEPA debit bank account.

      • payment_method_preview.sepa_debit.bank_codenullable string

        Bank code of bank associated with the bank account.

      • payment_method_preview.sepa_debit.branch_codenullable string

        Branch code of bank associated with the bank account.

      • payment_method_preview.sepa_debit.countrynullable string

        Two-letter ISO code representing the country the bank account is located in.

      • payment_method_preview.sepa_debit.fingerprintnullable string

        Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.

      • payment_method_preview.sepa_debit.generated_fromnullable object

        Information about the object that generated this PaymentMethod.

        • payment_method_preview.sepa_debit.generated_from.chargenullable stringExpandable

          The ID of the Charge that generated this PaymentMethod, if any.

        • payment_method_preview.sepa_debit.generated_from.setup_attemptnullable stringExpandable

          The ID of the SetupAttempt that generated this PaymentMethod, if any.

      • payment_method_preview.sepa_debit.last4nullable string

        Last four characters of the IBAN.

    • payment_method_preview.sofortnullable object

      If this is a sofort PaymentMethod, this hash contains details about the SOFORT payment method.

      • payment_method_preview.sofort.countrynullable string

        Two-letter ISO code representing the country the bank account is located in.

    • payment_method_preview.swishnullable object

      If this is a swish PaymentMethod, this hash contains details about the Swish payment method.

    • payment_method_preview.twintnullable object

      If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.

    • payment_method_preview.typeenum

      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.

      Possible enum values
      acss_debit

      Pre-authorized debit payments are used to debit Canadian bank accounts through the Automated Clearing Settlement System (ACSS).

      affirm

      Affirm is a buy now, pay later payment method in the US.

      afterpay_clearpay

      Afterpay / Clearpay is a buy now, pay later payment method used in Australia, Canada, France, New Zealand, Spain, the UK, and the US.

      alipay

      Alipay is a digital wallet payment method used in China.

      alma

      Alma is a Buy Now, Pay Later payment method that lets customers pay in 2, 3, or 4 installments.

      amazon_pay

      Amazon Pay is a Wallet payment method that lets hundreds of millions of Amazon customers pay their way, every day.

      au_becs_debit

      BECS Direct Debit is used to debit Australian bank accounts through the Bulk Electronic Clearing System (BECS).

      bacs_debit

      Bacs Direct Debit is used to debit UK bank accounts.

      bancontact

      Bancontact is a bank redirect payment method used in Belgium.

      billie

      Billie is a payment method.

      Show 40 more
    • payment_method_preview.us_bank_accountnullable object

      If this is an us_bank_account PaymentMethod, this hash contains details about the US bank account payment method.

      • payment_method_preview.us_bank_account.account_holder_typenullable enum

        Account holder type: individual or company.

        Possible enum values
        company

        Account belongs to a company

        individual

        Account belongs to an individual

      • payment_method_preview.us_bank_account.account_typenullable enum

        Account type: checkings or savings. Defaults to checking if omitted.

        Possible enum values
        checking

        Bank account type is checking

        savings

        Bank account type is savings

      • payment_method_preview.us_bank_account.bank_namenullable string

        The name of the bank.

      • payment_method_preview.us_bank_account.financial_connections_accountnullable string

        The ID of the Financial Connections Account used to create the payment method.

      • payment_method_preview.us_bank_account.fingerprintnullable string

        Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.

      • payment_method_preview.us_bank_account.last4nullable string

        Last four digits of the bank account number.

      • payment_method_preview.us_bank_account.networksnullable object

        Contains information about US bank account networks that can be used.

        • payment_method_preview.us_bank_account.networks.preferrednullable string

          The preferred network.

        • payment_method_preview.us_bank_account.networks.supportedarray of enums

          All supported networks.

          Possible enum values
          ach
          us_domestic_wire
      • payment_method_preview.us_bank_account.routing_numbernullable string

        Routing number of the bank account.

      • payment_method_preview.us_bank_account.status_detailsnullable object

        Contains information about the future reusability of this PaymentMethod.

        • payment_method_preview.us_bank_account.status_details.blockednullable object

          Contains more information about the underlying block. This field will only be rendered if the PaymentMethod is blocked.

          • payment_method_preview.us_bank_account.status_details.blocked.network_codenullable enum

            The ACH network code that resulted in this block.

            Possible enum values
            R02

            Account Closed

            R03

            No Account, Unable to Locate Account

            R04

            Invalid Account Number Structure

            R05

            Unauthorized Debit to Consumer Account Using Corporate SEC Code

            R07

            Authorization Revoked By Consumer

            R08

            Payment Stopped

            R10

            Customer Advises Originator is Not Known to Receiver and/or Originator is Not Authorized by Receiver to Debit Receiver’s Account

            R11

            Customer Advises Entry Not in Accordance with the Terms of Authorization

            R16

            Account Frozen, Entry Returned Per OFAC Instructions

            R20

            Non-Transaction Account

            Show 2 more
          • payment_method_preview.us_bank_account.status_details.blocked.reasonnullable enum

            The reason why this PaymentMethod’s fingerprint has been blocked

            Possible enum values
            bank_account_closed

            Bank account has been closed.

            bank_account_frozen

            Bank account has been frozen.

            bank_account_invalid_details

            Bank account details are incorrect. Please check the account number, routing number, account holder name, and account type.

            bank_account_restricted

            Bank account does not support debits.

            bank_account_unusable

            Bank account has been blocked by Stripe. Please contact Support.

            debit_not_authorized

            Customer has disputed a previous payment with their bank. If the network_code is R29, please confirm that Stripe’s Company IDs are allowlisted before attempting additional payments.

    • payment_method_preview.wechat_paynullable object

      If this is an wechat_pay PaymentMethod, this hash contains details about the wechat_pay payment method.

    • payment_method_preview.zipnullable object

      If this is a zip PaymentMethod, this hash contains details about the Zip payment method.

  • return_urlnullable string

    Return URL used to confirm the Intent.

  • setup_future_usagenullable enum

    Indicates that you intend to make future payments with this ConfirmationToken’s payment method.

    The presence of this property will attach the payment method to the PaymentIntent’s Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.

    Possible enum values
    off_session

    Use off_session if your customer may or may not be present in your checkout flow.

    on_session

    Use on_session if you intend to only reuse the payment method when your customer is present in your checkout flow.

  • setup_intentnullable string

    ID of the SetupIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.

  • shippingnullable object

    Shipping information collected on this ConfirmationToken.

    • shipping.addressobject

      Shipping address.

      • shipping.address.citynullable string

        City, district, suburb, town, or village.

      • shipping.address.countrynullable string

        Two-letter country code (ISO 3166-1 alpha-2).

      • shipping.address.line1nullable string

        Address line 1 (e.g., street, PO Box, or company name).

      • shipping.address.line2nullable string

        Address line 2 (e.g., apartment, suite, unit, or building).

      • shipping.address.postal_codenullable string

        ZIP or postal code.

      • shipping.address.statenullable string

        State, county, province, or region.

    • shipping.namestring

      Recipient name.

    • shipping.phonenullable string

      Recipient phone (including extension).

  • use_stripe_sdkboolean

    Indicates whether the Stripe SDK is used to handle confirmation flow. Defaults to true on ConfirmationToken.

The Confirmation Token object
{
"id": "ctoken_1NnQUf2eZvKYlo2CIObdtbnb",
"object": "confirmation_token",
"created": 1694025025,
"expires_at": 1694068225,
"livemode": true,
"mandate_data": null,
"payment_intent": null,
"payment_method": null,
"payment_method_preview": {
"billing_details": {
"address": {
"city": "Hyde Park",
"country": "US",
"line1": "50 Sprague St",
"line2": "",
"postal_code": "02136",
"state": "MA"
},
"email": "jennyrosen@stripe.com",
"name": "Jenny Rosen",
"phone": null
},
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": null
},
"country": "US",
"display_brand": "visa",
"exp_month": 8,
"exp_year": 2026,
"funding": "credit",
"generated_from": null,
"last4": "4242",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"type": "card"
},
"return_url": "https://example.com/return",
"setup_future_usage": "off_session",
"setup_intent": null,
"shipping": {
"address": {
"city": "Hyde Park",
"country": "US",
"line1": "50 Sprague St",
"line2": "",
"postal_code": "02136",
"state": "MA"
},
"name": "Jenny Rosen",
"phone": null
}
}