Delete a Customer

Deletes the specified customer object and all its associated data.

Examples
curl -X DELETE "https://api.chartmogul.com/v1/customers/cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034" \
     -u YOUR_API_KEY:
ChartMogul::Customer.retrieve('cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034').destroy!
ChartMogul.Customer.destroy(config, 
 "cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034");
<?php

ChartMogul\Customer::retrieve("cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034")->destroy()
;
?>
api.DeleteCustomer("cus_d4fc20bc-56e2-11ee-9227-ab7872a87ba1")
chartmogul.Customer.destroy(config, uuid="cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034")
Result Format
{ }
true
{ }
true
nil
None

🚧

Impact of this action

This request will permanently delete the customer and all associated data. Data deleted includes the customer's invoices, subscriptions, transactions and any customer attributes. The customer will also be removed from all reports in ChartMogul. This action cannot be undone.

📘

Customers from pre-built integrations

You can only delete customers using the Import API with this endpoint. If you are using one of our pre-built integrations with Stripe, Braintree, Recurly, Chargify or PayPal and want to delete a customer imported from these systems, you can do so from within your ChartMogul account.

Language
Authorization
Basic
base64
: