Get a collection of cards
Get all cards belonging to a specific card type. Use filters such as customer_id and is_valid to narrow results. See Cards for details.
Path parameters
The unique ID of the card type.
Query parameters
The number of records to return in API response.
⚠️ We recommended adjust the batch size based on processing time. Depending on the response time of the request. Default value of 100 records is used if count parameter is not set.
The number of records from a collection to skip. Default value of 0 is used when parameter offset is not set.
Name of the sorting parameter. You can sort by any of the first level parameters from the resource response. Response is sorted by the specified field.
Direction of sorting the response list.
The unique ID of the customer. GET /customers
in validity range - true / before or after validity range - false / no value - all
Headers
The unique ID of the language code by ISO 639-1.
Response
OK
Example response
{
"data": {
"cards": [
{
"card_id": "81eaeea13b8984a169c490a325",
"customer_id": "8ea2591121e636086a4a9c0992",
"card_type_id": "8bed991c68a470e7aaeffbf048",
"card_number": "1000000000016",
"secondary_card_number": "AXNFUAIOHFDSNKA",
"valid_from": "2021-04-14 00:00:00",
"valid_to": "2059-07-05 00:00:00",
"last_change": "2019-07-15 17:26:34",
"state": 1
}
],
"total_items": 1
}
}