List Cards
Request
ENDPOINT
/prepaid/cardMETHOD
GETPARÂMETROS
account_key, size, pageQUERY PARAMS
Field | Type | Description | Characters |
---|---|---|---|
account_key * | string | QI Tech Payment Account Identification Key. | uuid |
size | int | Number of records that will be returned. Default 10. | - |
page | int | Page that will be searched. Default 0. | - |
Response
STATUS
200Response 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
4XXResponse 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"
}
Code | Status code | Description |
---|---|---|
CARD000006 | 404 | It was not possible to fetch the Account for the account_key {account_key}. |
CARD000021 | 400 | Account key can not be null when search for cards. |
CARD000022 | 400 | Invalid integer value for page or size querystring parameters. |