Buscar cartão por chave
Request
ENDPOINT
/prepaid/card/CARD_KEYMÉTODO
GETPath params
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
CARD_KEY * | string | Chave de identificação do cartão. | uuid |
Response
STATUS
200Response Body
{
"card_key": "05fd3654-1f5d-479d-ade5-64239fdf214d",
"account_key": "595e08f0-da4e-40f7-8db4-f9a25c829818",
"program_key": "6b6ebaac-043b-4390-8d62-e8098ec901e9",
"type": "virtual",
"card_name": "ecommerce",
"printed_name": "Aurora Catarina",
"cvv_rotation_interval_hours": 72,
"created_at": "2023-02-20T19:28:16Z",
"updated_at": "2023-02-22T19:28:16Z",
"status": "active",
"brand": "visa",
"last_four_digits": "5695",
"status_events": [
{
"status": "created",
"created_at": "2023-02-20T19:28:16Z"
},
{
"status": "active",
"created_at": "2023-02-20T19:35:10Z"
}
]
}
Erros
STATUS
4XXResponse Body
{
"title": "Not Found",
"description": "It was not possible to fetch the Card for the card_key f6bf148a-30b6-4a07-8c5b-3383a98ea32b.",
"translation": "Not Found Card",
"code": "CARD000011"
}
Code | Status code | Descrição |
---|---|---|
CARD000011 | 404 | It was not possible to fetch the Card for the card_key {card_key}. |
CARD000016 | 400 | We're sorry, but the card could not be fetch. Please try again later. |