This is the endpoint that get wallet status, to know if it is activated and if it has a card in it.
Request Message Description
Field# | Field name | Data type | Required | Max Length | Description | Options |
---|---|---|---|---|---|---|
2 | channel | String | yes | 30 | channel sending request | “WEB” or “USSD” or “SERVICE” or “MOBILE” |
4 | domain | String | no | 200 | wallet domain | |
3 | walletId | String | yes | wallet identifier | ||
1 | walletIdType | Map | yes | wallet identifier type |
Endpoint
Base URL : https://api-gateway.interswitchng.com
Request: GET /generic-wallet/api/v1/wallets/status?walletIdType={{walletIdType}}&walletId={{walletId}}&channel={{channel}}
Headers
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Response
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": [
{
"walletId": 304484,
"activated": true,
"cardCreated": true
}
],
"count": 1
}