The Charge object 

Core Resources
Charges
The Charge object

Attributes

  • idstring

    Unique identifier for the object.

  • amountinteger

    Amount intended to be collected by this payment. A positive integer representing how much to charge in the smallest currency unit (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. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).

  • balance_transactionnullable stringExpandable

    ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).

  • billing_detailsMap

    Billing information associated with the payment method at the time of the transaction.

    • billing_details.addressnullable Map

      Billing address.

      • billing_details.address.citynullable string

        City, district, suburb, town, or village.

      • billing_details.address.countrynullable string

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

      • billing_details.address.line1nullable string

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

      • billing_details.address.line2nullable string

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

      • billing_details.address.postal_codenullable string

        ZIP or postal code.

      • billing_details.address.statenullable string

        State, county, province, or region.

    • billing_details.emailnullable string

      Email address.

    • billing_details.namenullable string

      Full name.

    • billing_details.phonenullable string

      Billing phone number (including extension).

    • billing_details.tax_idnullable string

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

  • currencyenum

    Three-letter ISO currency code, in lowercase. Must be a supported currency.

  • customernullable stringExpandable

    ID of the customer this charge is for if one exists.

  • descriptionnullable string

    An arbitrary string attached to the object. Often useful for displaying to users.

  • disputedboolean

    Whether the charge has been disputed.

  • metadataMap

    Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

  • payment_intentnullable stringExpandable

    ID of the PaymentIntent associated with this charge, if one exists.

  • payment_method_detailsnullable Map

    Details about the payment method at the time of the transaction.

    • payment_method_details.ach_credit_transfernullable Map

      If this is a ach_credit_transfer payment, this hash contains a snapshot of the transaction specific details of the ach_credit_transfer payment method.

      • payment_method_details.ach_credit_transfer.account_numbernullable string

        Account number to transfer funds to.

      • payment_method_details.ach_credit_transfer.bank_namenullable string

        Name of the bank associated with the routing number.

      • payment_method_details.ach_credit_transfer.routing_numbernullable string

        Routing transit number for the bank account to transfer funds to.

      • payment_method_details.ach_credit_transfer.swift_codenullable string

        SWIFT code of the bank associated with the routing number.

    • payment_method_details.ach_debitnullable Map

      If this is a ach_debit payment, this hash contains a snapshot of the transaction specific details of the ach_debit payment method.

      • payment_method_details.ach_debit.account_holder_typenullable enum

        Type of entity that holds the account. This can be either individual or company.

        Possible enum values
        company
        individual
      • payment_method_details.ach_debit.bank_namenullable string

        Name of the bank associated with the bank account.

      • payment_method_details.ach_debit.countrynullable string

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

      • payment_method_details.ach_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_details.ach_debit.last4nullable string

        Last four digits of the bank account number.

      • payment_method_details.ach_debit.routing_numbernullable string

        Routing transit number of the bank account.

    • payment_method_details.acss_debitnullable Map

      If this is a acss_debit payment, this hash contains a snapshot of the transaction specific details of the acss_debit payment method.

      • payment_method_details.acss_debit.bank_namenullable string

        Name of the bank associated with the bank account.

      • payment_method_details.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_details.acss_debit.institution_numbernullable string

        Institution number of the bank account

      • payment_method_details.acss_debit.last4nullable string

        Last four digits of the bank account number.

      • payment_method_details.acss_debit.mandatenullable string

        ID of the mandate used to make this payment.

      • payment_method_details.acss_debit.transit_numbernullable string

        Transit number of the bank account.

    • payment_method_details.affirmnullable Map

      If this is a affirm payment, this hash contains a snapshot of the transaction specific details of the affirm payment method.

      • payment_method_details.affirm.locationnullable stringPreview feature

        ID of the location that this transaction’s reader is assigned to.

      • payment_method_details.affirm.readernullable stringPreview feature

        ID of the reader this transaction was made on.

      • payment_method_details.affirm.transaction_idnullable string

        The Affirm transaction ID associated with this payment.

    • payment_method_details.afterpay_clearpaynullable Map

      If this is a afterpay_clearpay payment, this hash contains a snapshot of the transaction specific details of the afterpay_clearpay payment method.

      • payment_method_details.afterpay_clearpay.order_idnullable string

        The Afterpay order ID associated with this payment intent.

      • payment_method_details.afterpay_clearpay.referencenullable string

        Order identifier shown to the merchant in Afterpay’s online portal.

    • payment_method_details.alipaynullable Map

      If this is a alipay payment, this hash contains a snapshot of the transaction specific details of the alipay payment method.

      • payment_method_details.alipay.buyer_idnullable string

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

      • payment_method_details.alipay.fingerprintnullable string

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

      • payment_method_details.alipay.transaction_idnullable string

        Transaction ID of this particular Alipay transaction.

    • payment_method_details.almanullable Map

      If this is a alma payment, this hash contains a snapshot of the transaction specific details of the alma payment method.

      • payment_method_details.alma.installmentsnullable Map

        Installment options that a buyer selected, if any.

        • payment_method_details.alma.installments.countinteger

          The number of installments.

      • payment_method_details.alma.transaction_idnullable string

        The Alma transaction ID associated with this payment.

    • payment_method_details.amazon_paynullable Map

      If this is a amazon_pay payment, this hash contains a snapshot of the transaction specific details of the amazon_pay payment method.

      • payment_method_details.amazon_pay.fundingnullable Map

        the funding details of the underlying payment method.

        • payment_method_details.amazon_pay.funding.cardnullable Map

          the funding details of the passthrough card.

          • payment_method_details.amazon_pay.funding.card.brandnullable string

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

          • payment_method_details.amazon_pay.funding.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_details.amazon_pay.funding.card.exp_monthnullable integer

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

          • payment_method_details.amazon_pay.funding.card.exp_yearnullable integer

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

          • payment_method_details.amazon_pay.funding.card.fundingnullable string

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

          • payment_method_details.amazon_pay.funding.card.last4nullable string

            The last four digits of the card.

        • payment_method_details.amazon_pay.funding.typenullable enum

          funding type of the underlying payment method.

      • payment_method_details.amazon_pay.transaction_idnullable string

        The Amazon Pay transaction ID associated with this payment.

    • payment_method_details.au_becs_debitnullable Map

      If this is a au_becs_debit payment, this hash contains a snapshot of the transaction specific details of the au_becs_debit payment method.

      • payment_method_details.au_becs_debit.bsb_numbernullable string

        Bank-State-Branch number of the bank account.

      • payment_method_details.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_details.au_becs_debit.last4nullable string

        Last four digits of the bank account number.

      • payment_method_details.au_becs_debit.mandatenullable string

        ID of the mandate used to make this payment.

    • payment_method_details.bacs_debitnullable Map

      If this is a bacs_debit payment, this hash contains a snapshot of the transaction specific details of the bacs_debit payment method.

      • payment_method_details.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_details.bacs_debit.last4nullable string

        Last four digits of the bank account number.

      • payment_method_details.bacs_debit.mandatenullable string

        ID of the mandate used to make this payment.

      • payment_method_details.bacs_debit.sort_codenullable string

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

    • payment_method_details.bancontactnullable Map

      If this is a bancontact payment, this hash contains a snapshot of the transaction specific details of the bancontact payment method.

      • payment_method_details.bancontact.bank_codenullable string

        Bank code of bank associated with the bank account.

      • payment_method_details.bancontact.bank_namenullable string

        Name of the bank associated with the bank account.

      • payment_method_details.bancontact.bicnullable string

        Bank Identifier Code of the bank associated with the bank account.

      • payment_method_details.bancontact.generated_sepa_debitnullable stringExpandable

        The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.

      • payment_method_details.bancontact.generated_sepa_debit_mandatenullable stringExpandable

        The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.

      • payment_method_details.bancontact.iban_last4nullable string

        Last four characters of the IBAN.

      • payment_method_details.bancontact.preferred_languagenullable enum

        Preferred language of the Bancontact authorization page that the customer is redirected to. Can be one of en, de, fr, or nl

        Possible enum values
        de
        en
        fr
        nl
      • payment_method_details.bancontact.verified_namenullable string

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

    • payment_method_details.billienullable Map

      If this is a billie payment, this hash contains a snapshot of the transaction specific details of the billie payment method.

      • payment_method_details.billie.transaction_idnullable string

        The Billie transaction ID associated with this payment.

    • payment_method_details.bliknullable MapPreview feature

      If this is a blik payment, this hash contains a snapshot of the transaction specific details of the blik payment method.

      • payment_method_details.blik.buyer_idnullable string

        A unique and immutable identifier assigned by BLIK to every buyer.

    • payment_method_details.boletonullable Map

      If this is a boleto payment, this hash contains a snapshot of the transaction specific details of the boleto payment method.

      • payment_method_details.boleto.tax_idstring

        The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)

    • payment_method_details.cardnullable Map

      If this is a card payment, this hash contains a snapshot of the transaction specific details of the card payment method.

      • payment_method_details.card.amount_authorizednullable integer

        The authorized amount.

      • payment_method_details.card.authorization_codenullable string

        Authorization code on the charge.

      • payment_method_details.card.brandnullable string

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

      • payment_method_details.card.capture_beforenullable timestamp

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

      • payment_method_details.card.checksnullable Map

        Check results by Card networks on Card address and CVC at time of payment.

        • payment_method_details.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_details.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_details.card.checks.cvc_checknullable string

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

      • payment_method_details.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_details.card.exp_monthinteger

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

      • payment_method_details.card.exp_yearinteger

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

      • payment_method_details.card.extended_authorizationnullable Map

        Whether the capture window of this charge is extended.

        • payment_method_details.card.extended_authorization.statusenum

          Indicates whether or not the capture window is extended beyond the standard authorization.

          Possible enum values
          disabled

          The capture window of the charge is not extended.

          enabled

          The capture window of the charge is extended.

      • payment_method_details.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_details.card.fundingnullable string

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

      • payment_method_details.card.incremental_authorizationnullable Map

        Whether the authorized amount can be incremented or not.

        • payment_method_details.card.incremental_authorization.statusenum

          Indicates whether or not the incremental authorization feature is supported.

          Possible enum values
          available

          Incremental authorization is supported.

          unavailable

          Incremental authorization is not supported.

      • payment_method_details.card.installmentsnullable Map

        Installment details for this payment.

        For more information, see the installments integration guide.

        • payment_method_details.card.installments.plannullable Map

          Installment plan selected for the payment.

          • payment_method_details.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_details.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_details.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_details.card.last4nullable string

        The last four digits of the card.

      • payment_method_details.card.mandatenullable string

        ID of the mandate used to make this payment or created by it.

      • payment_method_details.card.multicapturenullable Map

        Information about the multicapture capability of the payment method.

        • payment_method_details.card.multicapture.statusenum

          Indicates whether or not multiple captures are supported.

          Possible enum values
          available

          Multiple captures are supported.

          unavailable

          Multiple captures are not supported.

      • payment_method_details.card.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_details.card.network_tokennullable MapPreview feature

        If this card has network token credentials, this contains the details of the network token credentials.

        • payment_method_details.card.network_token.usedboolean

          Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.

      • payment_method_details.card.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_details.card.overcapturenullable Map

        Whether the authorized amount can be over-captured or not.

        • payment_method_details.card.overcapture.maximum_amount_capturableinteger

          The maximum amount that can be captured.

        • payment_method_details.card.overcapture.statusenum

          Indicates whether or not the authorized amount can be over-captured.

          Possible enum values
          available

          The authorized amount can be over-captured.

          unavailable

          The authorized amount can’t be over-captured.

      • payment_method_details.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_details.card.three_d_securenullable Map

        Populated if this transaction used 3D Secure authentication.

        • payment_method_details.card.three_d_secure.authentication_flownullable enum

          For authenticated transactions: how the customer was authenticated by the issuing bank.

          Possible enum values
          challenge

          The issuing bank authenticated the customer by presenting a traditional challenge window.

          frictionless

          The issuing bank authenticated the customer via the 3DS2 frictionless flow.

        • payment_method_details.card.three_d_secure.electronic_commerce_indicatornullable enum

          The Electronic Commerce Indicator (ECI). A protocol-level field indicating what degree of authentication was performed.

          Possible enum values
          01

          Mastercard variant: Attempt acknowledged.

          02

          Mastercard variant: Fully authenticated.

          05

          Fully authenticated. The customer likely proved their identity to the issuing bank.

          06

          Attempt acknowledged. The customer, or the entire issuing bank, is not set up for 3D Secure. Or the issuing bank is experiencing an outage.

          Mastercard variant: Acquirer SCA exemption.

          07

          Mastercard variant: Fully authenticated recurring transaction.

        • payment_method_details.card.three_d_secure.exemption_indicatornullable enum

          The exemption requested via 3DS and accepted by the issuer at authentication time.

          Possible enum values
          low_risk

          Transaction Risk Analysis (TRA) was performed, a low risk exemption was requested via 3DS and granted by the issuer.

          none

          No exemption was requested via 3DS; or, if requested, it was not granted by the issuer.

        • payment_method_details.card.three_d_secure.exemption_indicator_appliednullable boolean

          Whether Stripe requested the value of exemption_indicator in the transaction. This will depend on the outcome of Stripe’s internal risk assessment.

        • payment_method_details.card.three_d_secure.resultnullable enum

          Indicates the outcome of 3D Secure authentication.

          Possible enum values
          attempt_acknowledged

          The issuing bank does not support 3D Secure, has not set up 3D Secure for the card, or is experiencing an outage. No authentication was performed, but the card network has provided proof of the attempt.

          In most cases the attempt qualifies for liability shift and it is safe to make a charge.

          authenticated

          3D Secure authentication succeeded.

          exempted

          A 3D Secure exemption has been applied to this transaction. Exemption may be requested for a number of reasons including merchant initiation, low value, or low risk.

          failed

          The customer failed 3D Secure authentication.

          not_supported

          3D Secure authentication cannot be run on this card. Liability will generally not be shifted to the issuer.

          processing_error

          The issuing bank’s 3D Secure system is temporarily unavailable and the card network is unable to provide proof of the attempt. Liability will generally not be shifted to the issuer.

        • payment_method_details.card.three_d_secure.result_reasonnullable enum

          Additional information about why 3D Secure succeeded or failed based on the result.

          Possible enum values
          abandoned

          For failed. The transaction timed out: the cardholder dropped off before completing authentication.

          bypassed

          For processing_error. Stripe bypassed 3D Secure because the issuing bank’s web-facing server was returning errors or timeouts to customers in the challenge window.

          canceled

          For failed. The cardholder canceled authentication (where possible to identify).

          card_not_enrolled

          For not_supported. The issuing bank does not support 3D Secure or has not set up 3D Secure for the card, and the card network did not provide proof of the attempt.

          This occurs when running 3D Secure on certain kinds of prepaid cards and in rare cases where the issuing bank is exempt from the requirement to support 3D Secure.

          network_not_supported

          For not_supported. Stripe does not support 3D Secure on this card network.

          protocol_error

          For processing_error. An invalid message was received from the card network or issuing bank. (Includes “downgrades” and similar errors).

          rejected

          For failed. The cardholder was redirected back from the issuing bank without completing authentication.

        • payment_method_details.card.three_d_secure.transaction_idnullable string

          The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID (dsTransId) for this payment.

        • payment_method_details.card.three_d_secure.versionnullable enum

          The version of 3D Secure that was used.

      • payment_method_details.card.walletnullable Map

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

        • payment_method_details.card.wallet.amex_express_checkoutnullable Map

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

        • payment_method_details.card.wallet.apple_paynullable Map

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

          • payment_method_details.card.wallet.apple_pay.typeenumPreview feature

            Type of the apple_pay transaction, one of apple_pay or apple_pay_later.

            Possible enum values
            apple_pay
            apple_pay_later
        • payment_method_details.card.wallet.dynamic_last4nullable string

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

        • payment_method_details.card.wallet.google_paynullable Map

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

        • payment_method_details.card.wallet.linknullable Map

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

        • payment_method_details.card.wallet.masterpassnullable Map

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

          • payment_method_details.card.wallet.masterpass.billing_addressnullable Map

            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_details.card.wallet.masterpass.billing_address.citynullable string

              City, district, suburb, town, or village.

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

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

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

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

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

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

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

              ZIP or postal code.

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

              State, county, province, or region.

          • payment_method_details.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_details.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_details.card.wallet.masterpass.shipping_addressnullable Map

            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_details.card.wallet.masterpass.shipping_address.citynullable string

              City, district, suburb, town, or village.

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

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

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

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

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

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

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

              ZIP or postal code.

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

              State, county, province, or region.

        • payment_method_details.card.wallet.samsung_paynullable Map

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

        • payment_method_details.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_details.card.wallet.visa_checkoutnullable Map

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

          • payment_method_details.card.wallet.visa_checkout.billing_addressnullable Map

            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_details.card.wallet.visa_checkout.billing_address.citynullable string

              City, district, suburb, town, or village.

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

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

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

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

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

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

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

              ZIP or postal code.

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

              State, county, province, or region.

          • payment_method_details.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_details.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_details.card.wallet.visa_checkout.shipping_addressnullable Map

            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_details.card.wallet.visa_checkout.shipping_address.citynullable string

              City, district, suburb, town, or village.

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

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

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

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

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

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

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

              ZIP or postal code.

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

              State, county, province, or region.

    • payment_method_details.card_presentnullable Map

      If this is a card_present payment, this hash contains a snapshot of the transaction specific details of the card_present payment method.

      • payment_method_details.card_present.amount_authorizednullable integer

        The authorized amount

      • 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_details.card_present.brand_productnullable string

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

      • 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_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_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_details.card_present.descriptionnullable string

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

      • payment_method_details.card_present.emv_auth_datanullable string

        Authorization response cryptogram.

      • payment_method_details.card_present.exp_monthinteger

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

      • payment_method_details.card_present.exp_yearinteger

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

      • 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_details.card_present.fundingnullable string

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

      • 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_details.card_present.incremental_authorization_supportedboolean

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

      • payment_method_details.card_present.issuernullable string

        The name of the card’s issuing bank.

      • payment_method_details.card_present.last4nullable string

        The last four digits of the card.

      • 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_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_details.card_present.offlinenullable Map

        Details about payments collected offline.

        • payment_method_details.card_present.offline.stored_atnullable timestamp

          Time at which the payment was collected while offline

        • 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_details.card_present.overcapture_supportedboolean

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

      • 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_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_details.card_present.receiptnullable Map

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

        • 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_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_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_details.card_present.receipt.authorization_codenullable string

          Identifier for this transaction.

        • payment_method_details.card_present.receipt.authorization_response_codenullable string

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

        • 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_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_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_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_details.card_present.walletnullable Map

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

        • 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_details.cashappnullable Map

      If this is a cashapp payment, this hash contains a snapshot of the transaction specific details of the cashapp payment method.

      • payment_method_details.cashapp.buyer_idnullable string

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

      • payment_method_details.cashapp.cashtagnullable string

        A public identifier for buyers using Cash App.

      • payment_method_details.cashapp.transaction_idnullable string

        A unique and immutable identifier of payments assigned by Cash App

    • payment_method_details.cryptonullable Map

      If this is a crypto payment, this hash contains a snapshot of the transaction specific details of the crypto payment method.

      • payment_method_details.crypto.buyer_addressnullable string

        The wallet address of the customer.

      • payment_method_details.crypto.networknullable enum

        The blockchain network that the transaction was sent on.

        Possible enum values
        base

        Base

        ethereum

        Ethereum

        polygon

        Polygon

      • payment_method_details.crypto.token_currencynullable enum

        The token currency that the transaction was sent with.

        Possible enum values
        usdc

        USDC

        usdg

        USDG

        usdp

        USDP

      • payment_method_details.crypto.transaction_hashnullable string

        The blockchain transaction hash of the crypto payment.

    • payment_method_details.customer_balancenullable Map

      If this is a customer_balance payment, this hash contains a snapshot of the transaction specific details of the customer_balance payment method.

    • payment_method_details.epsnullable Map

      If this is a eps payment, this hash contains a snapshot of the transaction specific details of the eps payment method.

      • payment_method_details.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_details.eps.verified_namenullable string

        Owner’s verified full name. Values are verified or provided by EPS directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. EPS rarely provides this information so the attribute is usually empty.

    • payment_method_details.fpxnullable Map

      If this is a fpx payment, this hash contains a snapshot of the transaction specific details of the fpx payment method.

      • payment_method_details.fpx.bankenum

        The customer’s bank. 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_details.fpx.transaction_idnullable string

        Unique transaction id generated by FPX for every request from the merchant

    • payment_method_details.giropaynullable Map

      If this is a giropay payment, this hash contains a snapshot of the transaction specific details of the giropay payment method.

      • payment_method_details.giropay.bank_codenullable string

        Bank code of bank associated with the bank account.

      • payment_method_details.giropay.bank_namenullable string

        Name of the bank associated with the bank account.

      • payment_method_details.giropay.bicnullable string

        Bank Identifier Code of the bank associated with the bank account.

      • payment_method_details.giropay.verified_namenullable string

        Owner’s verified full name. Values are verified or provided by Giropay directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. Giropay rarely provides this information so the attribute is usually empty.

    • payment_method_details.grabpaynullable Map

      If this is a grabpay payment, this hash contains a snapshot of the transaction specific details of the grabpay payment method.

      • payment_method_details.grabpay.transaction_idnullable string

        Unique transaction id generated by GrabPay

    • payment_method_details.idealnullable Map

      If this is a ideal payment, this hash contains a snapshot of the transaction specific details of the ideal payment method.

      • payment_method_details.ideal.banknullable enum

        The customer’s bank. 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_details.ideal.bicnullable enum

        The Bank Identifier Code of the customer’s bank.

        Possible enum values
        ABNANL2A
        ASNBNL21
        BITSNL2A
        BUNQNL2A
        BUUTNL2A
        FVLBNL22
        HANDNL2A
        INGBNL2A
        KNABNL2H
        MOYONL21
        Show 8 more
      • payment_method_details.ideal.generated_sepa_debitnullable stringExpandable

        The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.

      • payment_method_details.ideal.generated_sepa_debit_mandatenullable stringExpandable

        The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.

      • payment_method_details.ideal.iban_last4nullable string

        Last four characters of the IBAN.

      • payment_method_details.ideal.verified_namenullable string

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

    • payment_method_details.interac_presentnullable MapPreview feature

      If this is a interac_present payment, this hash contains a snapshot of the transaction specific details of the interac_present payment method.

      • payment_method_details.interac_present.brandnullable string

        Card brand. Can be interac, mastercard or visa.

      • payment_method_details.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_details.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_details.interac_present.descriptionnullable string

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

      • payment_method_details.interac_present.emv_auth_datanullable string

        Authorization response cryptogram.

      • payment_method_details.interac_present.exp_monthinteger

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

      • payment_method_details.interac_present.exp_yearinteger

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

      • payment_method_details.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_details.interac_present.fundingnullable string

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

      • payment_method_details.interac_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_details.interac_present.issuernullable string

        The name of the card’s issuing bank.

      • payment_method_details.interac_present.last4nullable string

        The last four digits of the card.

      • payment_method_details.interac_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_details.interac_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_details.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_details.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_details.interac_present.receiptnullable Map

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

        • payment_method_details.interac_present.receipt.account_typenullable enum

          The type of account being debited or credited

          Possible enum values
          checking

          A checking account, as selected on the reader

          savings

          A savings account, as selected on the reader

          unknown

          An unknown account

        • payment_method_details.interac_present.receipt.application_cryptogramnullable string

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

        • payment_method_details.interac_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_details.interac_present.receipt.authorization_codenullable string

          Identifier for this transaction.

        • payment_method_details.interac_present.receipt.authorization_response_codenullable string

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

        • payment_method_details.interac_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_details.interac_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_details.interac_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_details.interac_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_details.kakao_paynullable Map

      If this is a kakao_pay payment, this hash contains a snapshot of the transaction specific details of the kakao_pay payment method.

      • payment_method_details.kakao_pay.buyer_idnullable string

        A unique identifier for the buyer as determined by the local payment processor.

      • payment_method_details.kakao_pay.transaction_idnullable string

        The Kakao Pay transaction ID associated with this payment.

    • payment_method_details.klarnanullable Map

      If this is a klarna payment, this hash contains a snapshot of the transaction specific details of the klarna payment method.

      • payment_method_details.klarna.payer_detailsnullable Map

        The payer details for this transaction.

        • payment_method_details.klarna.payer_details.addressnullable Map

          The payer’s address

          • payment_method_details.klarna.payer_details.address.countrynullable string

            The payer address country

      • payment_method_details.klarna.payment_method_categorynullable string

        The Klarna payment method used for this transaction. Can be one of pay_later, pay_now, pay_with_financing, or pay_in_installments

      • payment_method_details.klarna.preferred_localenullable string

        Preferred language of the Klarna authorization page that the customer is redirected to. Can be one of de-AT, en-AT, nl-BE, fr-BE, en-BE, de-DE, en-DE, da-DK, en-DK, es-ES, en-ES, fi-FI, sv-FI, en-FI, en-GB, en-IE, it-IT, en-IT, nl-NL, en-NL, nb-NO, en-NO, sv-SE, en-SE, en-US, es-US, fr-FR, en-FR, cs-CZ, en-CZ, ro-RO, en-RO, el-GR, en-GR, en-AU, en-NZ, en-CA, fr-CA, pl-PL, en-PL, pt-PT, en-PT, de-CH, fr-CH, it-CH, or en-CH

    • payment_method_details.konbininullable Map

      If this is a konbini payment, this hash contains a snapshot of the transaction specific details of the konbini payment method.

      • payment_method_details.konbini.storenullable Map

        If the payment succeeded, this contains the details of the convenience store where the payment was completed.

        • payment_method_details.konbini.store.chainnullable enum

          The name of the convenience store chain where the payment was completed.

          Possible enum values
          familymart
          lawson
          ministop
          seicomart
    • payment_method_details.kr_cardnullable Map

      If this is a kr_card payment, this hash contains a snapshot of the transaction specific details of the kr_card payment method.

      • payment_method_details.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_details.kr_card.buyer_idnullable string

        A unique identifier for the buyer as determined by the local payment processor.

      • payment_method_details.kr_card.last4nullable string

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

      • payment_method_details.kr_card.transaction_idnullable string

        The Korean Card transaction ID associated with this payment.

    • payment_method_details.linknullable Map

      If this is a link payment, this hash contains a snapshot of the transaction specific details of the link payment method.

      • payment_method_details.link.countrynullable string

        Two-letter ISO code representing the funding source country beneath the Link payment. You could use this attribute to get a sense of international fees.

    • payment_method_details.mobilepaynullable Map

      If this is a mobilepay payment, this hash contains a snapshot of the transaction specific details of the mobilepay payment method.

      • payment_method_details.mobilepay.cardnullable Map

        Internal card details

        • payment_method_details.mobilepay.card.brandnullable string

          Brand of the card used in the transaction

        • payment_method_details.mobilepay.card.countrynullable string

          Two-letter ISO code representing the country of the card

        • payment_method_details.mobilepay.card.exp_monthnullable integer

          Two digit number representing the card’s expiration month

        • payment_method_details.mobilepay.card.exp_yearnullable integer

          Two digit number representing the card’s expiration year

        • payment_method_details.mobilepay.card.last4nullable string

          The last 4 digits of the card

    • payment_method_details.multibanconullable Map

      If this is a multibanco payment, this hash contains a snapshot of the transaction specific details of the multibanco payment method.

      • payment_method_details.multibanco.entitynullable string

        Entity number associated with this Multibanco payment.

      • payment_method_details.multibanco.referencenullable string

        Reference number associated with this Multibanco payment.

    • payment_method_details.naver_paynullable Map

      If this is a naver_pay payment, this hash contains a snapshot of the transaction specific details of the naver_pay payment method.

      • payment_method_details.naver_pay.buyer_idnullable string

        A unique identifier for the buyer as determined by the local payment processor.

      • payment_method_details.naver_pay.transaction_idnullable string

        The Naver Pay transaction ID associated with this payment.

    • payment_method_details.nz_bank_accountnullable Map

      If this is a nz_bank_account payment, this hash contains a snapshot of the transaction specific details of the nz_bank_account payment method.

      • payment_method_details.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_details.nz_bank_account.bank_codestring

        The numeric code for the bank account’s bank.

      • payment_method_details.nz_bank_account.bank_namestring

        The name of the bank.

      • payment_method_details.nz_bank_account.branch_codestring

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

      • payment_method_details.nz_bank_account.last4string

        Last four digits of the bank account number.

      • payment_method_details.nz_bank_account.suffixnullable string

        The suffix of the bank account number.

    • payment_method_details.oxxonullable Map

      If this is a oxxo payment, this hash contains a snapshot of the transaction specific details of the oxxo payment method.

      • payment_method_details.oxxo.numbernullable string

        OXXO reference number

    • payment_method_details.p24nullable Map

      If this is a p24 payment, this hash contains a snapshot of the transaction specific details of the p24 payment method.

      • payment_method_details.p24.banknullable enum

        The customer’s bank. Can be one of ing, citi_handlowy, tmobile_usbugi_bankowe, plus_bank, etransfer_pocztowy24, banki_spbdzielcze, bank_nowy_bfg_sa, getin_bank, velobank, blik, noble_pay, ideabank, envelobank, santander_przelew24, nest_przelew, mbank_mtransfer, inteligo, pbac_z_ipko, bnp_paribas, credit_agricole, toyota_bank, bank_pekao_sa, volkswagen_bank, bank_millennium, alior_bank, or boz.

        Possible enum values
        alior_bank
        bank_millennium
        bank_nowy_bfg_sa
        bank_pekao_sa
        banki_spbdzielcze
        blik
        bnp_paribas
        boz
        citi_handlowy
        credit_agricole
        Show 16 more
      • payment_method_details.p24.referencenullable string

        Unique reference for this Przelewy24 payment.

      • payment_method_details.p24.verified_namenullable string

        Owner’s verified full name. Values are verified or provided by Przelewy24 directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. Przelewy24 rarely provides this information so the attribute is usually empty.

    • payment_method_details.pay_by_banknullable Map

      If this is a pay_by_bank payment, this hash contains a snapshot of the transaction specific details of the pay_by_bank payment method.

    • payment_method_details.payconullable Map

      If this is a payco payment, this hash contains a snapshot of the transaction specific details of the payco payment method.

      • payment_method_details.payco.buyer_idnullable string

        A unique identifier for the buyer as determined by the local payment processor.

      • payment_method_details.payco.transaction_idnullable string

        The Payco transaction ID associated with this payment.

    • payment_method_details.paynownullable Map

      If this is a paynow payment, this hash contains a snapshot of the transaction specific details of the paynow payment method.

      • payment_method_details.paynow.locationnullable stringPreview feature

        ID of the location that this transaction’s reader is assigned to.

      • payment_method_details.paynow.readernullable stringPreview feature

        ID of the reader this transaction was made on.

      • payment_method_details.paynow.referencenullable string

        Reference number associated with this PayNow payment

    • payment_method_details.paypalnullable Map

      If this is a paypal payment, this hash contains a snapshot of the transaction specific details of the paypal payment method.

      • payment_method_details.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_details.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_details.paypal.payer_idnullable string

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

      • payment_method_details.paypal.payer_namenullable string

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

      • payment_method_details.paypal.seller_protectionnullable Map

        The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.

        • payment_method_details.paypal.seller_protection.dispute_categoriesnullable array of enums

          An array of conditions that are covered for the transaction, if applicable.

          Possible enum values
          fraudulent

          The payer did not authorize the payment.

          product_not_received

          The payer paid for an item that they did not receive.

        • payment_method_details.paypal.seller_protection.statusenum

          Indicates whether the transaction is eligible for PayPal’s seller protection.

          Possible enum values
          eligible

          Your balance remains intact if the customer claims that they did not receive an item or the account holder claims that they did not authorize the payment.

          not_eligible

          This transaction is not eligible for seller protection.

          partially_eligible

          Your balance remains intact if the customer claims that they did not receive an item.

      • payment_method_details.paypal.transaction_idnullable string

        A unique ID generated by PayPal for this transaction.

    • payment_method_details.pixnullable MapPreview feature

      If this is a pix payment, this hash contains a snapshot of the transaction specific details of the pix payment method.

      • payment_method_details.pix.bank_transaction_idnullable stringPreview feature

        Unique transaction id generated by BCB

    • payment_method_details.promptpaynullable Map

      If this is a promptpay payment, this hash contains a snapshot of the transaction specific details of the promptpay payment method.

      • payment_method_details.promptpay.referencenullable string

        Bill reference generated by PromptPay

    • payment_method_details.revolut_paynullable Map

      If this is a revolut_pay payment, this hash contains a snapshot of the transaction specific details of the revolut_pay payment method.

      • payment_method_details.revolut_pay.fundingnullable Map

        the funding details of the underlying payment method.

        • payment_method_details.revolut_pay.funding.cardnullable Map

          the funding details of the passthrough card.

          • payment_method_details.revolut_pay.funding.card.brandnullable string

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

          • payment_method_details.revolut_pay.funding.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_details.revolut_pay.funding.card.exp_monthnullable integer

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

          • payment_method_details.revolut_pay.funding.card.exp_yearnullable integer

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

          • payment_method_details.revolut_pay.funding.card.fundingnullable string

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

          • payment_method_details.revolut_pay.funding.card.last4nullable string

            The last four digits of the card.

        • payment_method_details.revolut_pay.funding.typenullable enum

          funding type of the underlying payment method.

      • payment_method_details.revolut_pay.transaction_idnullable string

        The Revolut Pay transaction ID associated with this payment.

    • payment_method_details.samsung_paynullable Map

      If this is a samsung_pay payment, this hash contains a snapshot of the transaction specific details of the samsung_pay payment method.

      • payment_method_details.samsung_pay.buyer_idnullable string

        A unique identifier for the buyer as determined by the local payment processor.

      • payment_method_details.samsung_pay.transaction_idnullable string

        The Samsung Pay transaction ID associated with this payment.

    • payment_method_details.satispaynullable Map

      If this is a satispay payment, this hash contains a snapshot of the transaction specific details of the satispay payment method.

      • payment_method_details.satispay.transaction_idnullable string

        The Satispay transaction ID associated with this payment.

    • payment_method_details.sepa_debitnullable Map

      If this is a sepa_debit payment, this hash contains a snapshot of the transaction specific details of the sepa_debit payment method.

      • payment_method_details.sepa_debit.bank_codenullable string

        Bank code of bank associated with the bank account.

      • payment_method_details.sepa_debit.branch_codenullable string

        Branch code of bank associated with the bank account.

      • payment_method_details.sepa_debit.countrynullable string

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

      • payment_method_details.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_details.sepa_debit.last4nullable string

        Last four characters of the IBAN.

      • payment_method_details.sepa_debit.mandatenullable string

        Find the ID of the mandate used for this payment under the payment_method_details.sepa_debit.mandate property on the Charge. Use this mandate ID to retrieve the Mandate.

    • payment_method_details.sofortnullable Map

      If this is a sofort payment, this hash contains a snapshot of the transaction specific details of the sofort payment method.

      • payment_method_details.sofort.bank_codenullable string

        Bank code of bank associated with the bank account.

      • payment_method_details.sofort.bank_namenullable string

        Name of the bank associated with the bank account.

      • payment_method_details.sofort.bicnullable string

        Bank Identifier Code of the bank associated with the bank account.

      • payment_method_details.sofort.countrynullable string

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

      • payment_method_details.sofort.generated_sepa_debitnullable stringExpandable

        The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.

      • payment_method_details.sofort.generated_sepa_debit_mandatenullable stringExpandable

        The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.

      • payment_method_details.sofort.iban_last4nullable string

        Last four characters of the IBAN.

      • payment_method_details.sofort.preferred_languagenullable enum

        Preferred language of the SOFORT authorization page that the customer is redirected to. Can be one of de, en, es, fr, it, nl, or pl

        Possible enum values
        de
        en
        es
        fr
        it
        nl
        pl
      • payment_method_details.sofort.verified_namenullable string

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

    • payment_method_details.stripe_accountnullable Map

      If this is a stripe_account payment, this hash contains a snapshot of the transaction specific details of the stripe_account payment method.

    • payment_method_details.swishnullable Map

      If this is a swish payment, this hash contains a snapshot of the transaction specific details of the swish payment method.

      • payment_method_details.swish.fingerprintnullable string

        Uniquely identifies the payer’s Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer

      • payment_method_details.swish.payment_referencenullable string

        Payer bank reference number for the payment

      • payment_method_details.swish.verified_phone_last4nullable string

        The last four digits of the Swish account phone number

    • payment_method_details.twintnullable Map

      If this is a twint payment, this hash contains a snapshot of the transaction specific details of the twint payment method.

    • payment_method_details.typestring

      The type of transaction-specific details of the payment method used in the payment. See PaymentMethod.type for the full list of possible types. An additional hash is included on payment_method_details with a name matching this value. It contains information specific to the payment method.

    • payment_method_details.us_bank_accountnullable Map

      If this is a us_bank_account payment, this hash contains a snapshot of the transaction specific details of the us_bank_account payment method.

      • payment_method_details.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_details.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_details.us_bank_account.bank_namenullable string

        Name of the bank associated with the bank account.

      • payment_method_details.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_details.us_bank_account.last4nullable string

        Last four digits of the bank account number.

      • payment_method_details.us_bank_account.mandatenullable stringExpandable

        ID of the mandate used to make this payment.

      • payment_method_details.us_bank_account.payment_referencenullable string

        Reference number to locate ACH payments with customer’s bank.

      • payment_method_details.us_bank_account.routing_numbernullable string

        Routing number of the bank account.

    • payment_method_details.wechatnullable Map

      If this is a wechat payment, this hash contains a snapshot of the transaction specific details of the wechat payment method.

    • payment_method_details.wechat_paynullable Map

      If this is a wechat_pay payment, this hash contains a snapshot of the transaction specific details of the wechat_pay payment method.

      • payment_method_details.wechat_pay.fingerprintnullable string

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

      • payment_method_details.wechat_pay.locationnullable stringPreview feature

        ID of the location that this transaction’s reader is assigned to.

      • payment_method_details.wechat_pay.readernullable stringPreview feature

        ID of the reader this transaction was made on.

      • payment_method_details.wechat_pay.transaction_idnullable string

        Transaction ID of this particular WeChat Pay transaction.

    • payment_method_details.zipnullable Map

      If this is a zip payment, this hash contains a snapshot of the transaction specific details of the zip payment method.

  • receipt_emailnullable string

    This is the email address that the receipt for this charge was sent to.

  • refundedboolean

    Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.

  • shippingnullable Map

    Shipping information for the charge.

    • shipping.addressMap

      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.carriernullable string

      The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.

    • shipping.namestring

      Recipient name.

    • shipping.phonenullable string

      Recipient phone (including extension).

    • shipping.tracking_numbernullable string

      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_descriptornullable string

    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.

    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_suffixnullable string

    Provides information about a card charge. Concatenated to the account’s statement descriptor prefix 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.

  • statusenum

    The status of the payment is either succeeded, pending, or failed.

