Skip to content

Get saved cards

GEThttps://api.gravv.xyz/v1/collections/cards

Returns all active saved cards for the customer.

Query Params

  • customer_idstring

    Filter saved cards by customer ID.

Responses

Language
curl --request GET \
--url 'https://api.gravv.xyz/v1/collections/cards' \
--header 'Api-Key: <Api Key>' \
--header 'accept: application/json'
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"card_token": "tokn_80aebb6ea2594a74bc215a64",
"card_last4": "1111",
"card_brand": "visa",
"card_exp_month": "12",
"card_exp_year": "2028",
"is_default": true,
"is_expiring_soon": false,
"created_at": "2026-04-08T10:00:00Z"
}
],
"error": null
}