Page Summary
-
The JSON representation outlines the structure of a tokenized card's data.
-
Essential fields include the cardholder's name and the payment token account number.
-
Optional fields like expiry date, cryptogram, and CVN may also be included for enhanced security and transaction processing.
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,
"cvn": string,
"last4DigitsOnCard": string,
"additionalPaymentTokenInfo": {
object ( |
| 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. |
cvn |
OPTIONAL: If Google collected the CVN from the user it is provided here. |
last4DigitsOnCard |
OPTIONAL: The last four digits of the Card. |
additionalPaymentTokenInfo |
OPTIONAL: The type of the token and additional information for that token type. |
AdditionalPaymentTokenInfo
Contains the type of the token and additional information for that token type.
| JSON representation |
|---|
{ // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "cloudTokenInfo": { object ( |
| Fields | |
|---|---|
| REQUIRED: The additional token info for the payment token. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
cloudTokenInfo |
The cloud token info for the payment token. |
altIdTokenInfo |
The alt ID token info for the payment token. |
| End of mutually exclusive fields. | |
CloudTokenInfo
This type has no fields.
Additional information about a cloud token.
AltIdTokenInfo
This type has no fields.
Additional information about an alt ID token.