Braintree OAuth Integration
Connect Braintree to your application and send authenticated API requests through Pathfix.
Braintree is a payment processing platform owned by PayPal. In Pathfix, Braintree uses client key based authorization rather than an OAuth app. Users connect their Braintree account through Pathfix, and your application sends Braintree API requests through the Pathfix passthrough API.
How Pathfix helps
- 01
User connections
Users connect their Braintree account to your app through the Pathfix Connect button.
- 02
Test before you ship
Use Test Connection in Pathfix to connect an account in the API Playground and run sample Braintree calls.
- 03
Authenticated API passthrough
Your application sends Braintree API requests through Pathfix, which adds the connected user’s credentials before passing them on to Braintree.
You own the Braintree account and credentials, and your code implements the API logic.
POST https://labs.pathfix.com/oauth/method/braintreeclientkey/callHow to get started
- 1
Select Braintree in Pathfix
Add an application in your Pathfix account and select Braintree from the providers. It uses client key based authorization rather than an OAuth app.
- 2
Test the connection
Use Test Connection to connect an account in the API Playground and run a sample call.
- 3
Add the Connect button
Add the Pathfix Connect button to your app so users can connect their Braintree account.
- 4
Call the Braintree API
Send requests through the Pathfix passthrough API using the provider reference
braintreeclientkey.