The best open source alternative to PayPal Braintree is Hyperswitch. If that doesn't suit you, we've compiled a ranked list of other open source PayPal Braintree alternatives to help you find a suitable replacement. Other interesting open source alternatives to PayPal Braintree are: Lago and Formance.
PayPal Braintree alternatives are mainly Payment Infrastructure Tools but may also be Fintech Infrastructure Tools or Subscription & Billing Management Tools. Browse these if you want a narrower list of alternatives or looking for a specific functionality of PayPal Braintree.
A unified payment infrastructure that connects multiple payment processors through a single API integration, enabling global payment processing

Hyperswitch is a powerful open-source payment orchestration platform that simplifies global payment processing.
Key benefits include:
The platform offers modular components including payment processing, reconciliation, analytics, and fraud prevention that can be customized based on business needs.
Looking for open source alternatives to other popular services? Check out other posts in the alternatives series and openalternative.co, a directory of open source software with filters for tags and alternatives for easy browsing and discovery.
Open-source billing system that handles metering, usage-based pricing, and invoicing at scale. Perfect for AI, cloud, and API companies needing flexible monetization.

Lago delivers enterprise-grade billing infrastructure that scales with your business needs. The platform excels at processing high-volume usage data (up to 15,000 events/second) and converting it into accurate invoices through real-time metering.
Key capabilities include:
As an open-source solution, Lago provides full transparency and customization options. Companies can audit the code, maintain data control, and build custom features on top of the core platform. The system integrates seamlessly with popular tools like Stripe, NetSuite, AWS Marketplace, and accounting software.
Trusted by industry leaders including Mistral AI, Algolia, and Github, Lago has proven its ability to handle complex billing requirements at scale. The platform is particularly valuable for AI companies, cloud services, API providers, and fintech firms needing sophisticated usage-based monetization.
Build custom financial flows and integrate with any provider using Formance's agnostic platform

Formance provides an open source financial core to build and scale modern financial products. Its modular platform allows businesses to:
Key features include:
Formance enables product and engineering teams to build bespoke financial capabilities without being limited by legacy systems or vendor roadmaps. The platform is designed for scalability, with enterprise-grade security including SOC 2 and ISO 27001 certifications.
By providing core financial infrastructure as open source software, Formance allows businesses to maintain control and flexibility as they grow. The modular architecture makes it easy to start small and expand functionality over time.