Braintree API
PayPal's Braintree payment gateway API for processing card payments, PayPal, Venmo, and digital wallets with subscription billing and card vaulting capabilities.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
PayPal-owned payment gateway. Public + private + merchant ID. PCI DSS Level 1. Use sandbox for testing. Client-side tokenization for card data. Never pass raw card numbers through API.
⚡ Reliability
Best When
An agent needs to process payments with full card vaulting, PayPal/Venmo support, and subscription management, especially in PayPal-ecosystem businesses.
Avoid When
You don't want PayPal involvement, or you need a modern developer experience with frequent API updates.
Use Cases
- • Processing credit and debit card payments via agents
- • Managing recurring subscription billing
- • Accepting PayPal and Venmo payments in agent-driven checkouts
- • Storing and managing payment methods in the vault
- • Building marketplace payment flows with split payments
Not For
- • Teams wanting to avoid PayPal's ecosystem
- • Simple one-time payment needs (Stripe may be simpler)
- • International merchants needing non-PayPal payment methods
- • Developers wanting cutting-edge API design (Braintree's API shows its age)
Interface
Authentication
Three-credential auth: Merchant ID, Public Key, Private Key. Keys configured per environment (sandbox/production). Simple for agents but credentials must be kept secure.
Pricing
No monthly fee. Sandbox is free and mirrors production. Transaction fees comparable to Stripe. PayPal transactions may have different rates.
Agent Metadata
Known Gotchas
- ⚠ Primary API is SDK-based, not pure REST — GraphQL API exists but documentation is limited
- ⚠ Three-part credential system (Merchant ID + Public + Private Key) is different from most APIs
- ⚠ Client token flow requires generating a token for frontend nonce collection — complex for server-side agents
- ⚠ Webhook payloads are XML, not JSON — requires XML parsing in agents
- ⚠ API design is older and less ergonomic than modern payment APIs
- ⚠ PayPal acquisition means product roadmap is less certain
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Braintree API.
Scores are editorial opinions as of 2026-03-06.