curl --request GET \
--url https://api.cartevo.co/api/v1/cards \
--header 'Authorization: Bearer <token>'{
"success": true,
"statusCode": 200,
"message": "Data retrieved successfully",
"data": {
"company_id": "eca5e982-00b5-4aa2-b709-7d5cd673e95c",
"statistics": {
"total": 5,
"active": 5,
"frozen": 0,
"terminated": 0,
"pending": 0,
"failed": 0,
"total_balance": 16,
"available_slots": 5,
"by_customer": {}
},
"cards": [
{
"id": "91b3c6d6-111b-44da-9f81-16f019bebe8c",
"customer_id": "4d4dad81-7899-4612-a9f6-133ce56a4507",
"status": "ACTIVE",
"balance": 5,
"masked_number": "**** **** **** 5407",
"currency": "USD",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"is_active": true,
"is_virtual": true
}
]
}
}Retrieves a list of all cards for the authenticated company with statistics.
curl --request GET \
--url https://api.cartevo.co/api/v1/cards \
--header 'Authorization: Bearer <token>'{
"success": true,
"statusCode": 200,
"message": "Data retrieved successfully",
"data": {
"company_id": "eca5e982-00b5-4aa2-b709-7d5cd673e95c",
"statistics": {
"total": 5,
"active": 5,
"frozen": 0,
"terminated": 0,
"pending": 0,
"failed": 0,
"total_balance": 16,
"available_slots": 5,
"by_customer": {}
},
"cards": [
{
"id": "91b3c6d6-111b-44da-9f81-16f019bebe8c",
"customer_id": "4d4dad81-7899-4612-a9f6-133ce56a4507",
"status": "ACTIVE",
"balance": 5,
"masked_number": "**** **** **** 5407",
"currency": "USD",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"is_active": true,
"is_virtual": true
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A list of cards with company statistics.
true
200
"Data retrieved successfully"
Show child attributes
"eca5e982-00b5-4aa2-b709-7d5cd673e95c"
Show child attributes
5
5
0
0
0
0
16
5
Show child attributes
Show child attributes
"91b3c6d6-111b-44da-9f81-16f019bebe8c"
"4d4dad81-7899-4612-a9f6-133ce56a4507"
"ACTIVE"
5
"**** **** **** 5407"
"USD"
true
true