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

Delete a customer by ID. This also removes all saved payment methods associated with the customer.

Authorization

Bearer <accessSecret>

Path Parameters

customerId
string
required

The customer’s unique identifier (UUID).