OSP
hyperswitch logo

hyperswitchAn open source payments switch written in Rust to make payments fast, reliable and affordable

An open source payments switch written in Rust to make payments fast, reliable and affordable

40,518 stars
4,562 forks
Rust
Apache-2.0
hyperswitch screenshot

Hyperswitch

Hyperswitch is an open-source payments switch built in Rust that enables businesses to process payments faster, more reliably, and at lower costs. It provides a composable, modular payments infrastructure that integrates seamlessly with existing payment stacks without vendor lock-in.

Key Features

  • Intelligent Routing: Automatically route transactions to the payment service provider with the highest predicted authorization rate, maximizing first-attempt success rates
  • Modular Architecture: Pick and integrate only the payment modules you need—vault, reconciliation, revenue recovery, cost observability, and more
  • Revenue Recovery: Combat passive churn with intelligent retry strategies customized by card bin, region, payment method, and other parameters
  • PCI-Compliant Vault: Securely store and manage cards, tokens, wallets, and bank credentials in a unified repository
  • Advanced Reconciliation: Automate 2-way and 3-way reconciliation with backdated support and customizable scheduling
  • Alternate Payment Methods: Support PayPal, Apple Pay, Google Pay, BNPL providers, and bank transfer options through drop-in widgets

Use Cases

  • E-commerce Platforms: Maximize payment conversion rates through intelligent routing and comprehensive payment method support
  • Subscription Businesses: Reduce revenue loss from failed recurring payments using advanced retry logic and failure recovery
  • Fintech Applications: Build payment infrastructure with security, compliance, and flexibility without relying on proprietary payment gateways
  • Global Payment Networks: Process multi-currency, multi-region payments with optimized routing and cost transparency

Who Is It For

Hyperswitch is designed for developers, fintech companies, payment processors, and enterprises that need a flexible, high-performance, open-source alternative to proprietary payment infrastructure. It's ideal for teams seeking control, transparency, and the ability to customize their payment stack.