PaymentMethodData
- typeenumconst:cardrequiredvalues
- card
- billingType: object · BillingDetails
_details Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
- address
The customer's address.
- emailType: string | nullmax length:100
Billing email address.
- nameType: string | nullmax length:100
Billing full name.
- phoneType: string | nullmax length:100
Billing phone number (including extension).
- cardType: object · card
PaymentMethodCard
- brandType: stringmax length:100required
Card brand. Can be
mastercard,visaorunknown. - expType: integer
_month requiredTwo-digit number representing the card's expiration month.
- expType: integer
_year requiredFour-digit number representing the card's expiration year.
- fundingType: stringmax length:100required
Card funding type. Can be
credit,debit,prepaid, orunknown. - last4Type: stringmax length:100required
The last four digits of the card.
- cardholderType: string | null
_name max length:100The 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 with Apple Pay and Google Pay. - countryType: string | nullmax length:100
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.
- displayType: string | null
_brand max length:100The brand to use when displaying the card, this accounts for customer's brand choice on dual-branded cards. Can be
american_express,diners_club,discover,interac,jcb,mastercard,union_pay,visa, orotherand may contain more values in the future. - fingerprintType: string | nullmax length:100
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.
- iinType: stringmax length:100
Issuer identification number of the card.
- issuerType: string | nullmax length:100
Issuing bank name.
- segmentType: stringmax length:100
Card segment type. Can be
commercial,consumerorunknown. - threeType: object · CardThreeDSecureUsage
_d _secure _usage Contains details on how this Card may be used for 3D Secure authentication.
- tokenType: string
_id Confirmation token.
- tokenType: string
_intent _id Ephemeral token intent.
- walletType: object · PaymentMethodCardWallet
PaymentMethodCardWallet

