You can delete a payment method using its token. All associated subscriptions will also be canceled.

$result = Braintree_PaymentMethod::delete('the_token');

#=> true

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

token required, string

The alphanumeric value that references a specific payment method stored in your Vault.

Still have questions?

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