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 uses Braintree Auth to connect you and a receiving Braintree merchant. When you are whitelisted for the Grant API, you will also be whitelisted for Braintree Auth so you can integrate the Connect and OAuth flows.

Once the recipient goes through these flows and consents to receiving granted payment methods from you, you'll receive an access_token. This token contains encoded information about the merchant you connected with and the actions you can take on their behalf.

To use the Grant API with a connected merchant, the access_token must include the right to grant payment methods to that merchant. When setting the connect_url, be sure to include the OAuth scope grant_payment_method.

Next: Vaulting →

Still have questions?

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