This is the endpoint that update a wallet based on the configuration and implementation set on the client.
Request Message Description
Field# | Field name | Data type | Required | Max Length | Description | Options |
---|---|---|---|---|---|---|
1 | name | String | yes | name of wallet | ||
2 | channel | String | yes | 30 | channel sending request | “WEB” or “USSD” or “SERVICE” or “MOBILE” |
3 | status | String | yes | Wallet Status | “ACTIVE” or “INACTIVE” | |
4 | walletIdType | String | yes | wallet Id Type | ||
5 | walletId | String | yes | wallet Id | ||
6 | newIds | Map | yes | new Id | ||
7 | domain | String | no | 200 | wallet domain |
Endpoint
Base URL : https://api-gateway.interswitchng.com
Request: POST /generic-wallet/api/v1/wallets/update
Headers
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Request
{
"name": "TESTER1",
"status": "ACTIVE",
"walletIdType": "PHONE",
"walletId": "08012345678",
"channel": "service",
"domain" : "ISW"
}
Sample Response (success)
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": null,
"count": 0
}