1. Home
  2. Virtual Card Management
  3. Pin Reset

Pin Reset

Pin Reset OTP  Endpoint

Endpoint

PUT {scheme}://{host}:{port}/virtual-card/api/v1/cards/reset-pin-otp

Request Type is application/json

Authorization: {passport generated bearer token}

Request Message description

Field#Field nameData typeMax lengthRequiredDescription
1mobileNumberString25Yes

Sample Request

{
    “mobileNumber” : “2348065186175”
}

Sample Success Response

{
      “responseCode”: “00”,
      “responseMessage”: “Successful”,

      “data”:{

           “transactionReference”: “6f162de4”

      }

}

Sample Failed Response

{
    “responseCode”: “W102”,
    “responseMessage”: “Failed to complete request”,
    “errors”: [
        {
            “fieldName”: null,
            “code”: “10400”,
            “message”: “Bad request Error 1: pan-> not a valid card number”
        }
    ]
}

Pin Reset OTP  Endpoint

Endpoint

PUT {scheme}://{host}:{port}/virtual-card/api/v1/cards/reset-pin-resend-otp

Request Type is application/json

Authorization: {passport generated bearer token}

Request Message description

Field#Field nameData typeMax lengthRequiredDescription
1mobileNumberString25Yes
2transactionReferenceString
Yes

Sample Request

{
    “mobileNumber” : “2348065186175”,

     “transactionReference” : “6f162de4”


}

Sample Success Response

{
      “responseCode”: “00”,
      “responseMessage”: “Successful”,

      “data”:{

           “transactionReference”: “6f162de4”

      }

}

Sample Failed Response

{
    “responseCode”: “W102”,
    “responseMessage”: “Failed to complete request”,
    “errors”: [
        {
            “fieldName”: null,
            “code”: “10400”,
            “message”: “Bad request Error 1: pan-> not a valid card number”
        }
    ]
}




Pin Reset  Endpoint

Endpoint

PUT {scheme}://{host}:{port}/virtual-card/api/v1/cards/reset-pin

Request Type is application/json

Authorization: {passport generated bearer token}

Request Message description

Field#Field nameData typeMax lengthRequiredDescription
1mobileNumberString25Yes
2transactionReferenceString
Yes
3newPinString
Yes
4otpString
yes

Plain Sample Request

{
    “mobileNumber” : “2348065186175”,

     “transactionReference” : “6f162de4”,

     “newPin” : “1234”,
     “otp” : “485320”

}

Encrypted Sample Request

{   

      “data”:”T4DZPBE42uzXl61K5fckw8b0ZrzR5+nvNLEaTA9jFptCBq0nNN1tCk7QzcgajBbad1/pbC8QUf7oYZ1rVqQ/Kghyi0aC5tIyL2h3ul/jiPyjEmb18I0xTSz3w==”
}

Sample Success Response

{
      “responseCode”: “00”,
      “responseMessage”: “Successful”,

      “data”:{

           “maskedPan”: “506321*********0545”

      }

}

Sample Failed Response

{
    “responseCode”: “W102”,
    “responseMessage”: “Failed to complete request”,
    “errors”: [
        {
            “fieldName”: null,
            “code”: “10400”,
            “message”: “Bad request Error 1: pan-> not a valid card number”
        }
    ]
}

Was this article helpful to you? Yes 2 No 1

How can we help?