Contains data related to the user's payment card.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field account_representation . REQUIRED: The card details. account_representation can be only one of the following: |
|
card |
Representation of a card in its physical format (i.e. the FPAN). |
paymentToken |
Representation of a card that has been tokenized by the network. |
PaymentToken
The representation of a card after it has been tokenized by the network.
JSON representation |
---|
{ "nameOnCard": string, "paymentTokenAccountNumber": string, "expiryMonth": string, "expiryYear": string, "cryptogram": string, // Union field |
Fields | |
---|---|
nameOnCard |
REQUIRED: The customer's name as it appears on the card. |
paymentTokenAccountNumber |
REQUIRED: The account number for the payment token. |
expiryMonth |
OPTIONAL: Expiration month, formatted |
expiryYear |
OPTIONAL: Expiration year, formatted |
cryptogram |
OPTIONAL: The single-use key generated by the token provider for the transaction. |
Union field token_type . REQUIRED: The type of token. token_type can be only one of the following: |
|
tokenTypeDeviceToken |
The token is bound to a device. It is represented by a DPAN and was generated by the user going through a SCA (Strong Customer Authentication) / Step Up flow. |
tokenTypeMerchantToken |
The token is bound to a merchant. It could be used while the user is offline and might be accompanied by additional, transaction time authentication details, such as 3DS2. |
tokenTypeUnsupported |
Unsupported token type. |
tokenTypeNotApplicable |
Payment token type is not applicable. Not passed in the request. |