Skip to main content
GET
/
card-list
List saved cards
curl --request GET \
  --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/card-list \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "status": 200,
  "data": [
    {
      "id": "c1d2e3f4-a5b6-7890-abcd-ef1234567890",
      "last4": "4081",
      "brand": "visa",
      "exp_month": "12",
      "exp_year": "2027",
      "bank": "GTBank",
      "signature": "SIG_abc456",
      "is_default": true,
      "created_at": "2026-04-18T10:00:00.000Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT access token obtained from /auth-verify (login context) or /auth-signup. Set the bearer_token environment variable in your API client to apply it globally.

Response

Cards returned

success
boolean
Example:

true

status
integer
Example:

200

data
object[]