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.

1

Start Transaction

A customer initiates a payment

2

Apply Blocker Rules

The Smart Router first checks if the transaction should be blocked

If the transaction is blocked, it stops here. If allowed, the system moves to Router Rules

3

Apply Router Rules

These rules identify which MIDs are valid for this transaction.

4

Evaluate Strategies

Selects the best MID

5

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.

6

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.

  • Removes MIDs with too many recent errors.

  • Can blacklist for hours or until midnight.

  • Automatically expires after a set time.

  • 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