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 uses OAuth to connect a
granting Braintree merchant and a receiving Braintree merchant. Once the recipient goes through
these flows and consents to receiving granted payment methods, the grantor will receive an
AccessToken. This token contains encoded information about the recipient,
information to the Grant API connection, and the actions the grantor can take on the recipient's
behalf. To use the Grant API with the recipient, the AccessToken must
include the right to grant payment methods to that merchant. When setting the
ConnectUrl, the grantor must include the OAuth scope
GrantPaymentMethod.
Configuring OAuth scopes
Search for transactions
The recipient can
search for any
transactions they've created using granted payment methods, but in order for the grantor to access
this data, the AccessToken must include the right to search facilitated
transactions. As the grantor, be sure to include the
OAuth scopeReadFacilitatedTransactions, in addition to
GrantPaymentMethod, when setting the
ConnectUrl.
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