The Payment Method Object

Attributes

This object represents a payment method that can be associated with a customer for back-to-back payments.

idstring

The unique identifier of the payment method (MAX 64; MIN 36).

Example: 693ed90e-5aa9-11ed-9b6a-0242ac120002

namestring

The payment method name (MAX 255; MIN 3).

Example: CARD

descriptionstring

The payment method description (MAX 255; MIN 3).

Example: CARD

typeenum

The payment method type (MAX 255; MIN 3).

Possible enum values: Check the Payment type list.

categoryenum

The payment method category (MAX 255; MIN 3).

Example: CARD

countryenum

The customer’s country (MAX 2; MIN 2; ISO 3166-1 ).

Possible enum values: Check the Country reference.

last_successfully_usedbool

Indicates if the enrolled payment method was the last successfully used by the customer ).

Example: True

last_successfully_used_attimestamp

Indicates the date of the last succeeded payment if the enrolled payment method was the last successfully used by the customer ).

Example: “2023-01-24T12:50:43.938087Z”

workflowenum

The payment workflow indicates whether the integration will use WHITELABEL’s SDK or will be a back to back connection.

Possible enum values: If CHECKOUT you will use WHITELABEL SDK. If DIRECT, you will use a back-to-back integration.

card_dataobject

Specifies the details of the card.

Hide properties
iininteger

The issuer identification number (IIN) refers to the first few digits of the payment card number issued by a financial institution (MAX 8; MIN 6).

Example: 45079900

lfdinteger

The last four digits of the card (MAX 4; MIN 4).

Example: 0010

expiration_monthinteger

The expiration month of the card (MAX 2; MIN 2) - only available for PCI certified merchants.

Example: 12

expiration_yearinteger

The expiration year of the card (MAX 2; MIN 2) - only available for PCI certified merchants.

Example: 12

number_lengthinteger

The length of the card’s number (MAX 19; MIN 8).

Example: 41961111

security_code_lengthinteger

The length of the card’s security code (MAX 4; MIN 3).

Example: 123

brandstring

The card’s brand information (MAX 255; MIN 3).

Example: VISA

issuerstring

The card’s issuer (MAX 255; MIN 3).

Example: Banco Galicia

categorystring

The category of the card’s issuer (MAX 255; MIN 3).

Example: Gold

typestring

The type of the card’s issuer (MAX 255; MIN 3).

Example: CREDIT, DEBIT, or PREPAID

callback_urlstring

URL to return the customer after an enrollment in a provider’s environment. Only necessary for alternative payment methods integrations (MAX: 64; MIN: 36).

Example: https://www.company.com/customer_1231324

verifyobject

Indicates whether to verify the payment with a verify transaction or not. You’ll need to have a provider defined in your CARD route.

Hide properties
vault_on_successboolean

Indicates whether to verify the payment with a verify transaction or not. False by default.

currencyenum

Currency of the card verification.(MAX 3; MIN 3; ISO 4217 ).

Possible enum values: Check the Country reference.

statusenum

The status of the payment method (MAX 255; MIN 5).

Possible enum values: Check the Payment method status.

vaulted_tokenstring

The vaulted token for the previously enrolled payment method (MAX 64; MIN 36).

Example: 321c12f6-42c2-45b7-bf0c-f2f767b31948

created_attimestamp

Payment method creation date and time (MAX 27; MIN 27; ISO 8601 ).

Example: 2022-05-09T20:46:54.786342Z

updated_attimestamp

Last payment method update date and time (MAX 27; MIN 27; ISO 8601 ).

Example: 2022-05-09T20:46:54.786342Z