cURL
curl --request DELETE \ --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/card-delete \ --header 'Authorization: Bearer <token>'
{ "success": true, "status": 123, "error": "<string>", "details": [ { "field": "<string>", "message": "<string>" } ] }
Removes a saved card. The default card cannot be deleted — set another card as default first with PATCH /card-set-default, then delete.
PATCH /card-set-default
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.
/auth-verify
/auth-signup
bearer_token
Card deleted