1. Home
  2. Wallet Service
  3. Wallet Management API
  4. Update Wallet Replace ID

Update Wallet Replace ID

This is the endpoint that updates a wallet by replacing all the identifiers of the wallet.

Request Message Description

Field#Field nameData typeRequired Max Length Description Options 
1nameStringyes
 name of wallet
2channel Stringyes 30 channel sending request “WEB” or “USSD” or “SERVICE” or “MOBILE”
3status String yes
Wallet Status“ACTIVE” or “INACTIVE”
4walletIdTypeStringyes
wallet Id Type
5walletIdStringyes
wallet Id
6newIdsMapyes
new Id
7domainStringno200wallet domain

Endpoint

Base URL : https://api-gateway.interswitchng.com

Request: POST  /generic-wallet/api/v1/wallets/update/replace/id

Headers

Content-Type: application/json
Authorization: {passport generated bearer token}

Sample Request

{
"name": "TESTER",
"status": "ACTIVE",
"walletIdType": "PHONE",
"walletId": "08012345678",
"newIds": {
"PHONE": "08012345678",
"EMAIL":"tester@gmail.com"
},
"channel": "service",
"domain" : "ISW"
}

Sample Response (success)

{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": null,
"count": 0
}

Was this article helpful to you? Yes No

How can we help?