Skip to content

Stripe: Payment methods schemas

45 Stripe schemas with complete fields and constraints.

← Payment methods operations · All schemas

Create a Payment Method — request body — body billing details

FieldTypePresenceDescription and constraints
$objectRootBilling information associated with the PaymentMethod that may be used or required by particular types of payment methods.
addressJSONOptional
address (anyOf 1)objectAlternative
address (anyOf 1).citystringOptionalMaximum length: 5000
address (anyOf 1).countrystringOptionalMaximum length: 5000
address (anyOf 1).line1stringOptionalMaximum length: 5000
address (anyOf 1).line2stringOptionalMaximum length: 5000
address (anyOf 1).postal_codestringOptionalMaximum length: 5000
address (anyOf 1).statestringOptionalMaximum length: 5000
address (anyOf 2)stringAlternativeOne of:
emailJSONOptional
email (anyOf 1)stringAlternative
email (anyOf 2)stringAlternativeOne of:
nameJSONOptional
name (anyOf 1)stringAlternativeMaximum length: 5000
name (anyOf 2)stringAlternativeOne of:
phoneJSONOptional
phone (anyOf 1)stringAlternativeMaximum length: 5000
phone (anyOf 2)stringAlternativeOne of:
tax_idstringOptionalMaximum length: 5000

Create a Payment Method — response body

