1. Home
  2. Wallet Service
  3. Card Management API
  4. Change PIN

Change PIN

This is the endpoint that changes pin for a wallet.

Request Message Description

Field#Field nameData typeRequired Max Length Description Options 
1walletIdTypeMapyes
 wallet identifier type
2channel Stringyes 30 channel sending request “WEB” or “USSD” or “SERVICE” or “MOBILE”
3walletId String yes
wallet identifier
4oldPinEncryptedStringyes
Old Pin Encrypted
5newPinEncryptedStringyes
New Pin Encrypted
6domainStringno200wallet domain

Endpoint

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

Request: POST  /generic-wallet/api/v1/cards/change/pin

Headers

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

Sample Request

{
"walletIdType": "NIN",
"walletId": "9999",
"channel": "SERVICE",
"oldPinEncrypted":"31d7e6e95aa309fc21127391833733eb",
"newPinEncrypted": "31d7e6e95aa309fc21127391833733eb",
"domain" : "ISW"
}

Sample Response (success)

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

Was this article helpful to you? Yes 1 No

How can we help?