Fetch Single Card By PAN
This API handles requests to fetch single card by PAN, Issuer Number, Sequence Number and Expiry Date.
Request Message description
Field # | Field name | Data type | Max length | Required | Description |
---|---|---|---|---|---|
1 | issuerNr | int | 3 | true | Issuer Number e.g 2 |
2 | pan | string | 16 to 19 | true | Card Personal Account Number (PAN) |
3 | cardSequenceNr | string | true | Card Sequence Number | |
4 | expiryDate | string | 4 to 4 | true | Card Expiry Date |
POST /card-management/api/v1/card/fetchSingle
Authorization = Bearer Token
Sample Request
{
"issuerNr": 2,
"pan": "5061800000000000363",
"cardSequenceNr": "001",
"expiryDate": "5004"
}
Response Message field description
Field # | Field name | Description |
---|---|---|
1 | code | Internal Response Code |
2 | description | Successful or Error Message |
3 | cardDetails | List of Card Details |
4 | errors | Errors array if any errors exists. |
Sample Response (success)
{
"code": "00",
"description": "Successful",
"cardDetails": [
{
"pan": "5061800000000000363",
"expiryDate": "2305",
"issuerNr": "4",
"firstName": "Test",
"lastName": "Test",
"nameOnCard": "Test",
"cardProgram": "VISA",
"customerId": "20220801105234816930543",
"cardStatus": "1",
"seqNr": "001"
}
]
}
Sample Response (failure)
{
"code": "10500",
"description": "Error Processing Request",
"correlationId": "2aa197eda43540a4ad85b8d0bf570871"
}
Updated 7 months ago