FieldTypePresenceDescription and constraints
$objectRootPaymentMethod objects represent your customer's payment instruments.
You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to
Customer objects to store instrument details for future payments.

Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
acss_debitModelOptionalExpand Create a Payment Method — response body — acss debit
affirmModelOptionalExpand Create a Payment Method — response body — zip
afterpay_clearpayModelOptionalExpand Create a Payment Method — response body — zip
alipayModelOptionalExpand Create a Payment Method — response body — zip
allow_redisplaystringOptionalThis field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.
Known values: always, limited, unspecified
almaModelOptionalExpand Create a Payment Method — response body — zip
amazon_payModelOptionalExpand Create a Payment Method — response body — zip
au_becs_debitModelOptionalExpand Create a Payment Method — response body — au becs debit
bacs_debitModelOptionalExpand Create a Payment Method — response body — bacs debit
bancontactModelOptionalExpand Create a Payment Method — response body — zip
billieModelOptionalExpand Create a Payment Method — response body — zip
billing_detailsModelRequired within parentExpand Create a charge — response body — billing details
bizumModelOptionalExpand Create a Payment Method — response body — bizum
blikModelOptionalExpand Create a Payment Method — response body — blik
boletoModelOptionalExpand Create a Payment Method — response body — boleto
cardModelOptionalExpand Create a Payment Method — response body — card
card_presentModelOptionalExpand Create a Payment Method — response body — card present
cashappModelOptionalExpand Create a Payment Method — response body — cashapp
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
cryptoModelOptionalExpand Create a Payment Method — response body — zip
customModelOptionalExpand Create a Payment Method — response body — custom
customerJSONOptional
customer (anyOf 1)JSONAlternativeThe ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
customer (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
customer (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a customer — response body
customer (anyOf 2)nullAlternative
customer_accountJSONOptional
customer_account (anyOf 1)stringAlternativeMaximum length: 5000
customer_account (anyOf 2)nullAlternative
customer_balanceModelOptionalExpand Create a Payment Method — response body — zip
epsModelOptionalExpand Create a Payment Method — response body — eps
fpxModelOptionalExpand Create a Payment Method — response body — fpx
giropayModelOptionalExpand Create a Payment Method — response body — zip
grabpayModelOptionalExpand Create a Payment Method — response body — zip
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
idealModelOptionalExpand Create a Payment Method — response body — ideal
interac_presentModelOptionalExpand Create a Payment Method — response body — interac present
kakao_payModelOptionalExpand Create a Payment Method — response body — zip
klarnaModelOptionalExpand Create a Payment Method — response body — klarna
konbiniModelOptionalExpand Create a Payment Method — response body — zip
kr_cardModelOptionalExpand Create a Payment Method — response body — kr card
linkModelOptionalExpand Create a Payment Method — response body — link
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
mb_wayModelOptionalExpand Create a Payment Method — response body — zip
metadataJSONOptional
metadata (anyOf 1)objectAlternativeSet of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Additional keys: see wildcard field
metadata (anyOf 1).*stringAdditional keysMaximum length: 500
metadata (anyOf 2)nullAlternative
mobilepayModelOptionalExpand Create a Payment Method — response body — zip
multibancoModelOptionalExpand Create a Payment Method — response body — zip
naver_payModelOptionalExpand Create a Payment Method — response body — naver pay
nz_bank_accountModelOptionalExpand Create a Payment Method — response body — nz bank account
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: payment_method
oxxoModelOptionalExpand Create a Payment Method — response body — zip
p24ModelOptionalExpand Create a Payment Method — response body — p24
pay_by_bankModelOptionalExpand Create a Payment Method — response body — zip
paycoModelOptionalExpand Create a Payment Method — response body — zip
paynowModelOptionalExpand Create a Payment Method — response body — zip
paypalModelOptionalExpand Create a Payment Method — response body — paypal
paypayModelOptionalExpand Create a Payment Method — response body — zip
paytoModelOptionalExpand Create a Payment Method — response body — payto
pixModelOptionalExpand Create a Payment Method — response body — pix
promptpayModelOptionalExpand Create a Payment Method — response body — zip
radar_optionsModelOptionalExpand Create a charge — response body — radar options
revolut_payModelOptionalExpand Create a Payment Method — response body — zip
samsung_payModelOptionalExpand Create a Payment Method — response body — zip
satispayModelOptionalExpand Create a Payment Method — response body — zip
scalapayModelOptionalExpand Create a Payment Method — response body — zip
sepa_debitModelOptionalExpand Create a Payment Method — response body — sepa debit
sequraModelOptionalExpand Create a Payment Method — response body — zip
sofortModelOptionalExpand Create a Payment Method — response body — sofort
sunbitModelOptionalExpand Create a Payment Method — response body — zip
swishModelOptionalExpand Create a Payment Method — response body — zip
twintModelOptionalExpand Create a Payment Method — response body — zip
typestringRequired within parentThe type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
Known values: acss_debit, affirm, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card, card_present, cashapp, crypto, custom, customer_balance, eps, fpx, giropay, grabpay, ideal, interac_present, kakao_pay, klarna, konbini, kr_card, link, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, sequra, sofort, sunbit, swish, twint, upi, us_bank_account, wechat_pay, zip
upiModelOptionalExpand Create a Payment Method — response body — upi
us_bank_accountModelOptionalExpand Create a Payment Method — response body — us bank account
wechat_payModelOptionalExpand Create a Payment Method — response body — zip
zipModelOptionalExpand Create a Payment Method — response body — zip

Referenced models: Create a Payment Method — response body — zip, Create a charge — response body — billing details, Create a customer — response body, Create a Payment Method — response body — acss debit, Create a Payment Method — response body — au becs debit, Create a Payment Method — response body — bacs debit, Create a Payment Method — response body — bizum, Create a Payment Method — response body — blik, Create a Payment Method — response body — boleto, Create a Payment Method — response body — card, Create a Payment Method — response body — card present, Create a Payment Method — response body — cashapp, Create a Payment Method — response body — custom, Create a Payment Method — response body — eps, Create a Payment Method — response body — fpx, Create a Payment Method — response body — ideal, Create a Payment Method — response body — interac present, Create a Payment Method — response body — klarna, Create a Payment Method — response body — kr card, Create a Payment Method — response body — link, Create a Payment Method — response body — naver pay, Create a Payment Method — response body — nz bank account, Create a Payment Method — response body — p24, Create a Payment Method — response body — paypal, Create a Payment Method — response body — payto, Create a Payment Method — response body — pix, Create a Payment Method — response body — sepa debit, Create a Payment Method — response body — sofort, Create a Payment Method — response body — upi, Create a Payment Method — response body — us bank account, Create a charge — response body — radar options

Create a Payment Method — response body — acss debit

FieldTypePresenceDescription and constraints
$objectRoot
bank_nameJSONOptional
bank_name (anyOf 1)stringAlternativeName of the bank associated with the bank account.
Maximum length: 5000
bank_name (anyOf 2)nullAlternative
fingerprintJSONOptional
fingerprint (anyOf 1)stringAlternativeUniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
Maximum length: 5000
fingerprint (anyOf 2)nullAlternative
institution_numberJSONOptional
institution_number (anyOf 1)stringAlternativeInstitution number of the bank account.
Maximum length: 5000
institution_number (anyOf 2)nullAlternative
last4JSONOptional
last4 (anyOf 1)stringAlternativeLast four digits of the bank account number.
Maximum length: 5000
last4 (anyOf 2)nullAlternative
transit_numberJSONOptional
transit_number (anyOf 1)stringAlternativeTransit number of the bank account.
Maximum length: 5000
transit_number (anyOf 2)nullAlternative

Create a Payment Method — response body — au becs debit

FieldTypePresenceDescription and constraints
$objectRoot
bsb_numberJSONOptional
bsb_number (anyOf 1)stringAlternativeSix-digit number identifying bank and branch associated with this bank account.
Maximum length: 5000
bsb_number (anyOf 2)nullAlternative
fingerprintJSONOptional
fingerprint (anyOf 1)stringAlternativeUniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
Maximum length: 5000
fingerprint (anyOf 2)nullAlternative
last4JSONOptional
last4 (anyOf 1)stringAlternativeLast four digits of the bank account number.
Maximum length: 5000
last4 (anyOf 2)nullAlternative

Create a Payment Method — response body — bacs debit

FieldTypePresenceDescription and constraints
$objectRoot
fingerprintJSONOptional
fingerprint (anyOf 1)stringAlternativeUniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
Maximum length: 5000
fingerprint (anyOf 2)nullAlternative
last4JSONOptional
last4 (anyOf 1)stringAlternativeLast four digits of the bank account number.
Maximum length: 5000
last4 (anyOf 2)nullAlternative
sort_codeJSONOptional
sort_code (anyOf 1)stringAlternativeSort code of the bank account. (e.g., `10-20-30`)
Maximum length: 5000
sort_code (anyOf 2)nullAlternative

Create a Payment Method — response body — bizum

FieldTypePresenceDescription and constraints
$objectRoot
buyer_idJSONOptional
buyer_id (anyOf 1)stringAlternativeA unique identifier for the buyer as determined by the local payment processor.
Maximum length: 5000
buyer_id (anyOf 2)nullAlternative

Create a Payment Method — response body — blik

FieldTypePresenceDescription and constraints
$objectRoot
buyer_idJSONOptional
buyer_id (anyOf 1)stringAlternativeA unique and immutable identifier assigned by BLIK to every buyer.
Maximum length: 5000
buyer_id (anyOf 2)nullAlternative

Create a Payment Method — response body — boleto

FieldTypePresenceDescription and constraints
$objectRoot
tax_idstringRequired within parentUniquely identifies the customer tax id (CNPJ or CPF)
Maximum length: 5000

Create a Payment Method — response body — card

FieldTypePresenceDescription and constraints
$objectRoot
brandstringRequired within parentCard brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
Maximum length: 5000
checksJSONOptional
checks (anyOf 1)JSONAlternativeChecks on Card address and CVC if provided.
checks (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — card checks Checks on Card address and CVC if provided address line1 check, address postal code check, cvc check
checks (anyOf 2)nullAlternative
countryJSONOptional
country (anyOf 1)stringAlternativeTwo-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.
Maximum length: 5000
country (anyOf 2)nullAlternative
display_brandJSONOptional
display_brand (anyOf 1)stringAlternativeThe brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be `american_express`, `cartes_bancaires`, `diners_club`, `discover`, `eftpos_australia`, `interac`, `jcb`, `mastercard`, `union_pay`, `visa`, or `other` and may contain more values in the future.
Maximum length: 5000
display_brand (anyOf 2)nullAlternative
exp_monthJSONRequired within parent
exp_month (anyOf 1)integerAlternativeTwo-digit number representing the card's expiration month.
exp_month (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
exp_yearJSONRequired within parent
exp_year (anyOf 1)integerAlternativeFour-digit number representing the card's expiration year.
exp_year (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
fingerprintJSONOptional
fingerprint (anyOf 1)stringAlternativeUniquely 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.*
Maximum length: 5000
fingerprint (anyOf 2)nullAlternative
fundingstringRequired within parentCard funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
Maximum length: 5000
generated_fromJSONOptional
generated_from (anyOf 1)JSONAlternativeDetails of the original PaymentMethod that created this object.
generated_from (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — card generated from value charge, payment method details, setup attempt
generated_from (anyOf 2)nullAlternative
last4stringRequired within parentThe last four digits of the card.
Maximum length: 5000
networksJSONOptional
networks (anyOf 1)JSONAlternativeContains information about card networks that can be used to process the payment.
networks (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — card networks value available, preferred
networks (anyOf 2)nullAlternative
regulated_statusJSONOptional
regulated_status (anyOf 1)stringAlternativeStatus of a card based on the card issuer.
Known values: regulated, unregulated
regulated_status (anyOf 2)nullAlternative
three_d_secure_usageJSONOptional
three_d_secure_usage (anyOf 1)JSONAlternativeContains details on how this Card may be used for 3D Secure authentication.
three_d_secure_usage (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — card three d secure usage value supported
three_d_secure_usage (anyOf 2)nullAlternative
walletJSONOptional
wallet (anyOf 1)JSONAlternativeIf this Card is part of a card wallet, this contains the details of the card wallet.
wallet (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — card wallet value amex express checkout, apple pay, dynamic last4, google pay, link, masterpass, samsung pay, type, visa checkout
wallet (anyOf 2)nullAlternative

Referenced models: Create a Payment Method — response body — card networks value available, preferred, Create a Payment Method — response body — card checks Checks on Card address and CVC if provided address line1 check, address postal code check, cvc check, Create a Payment Method — response body — card generated from value charge, payment method details, setup attempt, Create a Payment Method — response body — card wallet value amex express checkout, apple pay, dynamic last4, google pay, link, masterpass, samsung pay, type, visa checkout, Create a Payment Method — response body — card three d secure usage value supported

Create a Payment Method — response body — card checks Checks on Card address and CVC if provided address line1 check, address postal code check, cvc check

FieldTypePresenceDescription and constraints
$objectRoot
address_line1_checkJSONOptional
address_line1_check (anyOf 1)stringAlternativeIf a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
Maximum length: 5000
address_line1_check (anyOf 2)nullAlternative
address_postal_code_checkJSONOptional
address_postal_code_check (anyOf 1)stringAlternativeIf a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
Maximum length: 5000
address_postal_code_check (anyOf 2)nullAlternative
cvc_checkJSONOptional
cvc_check (anyOf 1)stringAlternativeIf a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
Maximum length: 5000
cvc_check (anyOf 2)nullAlternative

Create a Payment Method — response body — card generated from value charge, payment method details, setup attempt

FieldTypePresenceDescription and constraints
$objectRoot
chargeJSONOptional
charge (anyOf 1)stringAlternativeThe charge that created this object.
Maximum length: 5000
charge (anyOf 2)nullAlternative
payment_method_detailsJSONOptional
payment_method_details (anyOf 1)JSONAlternativeTransaction-specific details of the payment method used in the payment.
payment_method_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — card generated from value charge, payment method details, setup attempt payment method details value card present, type
payment_method_details (anyOf 2)nullAlternative
setup_attemptJSONOptional
setup_attempt (anyOf 1)JSONAlternativeThe ID of the SetupAttempt that generated this PaymentMethod, if any.
setup_attempt (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
setup_attempt (anyOf 1) (anyOf 2)ModelAlternativeExpand List all Setup Attempts — response body — data item
setup_attempt (anyOf 2)nullAlternative

Referenced models: Create a Payment Method — response body — card generated from value charge, payment method details, setup attempt payment method details value card present, type, List all Setup Attempts — response body — data item

Create a Payment Method — response body — card generated from value charge, payment method details, setup attempt payment method details value card present, type

FieldTypePresenceDescription and constraints
$objectRoot
card_presentModelOptionalExpand Create a charge — response body — payment method details value ach credit transfer, ach debit, acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, bizum, blik, boleto, card, card present, cashapp, crypto, customer balance, eps, fpx, giropay, grabpay, ideal, interac present, kakao pay, klarna, konbini, kr card, link, mb way, mobilepay, multibanco, naver pay, nz bank account, oxxo, p24, pay by bank, payco, paynow, paypal, paypay, payto, pix, promptpay, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, stripe account, sunbit, swish, twint, type, upi, us bank account, wechat, wechat pay, zip card present
typestringRequired within parentThe type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.
Maximum length: 5000

Referenced models: Create a charge — response body — payment method details value ach credit transfer, ach debit, acss debit, affirm, afterpay clearpay, alipay, alma, amazon pay, au becs debit, bacs debit, bancontact, billie, bizum, blik, boleto, card, card present, cashapp, crypto, customer balance, eps, fpx, giropay, grabpay, ideal, interac present, kakao pay, klarna, konbini, kr card, link, mb way, mobilepay, multibanco, naver pay, nz bank account, oxxo, p24, pay by bank, payco, paynow, paypal, paypay, payto, pix, promptpay, revolut pay, samsung pay, satispay, scalapay, sepa debit, sequra, sofort, stripe account, sunbit, swish, twint, type, upi, us bank account, wechat, wechat pay, zip card present

Create a Payment Method — response body — card networks value available, preferred

FieldTypePresenceDescription and constraints
$objectRoot
availablearrayRequired within parentAll networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
available[]stringEach itemMaximum length: 5000
preferredJSONOptional
preferred (anyOf 1)stringAlternativeThe preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.
Maximum length: 5000
preferred (anyOf 2)nullAlternative

Create a Payment Method — response body — card present

FieldTypePresenceDescription and constraints
$objectRoot
brandJSONOptional
brand (anyOf 1)stringAlternativeCard brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
Maximum length: 5000
brand (anyOf 2)nullAlternative
brand_productJSONOptional
brand_product (anyOf 1)stringAlternativeThe [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
Maximum length: 5000
brand_product (anyOf 2)nullAlternative
cardholder_nameJSONOptional
cardholder_name (anyOf 1)stringAlternativeThe cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
Maximum length: 5000
cardholder_name (anyOf 2)nullAlternative
countryJSONOptional
country (anyOf 1)stringAlternativeTwo-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.
Maximum length: 5000
country (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeA high-level description of the type of cards issued in this range.
Maximum length: 5000
description (anyOf 2)nullAlternative
exp_monthJSONRequired within parent
exp_month (anyOf 1)integerAlternativeTwo-digit number representing the card's expiration month.
exp_month (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
exp_yearJSONRequired within parent
exp_year (anyOf 1)integerAlternativeFour-digit number representing the card's expiration year.
exp_year (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
fingerprintJSONOptional
fingerprint (anyOf 1)stringAlternativeUniquely 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.*
Maximum length: 5000
fingerprint (anyOf 2)nullAlternative
fundingJSONOptional
funding (anyOf 1)stringAlternativeCard funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
Maximum length: 5000
funding (anyOf 2)nullAlternative
issuerJSONOptional
issuer (anyOf 1)stringAlternativeThe name of the card's issuing bank.
Maximum length: 5000
issuer (anyOf 2)nullAlternative
last4JSONOptional
last4 (anyOf 1)stringAlternativeThe last four digits of the card.
Maximum length: 5000
last4 (anyOf 2)nullAlternative
networksJSONOptional
networks (anyOf 1)JSONAlternativeContains information about card networks that can be used to process the payment.
networks (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — card present networks value available, preferred
networks (anyOf 2)nullAlternative
offlineJSONOptional
offline (anyOf 1)JSONAlternativeDetails about payment methods collected offline.
offline (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — card present offline Details about payment methods collected offline stored at, type
offline (anyOf 2)nullAlternative
preferred_localesJSONOptional
preferred_locales (anyOf 1)arrayAlternativeThe 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.
preferred_locales (anyOf 1)[]stringEach itemMaximum length: 5000
preferred_locales (anyOf 2)nullAlternative
read_methodJSONOptional
read_method (anyOf 1)stringAlternativeHow card details were read in this transaction.
Known values: contact_emv, contactless_emv, contactless_magstripe_mode, magnetic_stripe_fallback, magnetic_stripe_track2
read_method (anyOf 2)nullAlternative
walletModelOptionalExpand Create a Payment Method — response body — card present wallet

Referenced models: Create a Payment Method — response body — card present wallet, Create a Payment Method — response body — card present networks value available, preferred, Create a Payment Method — response body — card present offline Details about payment methods collected offline stored at, type

Create a Payment Method — response body — card present networks value available, preferred

FieldTypePresenceDescription and constraints
$objectRoot
availablearrayRequired within parentAll networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).
available[]stringEach itemMaximum length: 5000
preferredJSONOptional
preferred (anyOf 1)stringAlternativeThe preferred network for the card.
Maximum length: 5000
preferred (anyOf 2)nullAlternative

Create a Payment Method — response body — card present offline Details about payment methods collected offline stored at, type

FieldTypePresenceDescription and constraints
$objectRoot
stored_atJSONOptional
stored_at (anyOf 1)JSONAlternative
stored_at (anyOf 1) (anyOf 1)integerAlternativeTime at which the payment was collected while offline
Format: unix-time
stored_at (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
stored_at (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe method used to process this payment method offline. Only deferred is allowed.
Known values: deferred
type (anyOf 2)nullAlternative

Create a Payment Method — response body — card present wallet

FieldTypePresenceDescription and constraints
$objectRoot
typestringRequired within parentThe type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
Known values: apple_pay, google_pay, samsung_pay, unknown

Create a Payment Method — response body — card three d secure usage value supported

FieldTypePresenceDescription and constraints
$objectRoot
supportedbooleanRequired within parentWhether 3D Secure is supported on this card.

Create a Payment Method — response body — card wallet value amex express checkout, apple pay, dynamic last4, google pay, link, masterpass, samsung pay, type, visa checkout

FieldTypePresenceDescription and constraints
$objectRoot
amex_express_checkoutModelOptionalExpand Create a Payment Method — response body — zip
apple_payModelOptionalExpand Create a Payment Method — response body — zip
dynamic_last4JSONOptional
dynamic_last4 (anyOf 1)stringAlternative(For tokenized numbers only.) The last four digits of the device account number.
Maximum length: 5000
dynamic_last4 (anyOf 2)nullAlternative
google_payModelOptionalExpand Create a Payment Method — response body — zip
linkModelOptionalExpand Create a Payment Method — response body — zip
masterpassModelOptionalExpand Create a Payment Method — response body — card wallet value amex express checkout, apple pay, dynamic last4, google pay, link, masterpass, samsung pay, type, visa checkout masterpass
samsung_payModelOptionalExpand Create a Payment Method — response body — zip
typestringRequired within parentThe 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.
Known values: amex_express_checkout, apple_pay, google_pay, link, masterpass, samsung_pay, visa_checkout
visa_checkoutModelOptionalExpand Create a Payment Method — response body — card wallet value amex express checkout, apple pay, dynamic last4, google pay, link, masterpass, samsung pay, type, visa checkout masterpass

Referenced models: Create a Payment Method — response body — zip, Create a Payment Method — response body — card wallet value amex express checkout, apple pay, dynamic last4, google pay, link, masterpass, samsung pay, type, visa checkout masterpass

Create a Payment Method — response body — card wallet value amex express checkout, apple pay, dynamic last4, google pay, link, masterpass, samsung pay, type, visa checkout masterpass

FieldTypePresenceDescription and constraints
$objectRoot
billing_addressJSONOptional
billing_address (anyOf 1)JSONAlternativeOwner'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.
billing_address (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Location — response body — address
billing_address (anyOf 2)nullAlternative
emailJSONOptional
email (anyOf 1)stringAlternativeOwner'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.
Maximum length: 5000
email (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeOwner'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.
Maximum length: 5000
name (anyOf 2)nullAlternative
shipping_addressJSONOptional
shipping_address (anyOf 1)JSONAlternativeOwner'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.
shipping_address (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Location — response body — address
shipping_address (anyOf 2)nullAlternative

Referenced models: Create a Location — response body — address

Create a Payment Method — response body — cashapp

FieldTypePresenceDescription and constraints
$objectRoot
buyer_idJSONOptional
buyer_id (anyOf 1)stringAlternativeA unique and immutable identifier assigned by Cash App to every buyer.
Maximum length: 5000
buyer_id (anyOf 2)nullAlternative
cashtagJSONOptional
cashtag (anyOf 1)stringAlternativeA public identifier for buyers using Cash App.
Maximum length: 5000
cashtag (anyOf 2)nullAlternative

Create a Payment Method — response body — custom

FieldTypePresenceDescription and constraints
$objectRoot
display_nameJSONOptional
display_name (anyOf 1)stringAlternativeDisplay name of the Dashboard-only CustomPaymentMethodType.
Maximum length: 5000
display_name (anyOf 2)nullAlternative
logoJSONOptional
logo (anyOf 1)JSONAlternativeContains information about the Dashboard-only CustomPaymentMethodType logo.
logo (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — custom logo value content type, url
logo (anyOf 2)nullAlternative
typestringRequired within parentID of the Dashboard-only CustomPaymentMethodType. Not expandable.
Maximum length: 5000

Referenced models: Create a Payment Method — response body — custom logo value content type, url

Create a Payment Method — response body — custom logo value content type, url

FieldTypePresenceDescription and constraints
$objectRoot
content_typeJSONOptional
content_type (anyOf 1)stringAlternativeContent type of the Dashboard-only CustomPaymentMethodType logo.
Maximum length: 5000
content_type (anyOf 2)nullAlternative
urlstringRequired within parentURL of the Dashboard-only CustomPaymentMethodType logo.
Maximum length: 5000

Create a Payment Method — response body — eps

FieldTypePresenceDescription and constraints
$objectRoot
bankJSONOptional
bank (anyOf 1)stringAlternativeThe 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`.
Known 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, deutsche_bank_ag, dolomitenbank, easybank_ag, erste_bank_und_sparkassen, hypo_alpeadriabank_international_ag, hypo_bank_burgenland_aktiengesellschaft, hypo_noe_lb_fur_niederosterreich_u_wien, hypo_oberosterreich_salzburg_steiermark, hypo_tirol_bank_ag, hypo_vorarlberg_bank_ag, marchfelder_bank, oberbank_ag, raiffeisen_bankengruppe_osterreich, schoellerbank_ag, sparda_bank_wien, volksbank_gruppe, volkskreditbank_ag, vr_bank_braunau
bank (anyOf 2)nullAlternative

Create a Payment Method — response body — fpx

FieldTypePresenceDescription and constraints
$objectRoot
bankstringRequired within parentThe customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bnp_paribas`, `bank_rakyat`, `bsn`, `cimb`, `citibank`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `mbsb_bank`, `pb_enterprise`, or `bank_of_china`.
Known values: affin_bank, agrobank, alliance_bank, ambank, bank_islam, bank_muamalat, bank_of_china, bank_rakyat, bnp_paribas, bsn, cimb, citibank, deutsche_bank, hong_leong_bank, hsbc, kfh, maybank2e, maybank2u, mbsb_bank, ocbc, pb_enterprise, public_bank, rhb, standard_chartered, uob

Create a Payment Method — response body — ideal

FieldTypePresenceDescription and constraints
$objectRoot
bankJSONOptional
bank (anyOf 1)stringAlternativeThe customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
Known values: abn_amro, adyen, asn_bank, bunq, buut, finom, handelsbanken, ing, knab, mollie, moneyou, n26, nn, rabobank, regiobank, revolut, sns_bank, triodos_bank, van_lanschot, yoursafe
bank (anyOf 2)nullAlternative
bicJSONOptional
bic (anyOf 1)stringAlternativeThe Bank Identifier Code of the customer's bank, if the bank was provided.
Known values: ABNANL2A, ADYBNL2A, ASNBNL21, BITSNL2A, BUNQNL2A, BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A, KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, TRIONL2U
bic (anyOf 2)nullAlternative

Create a Payment Method — response body — interac present

FieldTypePresenceDescription and constraints
$objectRoot
brandJSONOptional
brand (anyOf 1)stringAlternativeCard brand. Can be `interac`, `mastercard` or `visa`.
Maximum length: 5000
brand (anyOf 2)nullAlternative
cardholder_nameJSONOptional
cardholder_name (anyOf 1)stringAlternativeThe cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
Maximum length: 5000
cardholder_name (anyOf 2)nullAlternative
countryJSONOptional
country (anyOf 1)stringAlternativeTwo-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.
Maximum length: 5000
country (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeA high-level description of the type of cards issued in this range.
Maximum length: 5000
description (anyOf 2)nullAlternative
exp_monthJSONRequired within parent
exp_month (anyOf 1)integerAlternativeTwo-digit number representing the card's expiration month.
exp_month (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
exp_yearJSONRequired within parent
exp_year (anyOf 1)integerAlternativeFour-digit number representing the card's expiration year.
exp_year (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
fingerprintJSONOptional
fingerprint (anyOf 1)stringAlternativeUniquely 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.*
Maximum length: 5000
fingerprint (anyOf 2)nullAlternative
fundingJSONOptional
funding (anyOf 1)stringAlternativeCard funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
Maximum length: 5000
funding (anyOf 2)nullAlternative
issuerJSONOptional
issuer (anyOf 1)stringAlternativeThe name of the card's issuing bank.
Maximum length: 5000
issuer (anyOf 2)nullAlternative
last4JSONOptional
last4 (anyOf 1)stringAlternativeThe last four digits of the card.
Maximum length: 5000
last4 (anyOf 2)nullAlternative
networksJSONOptional
networks (anyOf 1)JSONAlternativeContains information about card networks that can be used to process the payment.
networks (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — card present networks value available, preferred
networks (anyOf 2)nullAlternative
preferred_localesJSONOptional
preferred_locales (anyOf 1)arrayAlternativeThe 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.
preferred_locales (anyOf 1)[]stringEach itemMaximum length: 5000
preferred_locales (anyOf 2)nullAlternative
read_methodJSONOptional
read_method (anyOf 1)stringAlternativeHow card details were read in this transaction.
Known values: contact_emv, contactless_emv, contactless_magstripe_mode, magnetic_stripe_fallback, magnetic_stripe_track2
read_method (anyOf 2)nullAlternative

Referenced models: Create a Payment Method — response body — card present networks value available, preferred

Create a Payment Method — response body — klarna

FieldTypePresenceDescription and constraints
$objectRoot
dobJSONOptional
dob (anyOf 1)JSONAlternativeThe customer's date of birth, if provided.
dob (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a person — accounts post Accounts Account People — response body — dob
dob (anyOf 2)nullAlternative

Referenced models: Create a person — accounts post Accounts Account People — response body — dob

Create a Payment Method — response body — kr card

FieldTypePresenceDescription and constraints
$objectRoot
brandJSONOptional
brand (anyOf 1)stringAlternativeThe local credit or debit card brand.
Known values: bc, citi, hana, hyundai, jeju, jeonbuk, kakaobank, kbank, kdbbank, kookmin, kwangju, lotte, mg, nh, post, samsung, savingsbank, shinhan, shinhyup, suhyup, tossbank, woori
brand (anyOf 2)nullAlternative
last4JSONOptional
last4 (anyOf 1)stringAlternativeThe last four digits of the card. This may not be present for American Express cards.
Maximum length: 4
last4 (anyOf 2)nullAlternative

Create a Payment Method — response body — link

FieldTypePresenceDescription and constraints
$objectRoot
emailJSONOptional
email (anyOf 1)stringAlternativeAccount owner's email address.
Maximum length: 5000
email (anyOf 2)nullAlternative

Create a Payment Method — response body — naver pay

FieldTypePresenceDescription and constraints
$objectRoot
buyer_idJSONOptional
buyer_id (anyOf 1)stringAlternativeUniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
Maximum length: 5000
buyer_id (anyOf 2)nullAlternative
fundingstringRequired within parentWhether to fund this transaction with Naver Pay points or a card.
Known values: card, points

Create a Payment Method — response body — nz bank account

FieldTypePresenceDescription and constraints
$objectRoot
account_holder_nameJSONOptional
account_holder_name (anyOf 1)stringAlternativeThe 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.
Maximum length: 5000
account_holder_name (anyOf 2)nullAlternative
bank_codestringRequired within parentThe numeric code for the bank account's bank.
Maximum length: 5000
bank_namestringRequired within parentThe name of the bank.
Maximum length: 5000
branch_codestringRequired within parentThe numeric code for the bank account's bank branch.
Maximum length: 5000
last4stringRequired within parentLast four digits of the bank account number.
Maximum length: 5000
suffixJSONOptional
suffix (anyOf 1)stringAlternativeThe suffix of the bank account number.
Maximum length: 5000
suffix (anyOf 2)nullAlternative

Create a Payment Method — response body — p24

FieldTypePresenceDescription and constraints
$objectRoot
bankJSONOptional
bank (anyOf 1)stringAlternativeThe customer's bank, if provided.
Known values: alior_bank, bank_millennium, bank_nowy_bfg_sa, bank_pekao_sa, banki_spbdzielcze, blik, bnp_paribas, boz, citi_handlowy, credit_agricole, envelobank, etransfer_pocztowy24, getin_bank, ideabank, ing, inteligo, mbank_mtransfer, nest_przelew, noble_pay, pbac_z_ipko, plus_bank, santander_przelew24, tmobile_usbugi_bankowe, toyota_bank, velobank, volkswagen_bank
bank (anyOf 2)nullAlternative

Create a Payment Method — response body — paypal

FieldTypePresenceDescription and constraints
$objectRoot
countryJSONOptional
country (anyOf 1)stringAlternativeTwo-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.
Maximum length: 5000
country (anyOf 2)nullAlternative
payer_emailJSONOptional
payer_email (anyOf 1)stringAlternativeOwner's email. Values are provided by PayPal directly
(if supported) at the time of authorization or settlement. They cannot be set or mutated.
Maximum length: 5000
payer_email (anyOf 2)nullAlternative
payer_idJSONOptional
payer_id (anyOf 1)stringAlternativePayPal account PayerID. This identifier uniquely identifies the PayPal customer.
Maximum length: 5000
payer_id (anyOf 2)nullAlternative

Create a Payment Method — response body — payto

FieldTypePresenceDescription and constraints
$objectRoot
bsb_numberJSONOptional
bsb_number (anyOf 1)stringAlternativeBank-State-Branch number of the bank account.
Maximum length: 5000
bsb_number (anyOf 2)nullAlternative
last4JSONOptional
last4 (anyOf 1)stringAlternativeLast four digits of the bank account number.
Maximum length: 5000
last4 (anyOf 2)nullAlternative
pay_idJSONOptional
pay_id (anyOf 1)stringAlternativeThe PayID alias for the bank account.
Maximum length: 5000
pay_id (anyOf 2)nullAlternative

Create a Payment Method — response body — pix

FieldTypePresenceDescription and constraints
$objectRoot
fingerprintJSONOptional
fingerprint (anyOf 1)stringAlternativeUniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.
Maximum length: 5000
fingerprint (anyOf 2)nullAlternative

Create a Payment Method — response body — sepa debit

FieldTypePresenceDescription and constraints
$objectRoot
bank_codeJSONOptional
bank_code (anyOf 1)stringAlternativeBank code of bank associated with the bank account.
Maximum length: 5000
bank_code (anyOf 2)nullAlternative
branch_codeJSONOptional
branch_code (anyOf 1)stringAlternativeBranch code of bank associated with the bank account.
Maximum length: 5000
branch_code (anyOf 2)nullAlternative
countryJSONOptional
country (anyOf 1)stringAlternativeTwo-letter ISO code representing the country the bank account is located in.
Maximum length: 5000
country (anyOf 2)nullAlternative
fingerprintJSONOptional
fingerprint (anyOf 1)stringAlternativeUniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
Maximum length: 5000
fingerprint (anyOf 2)nullAlternative
generated_fromJSONOptional
generated_from (anyOf 1)JSONAlternativeInformation about the object that generated this PaymentMethod.
generated_from (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — sepa debit generated from value charge, setup attempt
generated_from (anyOf 2)nullAlternative
last4JSONOptional
last4 (anyOf 1)stringAlternativeLast four characters of the IBAN.
Maximum length: 5000
last4 (anyOf 2)nullAlternative

Referenced models: Create a Payment Method — response body — sepa debit generated from value charge, setup attempt

Create a Payment Method — response body — sepa debit generated from value charge, setup attempt

FieldTypePresenceDescription and constraints
$objectRoot
chargeJSONOptional
charge (anyOf 1)JSONAlternativeThe ID of the Charge that generated this PaymentMethod, if any.
charge (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
charge (anyOf 1) (anyOf 2)ModelAlternativeExpand Create a charge — response body
charge (anyOf 2)nullAlternative
setup_attemptJSONOptional
setup_attempt (anyOf 1)JSONAlternativeThe ID of the SetupAttempt that generated this PaymentMethod, if any.
setup_attempt (anyOf 1) (anyOf 1)stringAlternativeMaximum length: 5000
setup_attempt (anyOf 1) (anyOf 2)ModelAlternativeExpand List all Setup Attempts — response body — data item
setup_attempt (anyOf 2)nullAlternative

Referenced models: Create a charge — response body, List all Setup Attempts — response body — data item

Create a Payment Method — response body — sofort

FieldTypePresenceDescription and constraints
$objectRoot
countryJSONOptional
country (anyOf 1)stringAlternativeTwo-letter ISO code representing the country the bank account is located in.
Maximum length: 5000
country (anyOf 2)nullAlternative

Create a Payment Method — response body — upi

FieldTypePresenceDescription and constraints
$objectRoot
vpaJSONOptional
vpa (anyOf 1)stringAlternativeCustomer's unique Virtual Payment Address
Maximum length: 5000
vpa (anyOf 2)nullAlternative

Create a Payment Method — response body — us bank account

FieldTypePresenceDescription and constraints
$objectRoot
account_holder_typeJSONOptional
account_holder_type (anyOf 1)stringAlternativeAccount holder type: individual or company.
Known values: company, individual
account_holder_type (anyOf 2)nullAlternative
account_typeJSONOptional
account_type (anyOf 1)stringAlternativeAccount type: checkings or savings. Defaults to checking if omitted.
Known values: checking, savings
account_type (anyOf 2)nullAlternative
bank_nameJSONOptional
bank_name (anyOf 1)stringAlternativeThe name of the bank.
Maximum length: 5000
bank_name (anyOf 2)nullAlternative
financial_connections_accountJSONOptional
financial_connections_account (anyOf 1)stringAlternativeThe ID of the Financial Connections Account used to create the payment method.
Maximum length: 5000
financial_connections_account (anyOf 2)nullAlternative
fingerprintJSONOptional
fingerprint (anyOf 1)stringAlternativeUniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
Maximum length: 5000
fingerprint (anyOf 2)nullAlternative
last4JSONOptional
last4 (anyOf 1)stringAlternativeLast four digits of the bank account number.
Maximum length: 5000
last4 (anyOf 2)nullAlternative
networksJSONOptional
networks (anyOf 1)JSONAlternativeContains information about US bank account networks that can be used.
networks (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — us bank account networks value preferred, supported
networks (anyOf 2)nullAlternative
routing_numberJSONOptional
routing_number (anyOf 1)stringAlternativeRouting number of the bank account.
Maximum length: 5000
routing_number (anyOf 2)nullAlternative
status_detailsJSONOptional
status_details (anyOf 1)JSONAlternativeContains information about the future reusability of this PaymentMethod.
status_details (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a Payment Method — response body — us bank account status details value blocked
status_details (anyOf 2)nullAlternative

Referenced models: Create a Payment Method — response body — us bank account status details value blocked, Create a Payment Method — response body — us bank account networks value preferred, supported

Create a Payment Method — response body — us bank account networks value preferred, supported

FieldTypePresenceDescription and constraints
$objectRoot
preferredJSONOptional
preferred (anyOf 1)stringAlternativeThe preferred network.
Maximum length: 5000
preferred (anyOf 2)nullAlternative
supportedarrayRequired within parentAll supported networks.
supported[]stringEach itemKnown values: ach, us_domestic_wire

Create a Payment Method — response body — us bank account status details value blocked

FieldTypePresenceDescription and constraints
$objectRoot
blockedModelOptionalExpand Create a Payment Method — response body — us bank account status details value blocked blocked

Referenced models: Create a Payment Method — response body — us bank account status details value blocked blocked

Create a Payment Method — response body — us bank account status details value blocked blocked

FieldTypePresenceDescription and constraints
$objectRoot
network_codeJSONOptional
network_code (anyOf 1)stringAlternativeThe ACH network code that resulted in this block.
Known values: R02, R03, R04, R05, R07, R08, R10, R11, R16, R20, R29, R31
network_code (anyOf 2)nullAlternative
reasonJSONOptional
reason (anyOf 1)stringAlternativeThe reason why this PaymentMethod's fingerprint has been blocked
Known values: bank_account_closed, bank_account_frozen, bank_account_invalid_details, bank_account_restricted, bank_account_unusable, debit_not_authorized, tokenized_account_number_deactivated
reason (anyOf 2)nullAlternative

Create a Payment Method — response body — zip

FieldTypePresenceDescription and constraints
$objectRoot

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.