DELETE
/
api
/
customers
/
{customerId}
/
cards
/
{cardId}
curl --request DELETE \
  --url https://api.atoa.me/api/customers/{customerId}/cards/{cardId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Card deleted successfully"
}

Remove a saved payment method. The card can no longer be used for payments.

Authorization

Bearer <accessSecret>

Path Parameters

customerId
string
required

The customer UUID who owns the card.

cardId
string
required

The card identifier to delete.