- [JSON representation](https://developers.google.com/pay/card-fop-v1/google-card-fop-api/GspCardEnrichmentTransactionRecord#SCHEMA_REPRESENTATION)
- [EntryDetails](https://developers.google.com/pay/card-fop-v1/google-card-fop-api/GspCardEnrichmentTransactionRecord#EntryDetails)
  - [JSON representation](https://developers.google.com/pay/card-fop-v1/google-card-fop-api/GspCardEnrichmentTransactionRecord#EntryDetails.SCHEMA_REPRESENTATION)

Represents an individual Card/Netbanking transaction record.

| JSON representation |
|---|
| ``` { "entryId": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "payment": { object (`https://developers.google.com/pay/card-fop-v1/google-card-fop-api/GspCardEnrichmentTransactionRecord#EntryDetails`) }, "refund": { object (`https://developers.google.com/pay/card-fop-v1/google-card-fop-api/GspCardEnrichmentTransactionRecord#EntryDetails`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `entryId` | `string (https://developers.google.com/discovery/v1/type-format format)` **REQUIRED**: A non-zero and non-negative number within the settlement file that uniquely identifies a settlement line. |
| **REQUIRED**: The type of transaction this entry is about. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `payment` | ``object (`https://developers.google.com/pay/card-fop-v1/google-card-fop-api/GspCardEnrichmentTransactionRecord#EntryDetails`)`` This entry is for a payment. |
| `refund` | ``object (`https://developers.google.com/pay/card-fop-v1/google-card-fop-api/GspCardEnrichmentTransactionRecord#EntryDetails`)`` This entry is for a refund. |
| End of mutually exclusive fields. ||

## EntryDetails

| JSON representation |
|---|
| ``` { "merchantId": string, "bankId": string, "grossAmount": { object (`https://developers.google.com/pay/card-fop-v1/google-card-fop-api/settlementNotification#Amount`) }, "transactionDate": { object (`https://developers.google.com/pay/card-fop-v1/google-card-fop-api/settlementNotification#Timestamp`) }, "processorTransactionId": string, "paymentMethod": string, "invoiceId": string, "buyerName": string, "buyerAddress": string, "buyerAccount": string, "settlementLineOfBusinessId": string, "paymentCategory": string, "beneficiaryName": string, "beneficiaryAddress": string, "beneficiaryAccount": string } ``` |

| Fields ||
|---|---|
| `merchantId` | `string` **REQUIRED**: Merchant ID. |
| `bankId` | `string` **REQUIRED**: Bank ID. |
| `grossAmount` | ``object (`https://developers.google.com/pay/card-fop-v1/google-card-fop-api/settlementNotification#Amount`)`` **REQUIRED**: Gross Amount(Rs.Ps). |
| `transactionDate` | ``object (`https://developers.google.com/pay/card-fop-v1/google-card-fop-api/settlementNotification#Timestamp`)`` **REQUIRED**: Date of the transaction. |
| `processorTransactionId` | `string` **REQUIRED**: The processor's ID for this entry. For instance, if this entry is a payment, this is the processor's ID for the payment. If the entry is a refund, this is the processor's ID for the refund. |
| `paymentMethod` | `string` **REQUIRED**: Payment Method -- must be 'card' or 'nb' or 'upi'. |
| `invoiceId` | `string` **REQUIRED**: Invoice ID. |
| `buyerName` | `string` **REQUIRED**: Remitter name. This is just the customer name. |
| `buyerAddress` | `string` **REQUIRED**: Remitter address. This is just the Google customer ID. |
| `buyerAccount` | `string` **REQUIRED**: Google's transaction ID for this transaction. For examples, if this is a payment, this is the Google transaction ID for the payment. If this is a refund, this is the Google transaction ID for the refund. |
| `settlementLineOfBusinessId` | `string` **OPTIONAL**: The customer ID (i.e. Settlement Line of Business ID). |
| `paymentCategory` | `string` **OPTIONAL**: Payment Category. This is optional for now until we have clarity on the use case. |
| `beneficiaryName` | `string` **OPTIONAL**: Beneficiary name. This is just the Google coporate entity name, which Billdesk should already have. |
| `beneficiaryAddress` | `string` **OPTIONAL**: Beneficiary address. This is just the Google identifier for Billdesk, which they should already have. |
| `beneficiaryAccount` | `string` **OPTIONAL**: Beneficiary account. This is just the Google account identifier, which Billdesk should already have. |