Payment Methods
Delete Payment Method
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
requiredThe customer UUID who owns the card.
cardId
string
requiredThe card identifier to delete.
curl --request DELETE \
--url https://api.atoa.me/api/customers/{customerId}/cards/{cardId} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Card deleted successfully"
}