Pular para o conteúdo principal

Listar cartões

Request

ENDPOINT
/prepaid/card
MÉTODO
GET
PARÂMETROS
account_key, size, page

QUERY PARAMS

CampoTipoDescriçãoCaracteres
account_key *stringChave de identificação da conta de pagamento na QI Tech.uuid
sizeintQuantidade de registros que será retornado. Default 10.-
pageintPágina que será realizado a busca. Default 0.-

Response

STATUS
200
Response Body
{
"pagination": {
"current_page": 1,
"rows_per_page": 0,
"next_page": 2
},
"data": [
{
"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"
},
{
"card_key": "ee084f00-d72e-4263-87fb-3a3c11a418c6",
"account_key": "595e08f0-da4e-40f7-8db4-f9a25c829818",
"program_key": "6b6ebaac-043b-4390-8d62-e8098ec901e9",
"type": "virtual",
"card_name": "uber",
"printed_name": "Aurora Catarina",
"cvv_rotation_interval_hours": 72,
"created_at": "2023-02-10T11:28:16Z",
"updated_at": "2023-02-15T11:28:16Z",
"status": "canceled",
"brand": "visa"
}
]
}

Erros

STATUS
4XX
Response Body
{
"title": "Not Found",
"description": "It was not possible to fetch the Account for the account_key 94f982c0-164c-45e3-8a0e-69f54ad7b155.",
"translation": "Not Found Account",
"code": "CARD000006"
}
CodeStatus codeDescrição
CARD000006404It was not possible to fetch the Account for the account_key {account_key}.
CARD000021400Account key can not be null when search for cards.
CARD000022400Invalid integer value for page or size querystring parameters.