Buscar dados PCI
Request
ENDPOINT
/prepaid/card/CARD_KEY/pciMÉTODO
GETPath params
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
CARD_KEY * | string | Chave de identificação do cartão. | uuid |
Response
STATUS
200Response Body
{
"printed_name": "Aurora Catarina",
"valid_until": "2023-02-20T10:04:12Z",
"expiration_date": "03/24",
"card_number": "4539347744299311",
"cvv": "713"
}
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}. |
CARD000012 | 400 | It was not possible to fetch PCI for the card_key {card_key}. |