Smart Router
Ottu’s Smart Router is a rule-based engine that intelligently directs each payment to the most suitable route. It boosts success rates, lowers costs, and gives merchants full control over how transactions are handled.
Evaluates each payment transaction in real time
Compares the transaction against a set of business rules
Selects the most appropriate MID to maximize success and minimize cost
Uses a fallback MID if no specific rule applies — ensuring no transaction is lost
Steps the Smart Router follows to process a transaction.
Start Transaction
A customer initiates a payment
Apply Blocker Rules
The Smart Router first checks if the transaction should be blocked
Apply Router Rules
These rules identify which MIDs are valid for this transaction.
Evaluate Strategies
Selects the best MID
Use Fallback MID if Needed
If no MID is selected by strategy (e.g., all excluded or none match), a fallback MID acts as a safety net.
Send to Selected MID
The transaction is routed to the chosen MID.
The below diagram shows how Ottu’s Smart Router handles a transaction from the moment it starts, through rule checks and decision logic, to the final payment sent to the bank.

Routing rules are divided into two major categories: Blockers and Routers.

These rules filter transactions before routing begins.
Allows or blocks transactions based on the card's BIN range.
These rules assign valid transactions to the correct MID.
Routes a transaction to a specific MID based on BIN match.
Strategies
Once router rules find valid MIDs, strategies decide how to pick the best one.
Strategy Types:
Multi-Selection: Considers several MIDs and selects based on rule logic.
Single-Selection: Narrows immediately to one best MID.
Distributes transactions evenly across MIDs.
Balances load by cycling through gateways.
An MID, or Merchant Identification, is a unique number assigned to a merchant account to identify the transaction processor.
If a transaction exceeds the maximum amount set for an MID, it will be rerouted according to the configured routing rules or fallback option.
The Round Robin method distributes transactions evenly across multiple MIDs, ensuring balanced load by sequentially cycling through available gateways.
The Fallback option serves as a safety mechanism to ensure transactions still get processed by sending them to a default MID if no other MIDs are available.
Last updated