Skip to main content

Get card info

This operation allow you to query card user information.

note

If your api key has a public key loaded, the operation will return the card number ciphered. See Add your public key.

HTTP Request

GET /cards/info

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.
note

*If card_number is sended as 16 digits, it must be sended ciphered and Base 64 Encoded with URL and Filename Safe Alphabet. See Data encryption & encoding.

Example JSON Request:

GET /cards/info?card_number=11111111-daa7-1234-aaaa-123123123ecd

Example JSON response:

{
"success": true,
"code": 0,
"message": "OK",
"data": {
"account": {
"id": "78458a5b-ac25-4f7a-1234-4cb78eeb234e",
"reference": 555555555
},
"card": {
"id": "11111111-daa7-1234-aaaa-123123123ecd",
"masked_card_number": "************1234",
"card_type": "PHYSICAL",
"status": "ACTIVE",
"card_number": "hsy36Gsrw934jhGUo/PMs8/dYFY+QBZidvVprSGXEZxo0Hk5HPVt3kEqI8dVvRlL8t8o0h6p5OwYnXx0Hg40E/btpkpbesKDqRjaTCPHs2Czi42Q7l1QJVCM4x5wBK18HByk3IMaGmzzCM4A1l3bF9eX/mZyaSdY3cpBdD3c2wRIX73Qju52btNqWY6PIVVAI1VnocHGWBYDxHWDjL/pbx1H+iD3wlDPoezpEQk4d7IkXWyueDoyU2PAOZd7EC4Zs+uFMtiNCQUOXCbBtKgCAsAPy18UzN54i2Lv+0Y1EOQ6GM0xoqHersqPPrZ/6EBYD1ki9AsCKi7H5eDTN4oLqg==",
"activity": {
"last_approved_operation": "N/D",
"last_denied_operation": "2021-04-08 15:54:37",
"last_block_status": "2021-04-05 22:57:15"
}
},
"cardholder": {
"name": "Jonh Doe",
"phone": "5555555555",
"address": "Av. Siempre #12 Lt3.",
"postal_code": "55120",
"township": "Benito Juárez",
"country": "MEXICO ",
"document": {
"type": "INE",
"number": "321321321321321"
}
}
}
}