Skip to main content

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

HeaderDescription
Authorization 
required
The Bearer token created in
Get authorization Token
Content-Type
required
application/json

Query parameters

ParameterTypePatternDescription
card_number 
required
string16 digits* or uuidThe card_number or card_id to be requested.
authentication_info 
required
string6 digitsLast 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
}
}