This API retrieves the PIN of the card with the specified details.

Endpoint

Sample Request
POST /card-management/api/v1/card/get-pin

Authorization

Headers
Authorization = Bearer Token

Request Description

FieldField NameData TypeMax LengthDescriptionRequired
1issuerNrint3The id of the issuerNo
2accountIdstring10 to 28The account number tied to the cardYes
3panLast4Digitsstring4The last 4 digits of the card numberYes

Response Description

FieldDescriptionPresent
codeThe response codeAlways
descriptionThe description of the response codeAlways
errorsThe list of request validation errorsIf request has validation errors
pinThe card PINIf call is successful

Sample Request

Content-Type: application/json; HTTP Method: POST

{
    "issuerNr": 1,
    "accountId": "0110001100", 
    "panLast4Digits": "4606"
}

Sample Response

Content-Type: application/json

{
  "code": "00",
  "description": "Successful",
  "pin": "1234"
}