Get PIN
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
| Field | Field Name | Data Type | Max Length | Description | Required |
|---|---|---|---|---|---|
| 1 | issuerNr | int | 3 | The id of the issuer | No |
| 2 | accountId | string | 10 to 28 | The account number tied to the card | Yes |
| 3 | panLast4Digits | string | 4 | The last 4 digits of the card number | Yes |
Response Description
| Field | Description | Present |
|---|---|---|
| code | The response code | Always |
| description | The description of the response code | Always |
| errors | The list of request validation errors | If request has validation errors |
| pin | The card PIN | If 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"
}
Updated 4 months ago
