Braintree GraphQL API
- Endpoint
-
https://payments.sandbox.braintree-api.com/graphql - Spec
- introspection
- Docs
- https://developer.paypal.com/braintree/graphql/
Authorization: Basic <credential> Log in to the appropriate Braintree Control Panel for your environment — sandbox or production. Open the gear menu, choose API, and copy your public key, private key, and merchant ID from the API Keys section as described in Important Gateway Credentials. Keep the environment (sandbox or production) with the keys, since Braintree issues different credentials per environment.
Authorization: Bearer <credential> Create or configure a Braintree OAuth application from the Braintree OAuth docs starting at OAuth overview. Implement the merchant-facing OAuth flow to obtain an access token for each connected merchant, then use that token as a bearer token in API calls. For in-person integrations, Braintree’s API Authentication guide confirms this bearer-token option for third-party applications.