See also the Braintree_PaymentMethod response object.

availability

The Grant API is currently in a limited release. To determine whether it's right for your needs and to request access to the API, contact commerce-infrastructure@braintreepayments.com.

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.

PHP
Click to copy
Copied
gateway->paymentMethod()->revoke(
  'the_token'
);
Arguments
sharedPaymentMethodToken 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.