This is the endpoint that select a new pin to an existing wallet.
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” | 
| 5 | domain | String | no | 200 | wallet domain | |
| 4 | newPinEncrypted | String | yes | New Pin Encrypted | ||
| 3 | walletId | String | yes | wallet identifier | ||
| 1 | walletIdType | Map | yes | wallet identifier type | 
Endpoint
Base URL : https://api-gateway.interswitchng.comRequest: POST/generic-wallet/api/v1/cards/select/pin
Header
Content-Type: application/json
Authorization: {passport generated bearer token}
Sample Request
{
     "walletId": "8011135687",
     "walletIdType":"Phone",
     "channel": "SERVICE",
     "newPinEncrypted": "31d7e6e95aa309fc21127391833733eb",
     "domain" : "ISW"
 }
Sample Response
{
     "statusCode": "200",
     "responseCode": "00",
     "responseMessage": "Successful",
     "errors": null,
     "modelList": null,
     "count": 0
 }