PaymentMethod
The PaymentMethod object
Unique identifier for the object.
The ID of the Customer to which this PaymentMethod is saved.
The ID of the PaymentGateway through which this PaymentMethod is processed.
The ID of the PaymentMethod as registered in the external PaymentGateway system. Used to reference the method in operations with the provider.
Email address associated with the PaymentMethod holder. This may differ from the Customer's email.
Full name of the individual or entity that owns the PaymentMethod. This may differ from the Customer's registered name.
creditCard object
If this is a card PaymentMethod, this contains the user’s card details.
Card brand
Card masked PAN
Two-digit number representing the card’s expiration month.
Four-digit number representing the card’s expiration year.
directDebit object
If this is a sepa_debit PaymentMethod, this contains the user’s card details.
ID of the bank account.
BIC of the bank account.
IBAN of the bank account.
{
"id": "string",
"customerId": "string",
"paymentGatewayId": "string",
"externalId": "string",
"holderEmail": "string",
"holderName": "string",
"creditCard": {
"brand": "string",
"pan": "string",
"expiration": "string",
"expirationMonth": 0,
"expirationYear": 0,
"product": "string"
},
"directDebit": {
"accountId": "string",
"accountBic": "string",
"accountIban": "string"
},
"additionalInformation1": "string",
"additionalInformation2": "string",
"additionalInformation3": "string"
}