/hyperswitch

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

Primary LanguageRustApache License 2.0Apache-2.0

Hyperswitch-Logo Hyperswitch-Logo

The open-source payments switch

The single API to access payment ecosystems across 130+ countries

Try a PaymentFor EnterprisesFor ContributorsQuick SetupLocal Setup Guide (Hyperswitch App Server)Fast Integration for Stripe Users API Docs
Supported FeaturesCommunityBugs and feature requestsVersioningFAQsCopyright and License


Hyperswitch is a community-led, open payments switch to enable access to the best payments infrastructure for every digital business.

Using Hyperswitch, you can:

  • ⬇️ Reduce dependency on a single processor like Stripe or Braintree
  • 🧑‍💻 Reduce Dev effort by 90% to add & maintain integrations
  • 🚀 Improve success rates with seamless failover and auto-retries
  • 💸 Reduce processing fees with smart routing
  • 🎨 Customize payment flows with full visibility and control
  • 🌐 Increase business reach with local/alternate payment methods

Hyperswitch-Product

To quickly experience the ease that Hyperswitch provides while handling the payment, you can signup on hyperswitch-control-center, and try a payment.

Congratulations 🎉 on making your first payment with Hyperswitch.

Hyperswitch helps enterprises in -

  • Improving profitability
  • Increasing conversion rates
  • Lowering payment costs
  • Streamlining payment operations

Hyperswitch has ample features for businesses of all domains and sizes. Check out our offerings.

Hyperswitch is an open-source project that aims to make digital payments accessible to people across the globe like a basic utility. With the vision of developing Hyperswitch as the Linux of Payments, we seek support from developers worldwide.

Utilise the following resources to quickstart your journey with Hyperswitch -

One-click deployment on AWS cloud

The fastest and easiest way to try Hyperswitch is via our CDK scripts

  1. Click on the following button for a quick standalone deployment on AWS, suitable for prototyping. No code or setup is required in your system and the deployment is covered within the AWS free-tier setup.

  2. Sign-in to your AWS console.

  3. Follow the instructions provided on the console to successfully deploy Hyperswitch

Run it on your system

You can run Hyperswitch on your system using Docker Compose after cloning this repository:

git clone --depth 1 --branch latest https://github.com/juspay/hyperswitch
cd hyperswitch
docker compose up -d

This will start the app server, web client and control center.

Check out the local setup guide for a more comprehensive setup, which includes the scheduler and monitoring services.

🔌 Fast Integration for Stripe Users

If you are already using Stripe, integrating with Hyperswitch is fun, fast & easy. Try the steps below to get a feel for how quick the setup is:

  1. Get API keys from our dashboard.
  2. Follow the instructions detailed on our documentation page.

🌟 Supported Payment Processors and Methods

As of Aug 2024, Hyperswitch supports 50+ payment processors and multiple global payment methods. In addition, we are continuously integrating new processors based on their reach and community requests. Our target is to support 100+ processors by H2 2024. You can find the latest list of payment processors, supported methods, and features here.

🌟 Hosted Version

In addition to all the features of the open-source product, our hosted version provides features and support to manage your payment infrastructure, compliance, analytics, and operations end-to-end:

  • System Performance & Reliability

    • Scalable to support 50000 tps
    • System uptime of up to 99.99%
    • Deployment with very low latency
    • Hosting option with AWS or GCP
  • Value Added Services

    • Compliance Support, incl. PCI, GDPR, Card Vault etc
    • Customise the integration or payment experience
    • Control Center with elaborate analytics and reporting
    • Integration with Risk Management Solutions
    • Integration with other platforms like Subscription, E-commerce, Accounting, etc.
  • Enterprise Support

    • 24x7 Email / On-call Support
    • Dedicated Relationship Manager
    • Custom dashboards with deep analytics, alerts, and reporting
    • Expert team to consult and improve business metrics

You can try the hosted version in our sandbox.

🤝 Our Belief

Payments should be open, fast, reliable and affordable to serve the billions of people at scale.

Globally payment diversity has been growing at a rapid pace. There are hundreds of payment processors and new payment methods like BNPL, RTP etc. Businesses need to embrace this diversity to increase conversion, reduce cost and improve control. But integrating and maintaining multiple processors needs a lot of dev effort. Why should devs across companies repeat the same work? Why can't it be unified and reused? Hence, Hyperswitch was born to create that reusable core and let companies build and customise it as per their specific requirements.

✨ Our Values

  1. Embrace Payments Diversity: It will drive innovation in the ecosystem in multiple ways.
  2. Make it Open Source: Increases trust; Improves the quality and reusability of software.
  3. Be community driven: It enables participatory design and development.
  4. Build it like Systems Software: This sets a high bar for Reliability, Security and Performance SLAs.
  5. Maximise Value Creation: For developers, customers & partners.

🤍 Contributing

This project is being created and maintained by Juspay, South Asia's largest payments orchestrator/switch, processing more than 50 Million transactions per day. The solution has 1Mn+ lines of Haskell code built over ten years. Hyperswitch leverages our experience in building large-scale, enterprise-grade & frictionless payment solutions. It is built afresh for the global markets as an open-source product in Rust. We are long-term committed to building and making it useful for the community.

The product roadmap is open for the community's feedback. We shall evolve a prioritisation process that is open and community-driven. We welcome contributions from the community. Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

  • We appreciate all types of contributions: code, documentation, demo creation, or some new way you want to contribute to us. We will reward every contribution with a Hyperswitch branded t-shirt.
  • 🦀 Important note for Rust developers: We aim for contributions from the community across a broad range of tracks. Hence, we have prioritised simplicity and code readability over purely idiomatic code. For example, some of the code in core functions (e.g., payments_core) is written to be more readable than pure-idiomatic.

Get updates on Hyperswitch development and chat with the community:

  • Discord server for questions related to contributing to hyperswitch, questions about the architecture, components, etc.
  • Slack workspace for questions related to integrating hyperswitch, integrating a connector in hyperswitch, etc.
  • GitHub Discussions to drop feature requests or suggest anything payments-related you need for your stack.
Hyperswitch - Fast, reliable, and affordable open source payments switch | Product Hunt
Hyperswitch - Fast, reliable, and affordable open source payments switch | Product Hunt
Hyperswitch - Fast, reliable, and affordable open source payments switch | Product Hunt

Please read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Check the CHANGELOG.md file for details.

Got more questions? Please refer to our FAQs page.

This product is licensed under the Apache 2.0 License.

Thank you for your support in hyperswitch's growth. Keep up the great work! 🥂

Contributors