- [JSON representation](https://developers.google.com/pay/india-cards-v1/payment-integrator-india-cards-api/AccountDetails#SCHEMA_REPRESENTATION)
- [Card](https://developers.google.com/pay/india-cards-v1/payment-integrator-india-cards-api/AccountDetails#Card)
  - [JSON representation](https://developers.google.com/pay/india-cards-v1/payment-integrator-india-cards-api/AccountDetails#Card.SCHEMA_REPRESENTATION)

Contains data related to the user's payment card.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "card": { object (`https://developers.google.com/pay/india-cards-v1/payment-integrator-india-cards-api/AccountDetails#Card`) }, "paymentToken": { object (`https://developers.google.com/pay/india-cards-v1/payment-integrator-india-cards-api/PaymentToken`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| **REQUIRED**: The card details. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `card` | ``object (`https://developers.google.com/pay/india-cards-v1/payment-integrator-india-cards-api/AccountDetails#Card`)`` Representation of a card in its physical format (i.e. the FPAN). |
| `paymentToken` | ``object (`https://developers.google.com/pay/india-cards-v1/payment-integrator-india-cards-api/PaymentToken`)`` Representation of a card that has been tokenized by the network. |
| End of mutually exclusive fields. ||

## Card

Description of a payment card account (i.e., credit card, debit card, charge card).

| JSON representation |
|---|
| ``` { "accountNumber": string, "nameOnCard": string, "expiryMonth": string, "expiryYear": string, "cvn": string } ``` |

| Fields ||
|---|---|
| `accountNumber` | `string` **REQUIRED**: The account number itself (i.e., the FPAN). |
| `nameOnCard` | `string` **REQUIRED**: The customer's name as it appears on the card. |
| `expiryMonth` | `string` **OPTIONAL** : Expiration month, formatted `MM`. |
| `expiryYear` | `string` **OPTIONAL** : Expiration year, formatted `YY`. |
| `cvn` | `string` **OPTIONAL**: If Google collected the CVN from the user it is provided here and should be verified. |