Skip to main content

deleteCustomer

Deletes a customer of the current account and the payment methods saved to it, then returns true. Refused while a subscription of the customer has the status ACTIVE, TRIALING, PAUSED or PAST_DUE, in live or test mode. Charges keep their customerId and their copy of the customer details. A customer that is not found returns a Customer not found error. Arguments: - id: ID of the customer to delete.

deleteCustomer(
id: ID!
): Boolean!

Arguments​

deleteCustomer.id ● ID! non-null scalar​

Type​

Boolean scalar​

The Boolean scalar type represents true or false.