Buscar cartão por chave
Request
ENDPOINT
/wallet/WALLET_KEY/card/CARD_KEYMÉTODO
GETPath params
| Campo | Tipo | Descrição | Caracteres |
|---|---|---|---|
WALLET_KEY * | string | Chave de identificação do carteira. | uuid |
CARD_KEY * | string | Chave de identificação do cartão. | uuid |
Response
STATUS
200Response Body
{
"card_key": "05fd3654-1f5d-479d-ade5-64239fdf214d",
"status": "active",
"account_key": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"program_key": "6b6ebaac-043b-4390-8d62-e8098ec901e9",
"type": "virtual",
"card_name": "ecommerce",
"printed_name": "Aurora Catarina",
"brand": "visa",
"last_four_digits": "5695",
"created_at": "2023-02-20T19:28:16Z",
"updated_at": "2023-02-22T19:28:16Z",
"cvv_rotation_interval_hours": 72
}
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. |