Payment-PaymentMethod
Details about the payment method at the time of the transaction.
Payment method type.
Enum Value | Description |
---|---|
alipay | Alipay |
card | Card |
bizum | Bizum |
paypal | PayPal |
cofidis | Cofidis |
cofidisLoan | Cofidis Loan |
mbway | MB WAY |
multibanco | Multibanco |
iDeal | iDEAL |
bancontact | Bancontact |
sofort | SOFORT |
trustly | Trustly |
sepa | SEPA |
klarna | Klarna |
giropay | Giropay |
eps | EPS |
blik | BLIK |
Possible values: [alipay
, card
, bizum
, paypal
, cofidis
, cofidisLoan
, mbway
, multibanco
, iDeal
, bancontact
, sofort
, trustly
, sepa
, klarna
, giropay
, eps
, blik
]
card
card object
Details about the card used as payment method at the time of the transaction.
Card brand.
Enum Value | Description |
---|---|
visa | Visa credit or debit card |
mastercard | Mastercard credit or debit card |
diners | Diners Club credit card |
amex | American Express credit card |
jcb | Japan Credit Bureau card |
unionpay | UnionPay card from China |
unknown | Card brand could not be determined |
Possible values: [visa
, mastercard
, diners
, amex
, jcb
, unionpay
, unknown
]
visa
Card type debit
or credit
.
Possible values: [debit
, credit
]
credit
Whether this transaction used 3D Secure authentication.
false
The protocol version of the 3DS challenge.
2.1.0
The flow used for 3DS authentication.
Enum Value | Description |
---|---|
CHALLENGE | Authentication requiring additional shopper interaction through biometrics, 2FA, or other SCA methods |
FRICTIONLESS | Background authentication using device fingerprint without additional shopper interaction |
FRICTIONLESS_CHALLENGE | Complete 3DS flow with additional authentication if initial data collection is insufficient |
DIRECT | Transaction exempt from SCA due to low risk assessment |
Possible values: [CHALLENGE
, FRICTIONLESS
, FRICTIONLESS_CHALLENGE
, DIRECT
]
CHALLENGE
Time at which the card will expire. Measured in seconds since the Unix epoch.
2048544000
The last four digits of the card.
0004
The digital wallet used to tokenize the card.
Possible values: [applePay
, googlePay
, clickToPay
]
applePay
The name of the cardholder.
John Doe
The email of the cardholder.
email@example.com
bizum object
Details about the Bizum account used as payment method at the time of the transaction.
Phone number in E.164 format used to pay with bizum
.
null
paypal object
Details from Paypal order used as payment method at the time of the transaction.
The Paypal's order ID.
7XP21983KL5672104
The Paypal's payer ID.
QWRTNBFHZXLPD
The Paypal's payer email.
john.doe@example.com
The Paypal's payer name.
John Doe
cofidis object
Details from Cofidis order used as payment method at the time of the transaction.
The Cofidis' order ID.
null
cofidisLoan object
Details from Cofidis order used as payment method at the time of the transaction.
The Cofidis' order ID.
null
mbway object
Details from MBWay order used as payment method at the time of the transaction.
Phone number in E.164 format used to pay with mbway
.
null
trustly object
Details from Trustly order used as payment method at the time of the transaction.
The Trustly's customer ID.
null
sepa object
Details from SEPA order used as payment method at the time of the transaction.
The address of the account holder.
null
The email of the account holder.
null
The name of the account holder.
null
The country code of the account holder.
null
The address of the bank.
null
The code of the bank.
null
The name of the bank.
null
The BIC of the bank.
null
The last 4 digits of the IBAN.
null
klarna object
Details from Klarna order used as payment method at the time of the transaction.
Enum Value | Description |
---|---|
PAY_LATER | Pay after delivery within a specified timeframe |
PAY_NOW | Immediate payment at time of purchase |
SLICE_IT | Split payment into installments |
SLICE_IT_BY_CARD | Split payment into installments using a card |
Possible values: [PAY_LATER
, PAY_NOW
, SLICE_IT
, SLICE_IT_BY_CARD
]
PAY_LATER
Enum Value | Description |
---|---|
invoice | Traditional invoice payment |
fixed_amount | Payment with a predetermined fixed amount |
pix | Brazilian instant payment system |
base_account | Payment from a basic account |
deferred_interest | Payment with delayed interest charges |
direct_debit | Direct bank account debit |
direct_bank_transfer | Immediate bank transfer |
b2b_invoice | Business-to-business invoice payment |
card | Credit or debit card payment |
slice_it_by_card | Installment payment using a card |
Possible values: [invoice
, fixed_amount
, pix
, base_account
, deferred_interest
, direct_debit
, direct_bank_transfer
, b2b_invoice
, card
, slice_it_by_card
]
card
{
"method": "card",
"card": {
"country": "ES",
"brand": "visa",
"type": "credit",
"threeDSecure": false,
"threeDSecureVersion": "2.1.0",
"threeDSecureFlow": "CHALLENGE",
"expiration": 2048544000,
"last4": "0004",
"tokenizationMethod": "applePay",
"cardholderName": "John Doe",
"cardholderEmail": "email@example.com"
},
"bizum": {
"phoneNumber": null
},
"paypal": {
"orderId": "7XP21983KL5672104",
"payerId": "QWRTNBFHZXLPD",
"email": "john.doe@example.com",
"name": "John Doe"
},
"cofidis": {
"orderId": null
},
"cofidisLoan": {
"orderId": null
},
"mbway": {
"phoneNumber": null
},
"trustly": {
"customerId": null
},
"sepa": {
"accountholderAddress": null,
"accountholderEmail": null,
"accountholderName": null,
"countryCode": null,
"bankAddress": null,
"bankCode": null,
"bankName": null,
"bic": null,
"last4": null
},
"klarna": {
"billingCategory": "PAY_LATER",
"authPaymentMethod": "card"
}
}