This is the endpoint that is use to get 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 |
Endpoint
Base URL : https://api-gateway.interswitchng.com
Request: GET {scheme}://{host}:{port}/generic-wallet/api/v1/wallets/get?walletIdType={{walletIdType}}&walletId={{walletId}}&channel={{channel}}
Headers
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Response (Success)
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": [
{
"id": 304079,
"name": "TESTER1",
"domainId": "20",
"domainCode": "ISW",
"status": "ACTIVE"
}
],
"count": 1
}