Glossary

Smart Routing

Smart routing selects the optimal payment processor or acquirer for each transaction to maximize approval rates and minimize costs.

Key Takeaways

  • Smart routing automatically selects the best payment processor or acquirer for each transaction based on real-time performance data, card type, currency, and merchant preferences.
  • Cascade routing retries a declined transaction on a second processor, while parallel routing sends authorization requests to multiple processors simultaneously: most payment orchestration platforms combine both strategies.
  • Crypto networks solve a similar problem through pathfinding algorithms: Lightning Network clients use modified Dijkstra variants to find the cheapest or most reliable payment route across channel graphs.

What Is Smart Routing?

Smart routing (also called intelligent payment routing or least-cost routing) is an automated system that evaluates multiple payment processors or acquirers in real time and selects the optimal path for each transaction. Rather than sending every payment to a single processor, a smart routing engine analyzes factors like processor uptime, regional acceptance rates, interchange tiers, and currency to direct each transaction where it is most likely to be approved at the lowest cost.

The technology emerged as merchants expanded across borders and payment methods multiplied. A single acquirer connection might deliver strong approval rates for domestic Visa transactions but underperform for cross-border Mastercard payments in a different currency. Smart routing addresses this by maintaining connections to multiple processors and making per-transaction decisions based on historical performance data.

In cryptocurrency networks, an analogous concept exists: pathfinding algorithms in the Lightning Network optimize for fee minimization and payment reliability across a graph of payment channels, serving essentially the same purpose as smart routing in traditional payments.

How It Works

A smart routing engine sits between the merchant's checkout system and the downstream payment gateways or acquirers. When a transaction arrives, the engine runs through a decision pipeline:

  1. Gather transaction attributes: card BIN, issuing country, card brand, card network, currency, amount, and payment method
  2. Build a pool of eligible processors by filtering on feature support (3-D Secure capability, recurring billing, installment support) and card-brand compatibility
  3. Score each eligible processor using historical data: prior authorization rates for similar transactions, current latency, error rates, and fee structures
  4. Apply merchant-defined rules such as volume caps, preferred processors for specific regions, or cost thresholds
  5. Route the transaction to the highest-scoring processor

The entire decision happens in milliseconds, before the authorization request reaches the acquirer. Advanced systems continuously update their scoring models using machine learning, adjusting routing weights as processor performance shifts throughout the day.

Cascade Routing

Cascade routing (also called failover routing) is the retry strategy that activates after a transaction is declined. If the first processor returns a soft decline or a retryable decline code, the routing engine automatically re-submits the transaction to the next eligible processor in the cascade.

Not all declines trigger retries. Hard declines (insufficient funds, closed accounts, fraud flags) are excluded because retrying them violates card network rules and can result in fines. Cascade routing only retries declines where a different processor might produce a different outcome: network timeouts, processor-specific errors, or issuer-level inconsistencies.

Industry data suggests that automatic cascade routing recovers roughly 8% of transactions that would otherwise be lost to initial declines.

Parallel Routing

Parallel routing sends authorization requests to multiple processors simultaneously and accepts the first successful response. This approach minimizes latency and maximizes the chance of approval on the first attempt, but it comes with tradeoffs: it generates multiple authorization holds on the cardholder's account and increases processing costs because each request incurs fees regardless of whether it is the one ultimately used.

Because of these costs and the risk of confusing cardholders with multiple pending charges, parallel routing is rarely used for standard card payments. It is more common in high-value B2B transactions or in contexts where approval speed is critical and the merchant has negotiated the right fee structures.

Least-Cost Routing

A specialized form of smart routing, least-cost routing focuses specifically on minimizing processing fees. For debit card transactions in markets like the United States and Australia, merchants can choose which debit network processes the transaction. Since interchange rates vary between networks (for example, a PIN debit network may charge less than a signature debit network for the same transaction), the routing engine selects the cheapest eligible network.

Least-cost routing engines weigh network fees, interchange rate tiers, ticket size, and issuer type to determine the optimal path. For merchants on interchange-plus pricing, even small per-transaction savings compound significantly at scale.

Smart Routing in Payment Orchestration

Payment orchestration platforms bundle smart routing as a core capability alongside unified API abstraction, tokenization, and reporting. These platforms maintain pre-built integrations with dozens of processors, enabling merchants to add or remove acquirers without changing their checkout code.

A typical orchestration setup combines smart routing for initial processor selection with cascade routing for decline recovery. The platform continuously collects authorization outcomes and feeds them back into the routing model, creating a feedback loop that improves over time. Merchants using orchestration-layer smart routing report authorization rate improvements in the range of 2 to 8 percentage points, with cross-border merchants generally seeing the largest gains.

