Payment Method

Payment Method: Revoke

See also the Payment Method response object.

Availability
The Grant API is currently in a limited release.Contact us to determine whether it's right for your needs and to request access to the API.
The Grant API allows you to give another Braintree merchant controlled access to one of your customer's payment methods.

When you revoke a grant, we delete the version of the payment method from the receiving merchant's Vault.
  1. Ruby
gateway.payment_method.revoke("the_token"
Arguments
The alphanumeric value that references a specific payment method stored in your Vault.

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more