This is the endpoint that activates a wallet, creates a card and sets the pin of the card to the given pin based on the configuration and implementation set on the client.
Request Message Description
Field# | Field name | Data type | Required | Max Length | Description | Options |
---|---|---|---|---|---|---|
1 | ids | Map | yes | wallet identifiers | ||
2 | channel | String | yes | 30 | channel sending request | “WEB” or “USSD” or “SERVICE” or “MOBILE” |
3 | encryptedPin | String | no | 32 | encrypted Pin | |
4 | domain | String | no | 200 | wallet domain |
Endpoint
Base URL : https://api-gateway.interswitchng.com
Request: POST /generic-wallet/api/v1/wallets/activate
Headers
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Request
{
"ids":
{
"PHONE":"08012345678"
},
"channel":"WEB",
"domain" : "ISW",
"encryptedPin":"31d7e6e95aa309fc21127391833733eb"
}
Sample Response (Success)
{
"statusCode": "200",
"responseCode": "00",
"responseMessage": "Successful",
"errors": null,
"modelList": null,
"count": 0
}