v1

latestOpenAPI 3.1.02026-07-265817860.8 KB
customers

Deletes a customer by ID.

post/v1/customers.delete

Headers

x-api-versionstring required

Request body

customer_idstring required

ID of the customer to delete

delete_in_stripeboolean

Whether to also delete the customer in Stripe

Example request

{
  "customer_id": "cus_123",
  "delete_in_stripe": false
}

Response

OK

successboolean required