Skip to content

juspay/decision-engine

Repository files navigation

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

Architecture

Try it out

Check the SETUP.md for detailed steps to try out the application.

API Reference :

Check the API_REFERENCE.md for more details

Support, Feature Requests, Bugs

For any support, join the conversation in Slack

For new product features, enhancements, roadmap discussions, or to share queries and ideas, visit our GitHub 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.

Contributing

We welcome contributions from everyone! Here's how you can help:

See CONTRIBUTING.md for detailed guidelines.

Versioning

Check the CHANGELOG.md file for details.

Copyright and License

This product is licensed under the AGPL V3 License.