More attributes

  • objectstring

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

  • amount_capturedinteger

    Amount in cents captured (can be less than the amount attribute on the charge if a partial capture was made).

  • amount_refundedinteger

    Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was issued).

  • applicationnullable stringExpandableConnect only

    ID of the Connect application that created the charge.

  • application_feenullable stringExpandableConnect only

    The application fee (if any) for the charge. See the Connect documentation for details.

  • application_fee_amountnullable integerConnect only

    The amount of the application fee (if any) requested for the charge. See the Connect documentation for details.

  • calculated_statement_descriptornullable string

    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.

  • capturedboolean

    If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.

  • createdtimestamp

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

  • failure_balance_transactionnullable stringExpandable

    ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.

  • failure_codenullable string

    Error code explaining reason for charge failure if available (see the errors section for a list of codes).

  • failure_messagenullable string

    Message to user further explaining reason for charge failure if available.

  • fraud_detailsnullable Map

    Information on fraud assessments for the charge.

    • fraud_details.stripe_reportnullable string

      Assessments from Stripe. If set, the value is fraudulent.

    • fraud_details.user_reportnullable string

      Assessments reported by you. If set, possible values of are safe and fraudulent.

  • livemodeboolean

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

  • on_behalf_ofnullable stringExpandableConnect only

    The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the Connect documentation for details.

  • outcomenullable Map

    Details about whether the payment was accepted, and why. See understanding declines for details.

    • outcome.advice_codenullable enum

      An enumerated value providing a more detailed explanation on how to proceed with an error.

      Possible enum values
      confirm_card_data
      do_not_try_again
      try_again_later
    • outcome.network_advice_codenullable string

      For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.

    • outcome.network_decline_codenullable string

      For charges declined by the network, an alphanumeric code which indicates the reason the charge failed.

    • outcome.network_statusnullable string

      Possible values are approved_by_network, declined_by_network, not_sent_to_network, and reversed_after_approval. The value reversed_after_approval indicates the payment was blocked by Stripe after bank authorization, and may temporarily appear as “pending” on a cardholder’s statement.

    • outcome.reasonnullable string

      An enumerated value providing a more detailed explanation of the outcome’s type. Charges blocked by Radar’s default block rule have the value highest_risk_level. Charges placed in review by Radar’s default review rule have the value elevated_risk_level. Charges blocked because the payment is unlikely to be authorized have the value low_probability_of_authorization. Charges authorized, blocked, or placed in review by custom rules have the value rule. See understanding declines for more details.

    • outcome.risk_levelnullable string

      Stripe Radar’s evaluation of the riskiness of the payment. Possible values for evaluated payments are normal, elevated, highest. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value not_assessed. In the event of an error in the evaluation, this field will have the value unknown. This field is only available with Radar.

    • outcome.risk_scorenullable integer

      Stripe Radar’s evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams.

    • outcome.rulenullable stringExpandable

      The ID of the Radar rule that matched the payment, if applicable.

    • outcome.seller_messagenullable string

      A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.

    • outcome.typestring

      Possible values are authorized, manual_review, issuer_declined, blocked, and invalid. See understanding declines and Radar reviews for details.

  • paidboolean

    true if the charge succeeded, or was successfully authorized for later capture.

  • payment_methodnullable string

    ID of the payment method used in this charge.

  • presentment_detailsnullable Map

    A hash containing information about the currency presentation to the customer, including the displayed currency and amount used for conversion from the integration currency.

    • presentment_details.presentment_amountinteger

      Amount intended to be collected by this payment, denominated in presentment_currency.

    • presentment_details.presentment_currencystring

      Currency presented to the customer during payment.

  • radar_optionsnullable Map

    Options to configure Radar. See Radar Session for more information.

    • radar_options.sessionnullable string

      A Radar Session is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.

  • receipt_numbernullable string

    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_urlnullable string

    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.

  • refundsnullable MapExpandable

    A list of refunds that have been applied to the charge.

    • refunds.objectstring

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

    • refunds.dataarray of Maps

      Details about each object.

      • refunds.data.idstring

        Unique identifier for the object.

      • refunds.data.objectstring

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

      • refunds.data.amountinteger

        Amount, in cents.

      • refunds.data.balance_transactionnullable stringExpandable

        Balance transaction that describes the impact on your account balance.

      • refunds.data.chargenullable stringExpandable

        ID of the charge that’s refunded.

      • refunds.data.createdtimestamp

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

      • refunds.data.currencyenum

        Three-letter ISO currency code, in lowercase. Must be a supported currency.

      • refunds.data.descriptionnullable string

        An arbitrary string attached to the object. You can use this for displaying to users (available on non-card refunds only).

      • refunds.data.destination_detailsnullable Map

        Transaction-specific details for the refund.

        • refunds.data.destination_details.affirmnullable Map

          If this is a affirm refund, this hash contains the transaction specific details of the affirm refund method.

        • refunds.data.destination_details.afterpay_clearpaynullable Map

          If this is a afterpay_clearpay refund, this hash contains the transaction specific details of the afterpay_clearpay refund method.

        • refunds.data.destination_details.alipaynullable Map

          If this is a alipay refund, this hash contains the transaction specific details of the alipay refund method.

        • refunds.data.destination_details.almanullable Map

          If this is a alma refund, this hash contains the transaction specific details of the alma refund method.

        • refunds.data.destination_details.amazon_paynullable Map

          If this is a amazon_pay refund, this hash contains the transaction specific details of the amazon_pay refund method.

        • refunds.data.destination_details.au_bank_transfernullable Map

          If this is a au_bank_transfer refund, this hash contains the transaction specific details of the au_bank_transfer refund method.

        • refunds.data.destination_details.bliknullable MapPreview feature

          If this is a blik refund, this hash contains the transaction specific details of the blik refund method.

          • refunds.data.destination_details.blik.network_decline_codenullable string

            For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.

          • refunds.data.destination_details.blik.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.blik.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.br_bank_transfernullable Map

          If this is a br_bank_transfer refund, this hash contains the transaction specific details of the br_bank_transfer refund method.

          • refunds.data.destination_details.br_bank_transfer.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.br_bank_transfer.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.cardnullable Map

          If this is a card refund, this hash contains the transaction specific details of the card refund method.

          • refunds.data.destination_details.card.referencenullable string

            Value of the reference number assigned to the refund.

          • refunds.data.destination_details.card.reference_statusnullable string

            Status of the reference number on the refund. This can be pending, available or unavailable.

          • refunds.data.destination_details.card.reference_typenullable string

            Type of the reference number assigned to the refund.

          • refunds.data.destination_details.card.typeenum

            The type of refund. This can be refund, reversal, or pending.

            Possible enum values
            pending

            The refund is still processing and its type is not confirmed yet.

            refund

            The refund will show as a credit entry on the bank statement.

            reversal

            The refund goes through as a reversal. The original charge will drop off the bank statement altogether.

        • refunds.data.destination_details.cashappnullable Map

          If this is a cashapp refund, this hash contains the transaction specific details of the cashapp refund method.

        • refunds.data.destination_details.customer_cash_balancenullable Map

          If this is a customer_cash_balance refund, this hash contains the transaction specific details of the customer_cash_balance refund method.

        • refunds.data.destination_details.epsnullable Map

          If this is a eps refund, this hash contains the transaction specific details of the eps refund method.

        • refunds.data.destination_details.eu_bank_transfernullable Map

          If this is a eu_bank_transfer refund, this hash contains the transaction specific details of the eu_bank_transfer refund method.

          • refunds.data.destination_details.eu_bank_transfer.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.eu_bank_transfer.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.gb_bank_transfernullable Map

          If this is a gb_bank_transfer refund, this hash contains the transaction specific details of the gb_bank_transfer refund method.

          • refunds.data.destination_details.gb_bank_transfer.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.gb_bank_transfer.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.giropaynullable Map

          If this is a giropay refund, this hash contains the transaction specific details of the giropay refund method.

        • refunds.data.destination_details.grabpaynullable Map

          If this is a grabpay refund, this hash contains the transaction specific details of the grabpay refund method.

        • refunds.data.destination_details.jp_bank_transfernullable Map

          If this is a jp_bank_transfer refund, this hash contains the transaction specific details of the jp_bank_transfer refund method.

          • refunds.data.destination_details.jp_bank_transfer.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.jp_bank_transfer.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.klarnanullable Map

          If this is a klarna refund, this hash contains the transaction specific details of the klarna refund method.

        • refunds.data.destination_details.multibanconullable Map

          If this is a multibanco refund, this hash contains the transaction specific details of the multibanco refund method.

          • refunds.data.destination_details.multibanco.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.multibanco.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.mx_bank_transfernullable Map

          If this is a mx_bank_transfer refund, this hash contains the transaction specific details of the mx_bank_transfer refund method.

          • refunds.data.destination_details.mx_bank_transfer.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.mx_bank_transfer.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.nz_bank_transfernullable MapPreview feature

          If this is a nz_bank_transfer refund, this hash contains the transaction specific details of the nz_bank_transfer refund method.

        • refunds.data.destination_details.p24nullable Map

          If this is a p24 refund, this hash contains the transaction specific details of the p24 refund method.

          • refunds.data.destination_details.p24.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.p24.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.paynownullable Map

          If this is a paynow refund, this hash contains the transaction specific details of the paynow refund method.

        • refunds.data.destination_details.paypalnullable Map

          If this is a paypal refund, this hash contains the transaction specific details of the paypal refund method.

          • refunds.data.destination_details.paypal.network_decline_codenullable string

            For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.

        • refunds.data.destination_details.pixnullable MapPreview feature

          If this is a pix refund, this hash contains the transaction specific details of the pix refund method.

        • refunds.data.destination_details.revolutnullable Map

          If this is a revolut refund, this hash contains the transaction specific details of the revolut refund method.

        • refunds.data.destination_details.sofortnullable Map

          If this is a sofort refund, this hash contains the transaction specific details of the sofort refund method.

        • refunds.data.destination_details.swishnullable Map

          If this is a swish refund, this hash contains the transaction specific details of the swish refund method.

          • refunds.data.destination_details.swish.network_decline_codenullable string

            For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.

          • refunds.data.destination_details.swish.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.swish.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.th_bank_transfernullable Map

          If this is a th_bank_transfer refund, this hash contains the transaction specific details of the th_bank_transfer refund method.

          • refunds.data.destination_details.th_bank_transfer.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.th_bank_transfer.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.typestring

          The type of transaction-specific details of the payment method used in the refund (e.g., card). An additional hash is included on destination_details with a name matching this value. It contains information specific to the refund transaction.

        • refunds.data.destination_details.us_bank_transfernullable Map

          If this is a us_bank_transfer refund, this hash contains the transaction specific details of the us_bank_transfer refund method.

          • refunds.data.destination_details.us_bank_transfer.referencenullable string

            The reference assigned to the refund.

          • refunds.data.destination_details.us_bank_transfer.reference_statusnullable string

            Status of the reference on the refund. This can be pending, available or unavailable.

        • refunds.data.destination_details.wechat_paynullable Map

          If this is a wechat_pay refund, this hash contains the transaction specific details of the wechat_pay refund method.

        • refunds.data.destination_details.zipnullable Map

          If this is a zip refund, this hash contains the transaction specific details of the zip refund method.

      • refunds.data.failure_balance_transactionnullable stringExpandable

        After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.

      • refunds.data.failure_reasonnullable 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.

      • refunds.data.instructions_emailnullable string

        For payment methods without native refund support (for example, Konbini, PromptPay), provide an email address for the customer to receive refund instructions.

      • refunds.data.metadatanullable Map

        Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

      • refunds.data.next_actionnullable Map

        If the refund has a status of requires_action, this property describes what the refund needs to continue processing.

        • refunds.data.next_action.display_detailsnullable Map

          Contains the refund details.

          • refunds.data.next_action.display_details.email_sentMap

            Contains information about the email sent to the customer.

            • refunds.data.next_action.display_details.email_sent.email_sent_attimestamp

              The timestamp when the email was sent.

            • refunds.data.next_action.display_details.email_sent.email_sent_tostring

              The recipient’s email address.

          • refunds.data.next_action.display_details.expires_attimestamp

            The expiry timestamp.

        • refunds.data.next_action.typestring

          Type of the next action to perform.

      • refunds.data.payment_intentnullable stringExpandable

        ID of the PaymentIntent that’s refunded.

      • refunds.data.pending_reasonnullable enum

        Provides the reason for why the refund is pending. Possible values are: processing, insufficient_funds, or charge_pending.

      • refunds.data.reasonnullable enum

        Reason for the refund, which is either user-provided (duplicate, fraudulent, or requested_by_customer) or generated by Stripe internally (expired_uncaptured_charge).

      • refunds.data.receipt_numbernullable string

        This is the transaction number that appears on email receipts sent for this refund.

      • refunds.data.source_transfer_reversalnullable stringExpandableConnect only

        The transfer reversal that’s associated with the refund. Only present if the charge came from another Stripe account.

      • refunds.data.statusnullable string

        Status of the refund. This can be pending, requires_action, succeeded, failed, or canceled. Learn more about failed refunds.

      • refunds.data.transfer_reversalnullable stringExpandableConnect only

        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.

    • refunds.has_moreboolean

      True if this list has another page of items after this one that can be fetched.

    • refunds.urlstring

      The URL where this list can be accessed.

  • reviewnullable stringExpandable

    ID of the review associated with this charge if one exists.

  • source_transfernullable stringExpandableConnect only

    The transfer ID which created this charge. Only present if the charge came from another Stripe account. See the Connect documentation for details.

  • transfernullable stringExpandableConnect only

    ID of the transfer to the destination account (only applicable if the charge was created using the destination parameter).

  • transfer_datanullable MapConnect only

    An optional dictionary including the account to automatically transfer to as part of a destination charge. See the Connect documentation for details.

    • transfer_data.amountnullable integer

      The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.

    • transfer_data.destinationstringExpandable

      ID of an existing, connected Stripe account to transfer funds to if transfer_data was specified in the charge request.

  • transfer_groupnullable stringConnect only

    A string that identifies this transaction as part of a group. See the Connect documentation for details.

The Charge object
{
"id": "ch_3MmlLrLkdIwHu7ix0snN0B15",
"object": "charge",
"amount": 1099,
"amount_captured": 1099,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_3MmlLrLkdIwHu7ix0uke3Ezy",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"calculated_statement_descriptor": "Stripe",
"captured": true,
"created": 1679090539,
"currency": "usd",
"customer": null,
"description": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"livemode": false,
"metadata": {},
"on_behalf_of": null,
"outcome": {
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 32,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": null,
"payment_method": "card_1MmlLrLkdIwHu7ixIJwEWSNR",
"payment_method_details": {
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": null
},
"country": "US",
"exp_month": 3,
"exp_year": 2024,
"fingerprint": "mToisGZ01V71BCos",
"funding": "credit",
"installments": null,
"last4": "4242",
"mandate": null,
"network": "visa",
"three_d_secure": null,
"wallet": null
},
"type": "card"
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xTTJKVGtMa2RJd0h1N2l4KOvG06AGMgZfBXyr1aw6LBa9vaaSRWU96d8qBwz9z2J_CObiV_H2-e8RezSK_sw0KISesp4czsOUlVKY",
"refunded": false,
"review": null,
"shipping": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}