Hyperswitch logo

Hyperswitch

Composable open-source payments infrastructure built in Rust

Modular payments stack offering routing, retries, vaulting, reconciliation, and cost observability. Deploy standalone modules or the full suite without vendor lock-in.

Hyperswitch banner

Overview

Built for Scale and Flexibility

Hyperswitch is a commercial open-source payments infrastructure designed to give businesses full control over their payment operations. Built in Rust for performance and reliability, it offers a modular architecture that lets you integrate only the components you need—whether that's intelligent routing, revenue recovery, PCI-compliant vaulting, automated reconciliation, or cost observability—on top of your existing stack.

Global Payment Support, Developer-First Design

The platform supports cards, wallets, BNPL, UPI, and Pay by Bank across multiple processors. Smart routing maximizes authorization rates by directing transactions to the PSP with the highest predicted success. Revenue recovery combats passive churn with intelligent retry strategies tuned by card BIN, region, and method. The Control Center provides a visual workflow builder and self-serve dashboards for monitoring, auditing, and optimizing payment costs.

Deploy Anywhere, Own Everything

Hyperswitch runs locally via Docker, deploys to AWS/GCP/Azure with Helm or CloudFormation, or can be tested instantly in a hosted sandbox. Maintained by Juspay—the team powering payment infrastructure for 400+ enterprises—Hyperswitch combines community-driven development with enterprise-grade reliability. Whether you're building a full payment suite or augmenting an existing stack with a single module, Hyperswitch meets you where you are.

Highlights

Modular architecture: deploy routing, retries, vaulting, reconciliation, or cost observability independently
Intelligent routing maximizes auth rates by directing transactions to optimal PSPs
Built in Rust for high performance, reliability, and low-latency payment processing
Visual Control Center with workflow builder, dashboards, and self-serve observability

Pros

  • No vendor lock-in; integrate only the modules you need on top of existing payment stacks
  • Supports global payment methods: cards, wallets, BNPL, UPI, Pay by Bank
  • Enterprise-tested by Juspay, powering infrastructure for 400+ leading businesses
  • Flexible deployment: local Docker setup, cloud (AWS/GCP/Azure), or hosted sandbox

Considerations

  • Rust-based stack may require specialized expertise for deep customization
  • Modular design adds architectural complexity for teams unfamiliar with microservices
  • Self-hosted deployments require infrastructure management and PCI compliance ownership
  • Community-driven roadmap may not align with every enterprise's immediate feature needs

Managed products teams compare with

When teams consider Hyperswitch, these hosted platforms usually appear on the same shortlist.

Chargebee logo

Chargebee

Subscription billing and revenue management for recurring businesses

ChargeOver logo

ChargeOver

Recurring billing and subscription management with invoicing and dunning

Maxio logo

Maxio

Subscription billing & revenue operations platform for B2B SaaS

Looking for a hosted option? These are the services engineering teams benchmark against before choosing open source.

Fit guide

Great for

  • Businesses seeking to own and customize their payments infrastructure without vendor lock-in
  • Teams augmenting existing payment stacks with specific modules like routing or reconciliation
  • Enterprises requiring PCI-compliant vaulting and multi-PSP orchestration at scale
  • Developers who value transparency, performance, and modular, systems-level engineering

Not ideal when

  • Startups needing a fully managed, zero-ops payment solution with minimal technical overhead
  • Teams without Rust expertise or resources to maintain self-hosted infrastructure
  • Organizations requiring immediate, out-of-the-box compliance certifications beyond PCI
  • Businesses looking for a single-vendor, all-in-one SaaS platform with no deployment flexibility

How teams use it

Multi-PSP Intelligent Routing

Maximize authorization rates by routing each transaction to the processor with the highest predicted success, reducing retries and downtime.

Revenue Recovery from Passive Churn

Combat failed recurring payments with intelligent retry strategies tuned by card BIN, region, and method, increasing recovery transparency and reducing churn.

Automated Payment Reconciliation

Eliminate manual ops effort with 2-way and 3-way reconciliation, backdated support, and customizable outputs for audit confidence.

Cost Observability and Optimization

Detect hidden fees, downgrades, and penalties with self-serve dashboards and actionable insights to audit and optimize payment costs.

Tech snapshot

Rust82%
JavaScript17%
MDX1%
Shell1%
PLpgSQL1%
HTML1%

Tags

open-sourcerestful-apihigh-performanceredisfinancepostgresqlhacktoberfestpaymentsworks-with-reactfeaturedorchestrationrustsdkbeginner-friendly

Frequently asked questions

Can I deploy individual modules without the full payment suite?

Yes. Hyperswitch's modular architecture lets you integrate only the components you need—routing, retries, vaulting, reconciliation, or cost observability—on top of your existing payment stack.

What deployment options are available?

You can run Hyperswitch locally via Docker, deploy to AWS/GCP/Azure using Helm or CloudFormation, or test instantly in the hosted sandbox with no setup required.

Which payment methods and processors does Hyperswitch support?

Hyperswitch supports cards, wallets, BNPL, UPI, and Pay by Bank across multiple payment service providers, enabling global payment orchestration.

Is Hyperswitch PCI-compliant?

Hyperswitch includes a PCI-compliant vault module for securely storing cards, tokens, wallets, and bank credentials. Self-hosted deployments require you to manage PCI compliance for your infrastructure.

Who maintains Hyperswitch?

Hyperswitch is maintained by Juspay, the team powering payment infrastructure for 400+ leading enterprises worldwide. It is built in the open with real-world feedback from developers and contributors.

Project at a glance

Active
Stars
39,995
Watchers
39,995
Forks
4,557
LicenseApache-2.0
Repo age3 years old
Last commityesterday
Primary languageRust

Last synced yesterday