https://github.com/juspay/decision-engine
open-source routing system designed for payment processing
https://github.com/juspay/decision-engine
Last synced: 11 months ago
JSON representation
open-source routing system designed for payment processing
- Host: GitHub
- URL: https://github.com/juspay/decision-engine
- Owner: juspay
- License: other
- Created: 2025-03-24T12:34:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-01T09:25:06.000Z (11 months ago)
- Last Synced: 2025-09-01T11:45:50.250Z (11 months ago)
- Language: Rust
- Homepage: https://juspay.io/blog/juspay-orchestrator-and-merchant-controlled-routing-engine
- Size: 2 MB
- Stars: 87
- Watchers: 9
- Forks: 20
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Decision Engine
## Overview
The Decision Engine system helps in choosing the most optimal payment gateway in real-time for every transaction based on pre-defined rules, success rate, latency and other business requirements. It is a fully modular service that can work with any orchestrator and any PCI-compliant vaults.
## Vision
Build a reliable, open source payments software for the world \- which is interoperable, collaborative and community-driven.
## Features
The Decision Engine comes with the following features out-of-the box for your payment routing needs.
✅ Eligibility Check – Ensures only eligible gateways are used, reducing payment failures and improving transaction success.
📌 Rule-Based Ordering – Routes transactions based on predefined merchant rules, ensuring predictable and obligation-driven payment processing.
🔄 Dynamic Gateway Ordering – Uses real-time success rates and ML-driven optimization to route transactions to the best-performing gateway.
⚠️ Downtime Detection – Monitors gateway health, dynamically reordering or pausing routing to prevent transaction failures during downtime.
To learn more, refer to this blog: [https://juspay.io/blog/juspay-orchestrator-and-merchant-controlled-routing-engine](https://juspay.io/blog/juspay-orchestrator-and-merchant-controlled-routing-engine)
## Architecture

### How it can fit into your existing architecture

## Try it out
Check the [SETUP.md](/docs/setup-guide-mysql.md) for detailed steps to try out the application.
## API Reference :
Check the [API_REFERENCE.md](/docs/api-reference1.md) for more details
## Support, Feature Requests, Bugs
For any support, join the conversation in [Slack](https://join.slack.com/t/hyperswitch-io/shared_invite/zt-2jqxmpsbm-WXUENx022HjNEy~Ark7Orw)
For new product features, enhancements, roadmap discussions, or to share queries and ideas, visit our [GitHub Discussions](https://github.com/juspay/decision-engine/discussions)
For reporting a bug, 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].
[existing and closed issues]: https://github.com/juspay/decision-engine/issues
[open a new issue]: https://github.com/juspay/decision-engine/issues/new/choose
## Contributing
We welcome contributions from everyone\! Here's how you can help:
See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
## Versioning
Check the [CHANGELOG.md](CHANGELOG.md) file for details.
## Copyright and License
This product is licensed under the [AGPL V3](LICENSE) License.