Authenticate card for cardholder
This endpoint allows you to authenticate a cardholder for card validation using the last 4 digits from the card number and 2 last digits from ATM PIN.
HTTP Request
POST /cards/authenticate
Header Parameters
Header | Description |
---|---|
Authorization required | The Bearer token created in Get authorization Token |
Content-Type required | application/json |
Query parameters
Parameter | Type | Pattern | Description |
---|---|---|---|
card_number required | string | 16 digits* or uuid | The card_number or card_id to be requested. |
authentication_info required | string | 6 digits | Last four from card + 2 last ATM PIN digits |
note
*If card_number is sended as 16 digits, it must be sended ciphered and Base 64 Encoded. See Data encryption & encoding.
Example JSON Request:
GET /cards/authenticate?card_number=12123214-2e34-4fff-844f-321654987123&authentication_info=123476
Example JSON Response:
{
"success": true,
"code": 0,
"message": "Authentication successful!",
"data": {
"validated": true
}
}