Check Bulk Card Balance API
Headers
Request Body Parameters
| Parameters | Parameter description with validations | Sample | Data type | Mandatory/Optional |
| cardReferenceNumbers | List of card reference numbers to check | Must contain at least one valid card reference number. Each element is a string. e.g. - 1500001027, 1500001028 | Array | Mandatory |
Sample Request Body
Response Body Parameters
| Parameters | Description | Data type |
| statusCode | Status Code(0/1) | String |
| statusDesc | Status Description of Status | String |
| status | SUCCESS/FAILED | String |
| fetchedAt | Timestamp of when the balances were fetched | Date-Time |
| data | List of balance results for each card reference number | Array |
| cardReferenceNumber | The reference number of the card | String |
| balance | Available balance of the card | Decimal |
| reason | Explanation if balance cannot be fetched | String |
Sample Response Body
SUCCESS:
FAILED:
If card is not mapped to the customer.
Detailed Status Codes
| Status | Response Type | Description |
| 0 | SUCCESS | Balances fetched successfully |
| 1 | FAILED | Error Fetching Balance from Wallet |