Overview
Phinite’s Braintree predefined tool lets workspace assistants call Braintree APIs through DevStudio after you save a connection under Integrations → Predefined tools. Interact with the Braintree (PayPal) GraphQL API — run GraphQL queries/mutations plus convenience operations for transactions and customers.Predefined tools require a saved connection before they appear in Graph Studio’s tool picker. See Predefined Tools in GraphStudio.
What this integration enables
- Automate workflows using this predefined tool from agent graphs
- Connect once under Integrations and reuse across assistants
- Enable individual subtools per agent in Graph Studio
Required credentials
- Public Key
public_key(required) - Private Key
private_key(required) - Environment
environment(optional) - API Version
api_version(optional)
Setup steps
- Create a Braintree sandbox account at braintreepayments.com.
- In the Control Panel go to Settings → API and generate API keys.
- Copy the public key, private key, and set environment to
sandboxorproduction. - Log into your Phinite workspace at app.phinite.ai
- Navigate to Integrations → Predefined tools
- Select Braintree
- Click + Add Configuration
- Enter the credential fields listed above
- Select assistants that should use this connection
- Click Save Configuration
Configure in Graph Studio
- Open an agent in Graph Studio
- Select the agent node → Tools tab → Add a new tool
- Choose BraintreeTool (or search for Braintree)
- Select your saved connection or add a new one
- Enable the subtools your workflow needs and save
Predefined tools
Phinite provides 7 subtools for Braintree:- Execute Graphql: Run an arbitrary Braintree GraphQL query or mutation with optional variables.
- Ping: Connectivity/auth check (GraphQL ping).
- Create Transaction: Charge a stored payment method. Requires payment_method_id and amount.
- Find Transaction: Fetch a transaction by its node id.
- Refund Transaction: Refund a settled transaction. Optionally provide a partial amount.
- Create Customer: Create a customer. Pass an input object (firstName, lastName, email, …).
- Find Customer: Fetch a customer by its node id.
Documentation & resources
- Official documentation:
https://developer.paypal.com/braintree/docs - Phinite documentation: Braintree
Notes
- Store API keys and tokens securely; many providers show secrets only once
- Use separate connections for Dev, UAT, and Prod environments where possible
- Test with a minimal subtool call after saving credentials

