Customers
API ReferenceCustomersDelete
Delete Customer
Delete a customer record.
DELETE /customers/:customer_id
Path Parameters
| Parameter | Type | Description |
|---|---|---|
customer_id | string | Required. The ID of the customer to delete. |
Request Example
curl -X DELETE 'https://api.v2.paychtec.com/customers/cus_1234567890abcdef' \ -H "api-key: snd_YOUR_API_KEY"Response
{
"customer_id": "cus_1234567890abcdef",
"deleted": true
}Deleting a customer is permanent and cannot be undone. Ensure the customer has no active mandates or subscriptions before deleting.