For a deeper look at how orchestration platforms implement these strategies, see the research article on payment orchestration platforms.

Routing Configuration Example

Most orchestration platforms express routing logic as a priority-ordered rule set. A simplified configuration might look like this:

{
  "rules": [
    {
      "condition": {
        "card_country": "US",
        "card_brand": "visa",
        "amount_lte": 500
      },
      "processor": "processor_a",
      "priority": 1
    },
    {
      "condition": {
        "card_country": "US",
        "card_brand": "visa"
      },
      "processor": "processor_b",
      "priority": 2
    },
    {
      "condition": {
        "card_country": "EU"
      },
      "processor": "processor_c",
      "priority": 1
    }
  ],
  "cascade": {
    "enabled": true,
    "max_retries": 2,
    "retry_on": ["soft_decline", "timeout"]
  }
}

In this example, low-value US Visa transactions route to Processor A (perhaps due to better rates on small tickets), while higher-value US Visa transactions fall to Processor B. European transactions route to Processor C, which holds a local acquiring license. If any processor returns a soft decline or timeout, the cascade retries on the next eligible processor up to twice.

Comparison with Crypto Payment Routing

Cryptocurrency payment networks solve a structurally similar optimization problem, though the architecture differs significantly. In the Lightning Network, the sender computes the full payment path before transmitting, using pathfinding algorithms that evaluate channel capacity, routing fees, and timelock requirements across a decentralized graph.

Lightning clients use modified Dijkstra shortest-path algorithms with different weight functions depending on the implementation. Research has shown that LND's strategies tend to favor payment reliability, Eclair's tend to yield lower fees, and Core Lightning's favor minimal timelock paths. Core Lightning moved from standard Dijkstra to a minimum-cost flow approach, which optimizes across multiple paths simultaneously.

DimensionTraditional Smart RoutingCrypto Payment Routing
ArchitectureCentralized orchestration layerSource-routed by sender
Data inputsBIN, currency, issuer history, processor uptimeChannel capacity, fees, timelocks, node reliability
Optimization targetApproval rate and costFee minimization and delivery probability
Retry mechanismCascade to next acquirerRetry with alternate path or use multipath payments
PrivacyOrchestrator sees all transaction dataOnion routing hides sender/receiver from intermediaries
SettlementBatch settlement in 1 to 3 daysInstant atomic settlement

DEX aggregators on blockchains like Solana and Ethereum implement another variant: smart order routers split trades across multiple liquidity pools to minimize slippage and price impact, applying graph-search algorithms similar to Lightning's pathfinding. For more on how these routing strategies compare, see the research article on multi-rail payment strategy.

Use Cases

  • Cross-border e-commerce: merchants selling internationally route each transaction to a local acquirer in the cardholder's country, avoiding cross-border acquiring fees and improving approval rates with domestic issuer connections
  • Multi-currency merchants: smart routing directs transactions to processors that support settlement in the transaction currency, reducing dynamic currency conversion costs
  • High-volume subscription businesses: cascade routing recovers failed recurring charges by retrying on alternative processors, directly reducing involuntary churn
  • Marketplace platforms: route seller payouts and buyer charges through different processors optimized for each side of the transaction
  • Cryptocurrency payments: Lightning Network nodes use pathfinding to route payments through channels with sufficient capacity and competitive fees, with multipath splitting for large payments that exceed any single channel's capacity

Risks and Considerations

Data Quality Dependencies

Smart routing is only as good as the data feeding its models. Stale performance metrics, incomplete BIN tables, or miscategorized decline codes can cause the engine to route transactions suboptimally. Merchants integrating new processors need a ramp-up period where the engine collects enough data to make informed decisions.

Cascade Abuse and Network Rules

Overly aggressive cascade routing can violate card network rules. Visa and Mastercard impose limits on authorization retries for certain decline codes, and excessive retries on fraud-flagged transactions can result in fines or monitoring programs. Routing engines must respect hard-decline codes and rate limits to stay compliant.

Vendor Lock-In

Merchants relying on a single orchestration platform for smart routing may face switching costs if the platform's routing logic underperforms. Multi-processor setups also introduce reconciliation complexity: tracking settlements across multiple acquirers requires robust reconciliation infrastructure.

Crypto Routing Limitations

Lightning pathfinding faces its own challenges. Research has demonstrated that the constrained shortest-path problems most Lightning clients solve are NP-complete, meaning no algorithm can guarantee the optimal route in all cases. Channel balance information is not publicly broadcast, so pathfinding relies on probabilistic estimates that degrade for larger payments. Layer 2 solutions like Spark address some of these limitations by eliminating the need for channel-based routing entirely, using a statechains-based architecture where transfers settle without multi-hop path discovery.

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.