AccountDetails

Contains data related to the user's payment card.

JSON representation
{

  // Union field account_representation can be only one of the following:
  "card": {
    object (Card)
  },
  "paymentToken": {
    object (PaymentToken)
  }
  // End of list of possible types for union field account_representation.
}
Fields
Union field account_representation. REQUIRED: The card details. account_representation can be only one of the following:
card

object (Card)

Representation of a card in its physical format (i.e. the FPAN).

paymentToken

object (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
}
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.