You can delete a customer using its ID. When a customer is deleted, all associated payment methods are also deleted, and all associated recurring billing subscriptions are canceled.

Click to copy
$result = Braintree_Customer::delete('a_customer_id');

#=> true

If the customer cannot be found, you'll receive a Braintree_Exception_NotFound exception.

customerId required, string

A string value representing an existing customer in your Vault.

Still have questions?

If you can’t find an answer, contact our Support team.