Skip to main content

Subscription-PaymentMethodCard

Details about the card used as payment method at the time of the transaction.

countryCountry (string)

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

Example: ES
brandstring

Card brand.

Enum ValueDescription
visaVisa
mastercardMastercard
dinersDiners Club
amexAmerican Express
jcbJCB
unionpayUnionPay
unknownUnknown

Possible values: [visa, mastercard, diners, amex, jcb, unionpay, unknown]

Example: visa
typestring

Card type debit or credit.

Enum ValueDescription
debitDebit
creditCredit

Possible values: [debit, credit]

Example: credit
threeDSecureboolean

Wether this transaction used 3D Secure authentication.

Example: false
threeDSecureVersionstring

The protocol version of the 3DS challenge.

Example: 2.1.0
expirationint64

Time at which the card will expire. Measured in seconds since the Unix epoch.

Example: 2048544000
last4string

The last four digits of the card.

Example: 0004
Subscription-PaymentMethodCard
{
"country": "ES",
"brand": "visa",
"type": "credit",
"threeDSecure": false,
"threeDSecureVersion": "2.1.0",
"expiration": 2048544000,
"last4": "0004"
}