Hyperswitch: Open-Source Payment Orchestration

Indie Hacker Newsgo watch the original →

Hyperswitch is an open-source, Rust-based payment orchestration layer that sits above payment processors to provide intelligent routing, automated retries, and unified card vaulting.

The Breakthrough

Hyperswitch provides an open-source, self-hostable payment orchestration layer that allows merchants to route transactions across multiple payment processors, effectively decoupling their infrastructure from the limitations of a single provider.

Core Functionality and Architecture

  • Intelligent Routing: The system analyzes transaction data in real-time to route payments to the processor with the highest probability of approval, increasing overall conversion rates.
  • Revenue Recovery: When a transaction fails, the engine automatically triggers retries based on over 30 signals, including the card's issuing country, the issuing bank, and specific decline codes.
  • Unified Vaulting: The platform includes a PCI-compliant vault that stores card tokens, allowing merchants to switch between payment providers without the need to re-tokenize customer data.
  • Modular Design: Built in Rust, the architecture consists of independent modules including a routing core, a card vault, reconciliation services, and a connector library called Prism, allowing developers to integrate only the components they require.
  • Deployment and Integration: The stack is containerized and deployable via Docker or Helm on major cloud providers. It provides client SDKs for React, iOS, Android, and Flutter, along with drop-in checkout widgets for Apple Pay and Google Pay.

Operational Considerations

Self-hosting Hyperswitch shifts the burden of operational reliability, PCI compliance, and 24/7 maintenance from a third-party vendor to the internal engineering team. While the project offers significant control over payment logic and cost observability, teams must weigh these benefits against the added latency and the responsibility of managing a critical path component in their checkout flow.

  • #fintech
  • #open-source
  • #rust
  • #payments

summary by google/gemini-3.1-flash-lite. probably wrong about something. check the source.