PaymentToken
Stay organized with collections
Save and categorize content based on your preferences.
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
} |
Fields |
nameOnCard |
string
REQUIRED: The customer's name as it appears on the card.
|
paymentTokenAccountNumber |
string
REQUIRED: The account number for the payment token.
|
expiryMonth |
string
OPTIONAL: Expiration month, formatted MM .
|
expiryYear |
string
OPTIONAL: Expiration year, formatted YY .
|
cryptogram |
string
OPTIONAL: The single-use key generated by the token provider for the transaction.
|
cvn |
string
OPTIONAL: If Google collected the CVN from the user it is provided here.
|
last4DigitsOnCard |
string
OPTIONAL: The last four digits of the Card.
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["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 JSON representation of a tokenized card includes the cardholder's name (`nameOnCard`), the payment token account number (`paymentTokenAccountNumber`), and optionally, the expiration month (`expiryMonth`) and year (`expiryYear`). Additionally, it may contain a transaction-specific cryptogram (`cryptogram`), the card's CVN (`cvn`), and the last four digits of the card (`last4DigitsOnCard`). The name and account number are mandatory fields.\n"]]