This is the endpoint that get the balance statement for a wallet.
Request Message Description
Field# | Field name | Data type | Required | Max Length | Description | Options |
---|---|---|---|---|---|---|
1 | walletIdType | Map | yes | wallet identifier type | ||
2 | channel | String | yes | 30 | channel sending request | “WEB” or “USSD” or “SERVICE” or “MOBILE” |
3 | walletId | String | yes | wallet identifier | ||
4 | fromDate | String | yes | from | ||
5 | toDate | String | yes | to date | ||
6 | domain | String | no | 200 | wallet domain |
Endpoint
Base URL : https://api-gateway.interswitchng.com
Request: POST /generic-wallet/api/v1/cards/balance/statement
Header
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Request
{
"walletIdType": "NIN",
"walletId": "9999",
"channel": "SERVICE",
"domain" : "ISW",
"fromDate": "30/04/2018",
"toDate": "30/05/2018"
}
Sample Response (success)
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": null,
"count": 0,
"ledgerBalance": "99930010",
"availableBalance": "999930010"
}