Skip to main content

Payment Routing Strategies: BIN, Cost and Performance

Last Updated: 2026-12-01 Status: Complete

Payment routing strategies determine which acquirer or processor receives each authorization request and under which conditions a different one is chosen. After reading this page you will be able to design a routing layer that uses BIN data and transaction attributes, supports several acquirers behind one normalized interface, and is measured by outcomes rather than assumptions.

Quick Reference​

  • Routing is decided at three layers: your platform (acquirer or processor), the acquirer and network (path to the issuer), and the issuer (approve or decline).
  • BIN lengths are variable (6 or 8 digits); always match the longest prefix first.
  • Start with a rule table; adopt score-based routing only when you have enough per-route data to justify it.
  • Failover handles an unavailable route before any authorization is sent; cascading retries after a technical or acquirer-side failure, not after an issuer decline.
  • Contracts with a sponsor bank or acquirer may restrict where traffic can be sent.

Who Makes Which Routing Decision?​

LayerDecision makerWhat is decidedYour influence
1. PlatformMerchant, PayFac or orchestratorWhich acquirer or processor, and which MID, receives the requestFull: this is what you build
2. Acquirer and networkAcquirer, then the card networkWhich network (for multi-network cards) and which issuer endpoint, based on the BINLimited: debit network choice is partly yours (see debit routing)
3. IssuerIssuing bankApprove, decline, or request more dataNone, but the response drives your next step

The network-side mechanics are covered in Transaction Routing; this page concentrates on layer 1.

How Do BIN and IIN Tables Work?​

A BIN (also called IIN) is the leading digits of a card number that identify the issuer and product. The industry moved from 6-digit to 8-digit identifiers, so a lookup must be variable length: try the 8-digit prefix, then the 6-digit prefix, and treat no match as unknown rather than as invalid.

Sourcing BIN data. Options include network-provided BIN files or services, processor-supplied BIN tables, and commercial third-party databases. Choose by coverage of the attributes you actually route on, update frequency and licence terms.

Caching and refresh.

  • Load the table into memory or a local key-value store; do not call a remote service on the authorization path unless it has a strict timeout and a fallback.
  • Store the table version with every routing decision so results are reproducible.
  • Refresh on a schedule and on demand; swap atomically so a partial load is never served.
  • Define a fallback for unknown BINs (for example, the default route plus a counter that alerts when the unknown rate rises).
PCI Data Handling

A BIN lookup uses only the leading digits, but the full PAN is sensitive. Never log the PAN, expiry date or other cardholder data in routing logs; log the BIN prefix, a token or a hashed reference instead. Use masked placeholders such as 411111******1111 in tests.

What Inputs Can a Routing Decision Use?​

InputSourceTypical use
Card brandBINSome acquirers are stronger or cheaper for particular brands
Card type and productBINDebit, credit, prepaid, commercial: different cost and eligibility
Issuer countryBINDomestic vs cross-border; local acquiring
CurrencyRequestAcquirers support different settlement currencies
MCCMerchant profileSome acquirers restrict or price by category
AmountRequestNetwork limits, cost sensitivity, risk tier
Acquirer healthMonitoringAvoid degraded routes
CostFee scheduleInterchange-plus margins, per-item fees
ChannelRequestCard-not-present vs card-present

Local acquiring for cross-border. Where a provider can acquire in the issuer's country or currency, routing there may avoid cross-border treatment and conversion steps. Whether it improves cost or approval depends on your agreements and the markets involved, so measure before generalizing. See Optimization for cross-border cost background.

Rule-Based vs Score-Based Routing​

AspectRule-basedScore-based
LogicOrdered conditions map to a routeA model or weighted formula ranks routes per transaction
TransparencyHigh; every decision traces to a ruleLower; needs decision logging and explainability
Data needLowEnough volume per segment to estimate performance
Failure modeStale rulesFeedback loops, small samples, drift
Recommended startYesAfter rules and measurement are stable

A practical path is a rule table for hard constraints (eligibility, contracts, currency) and a score or weighted split only among routes that all pass those constraints.

What Does a Multi-Acquirer Architecture Look Like?​

Per-acquirer adapters translate between your internal model and each acquirer's API, including authentication, field mappings, and error semantics. Normalized request and response means the orchestrator speaks one internal schema: a canonical payment request, a canonical result (approved, declined with a mapped category, or unknown), and the raw provider response stored separately. Map provider codes into an internal decline taxonomy; see Response Codes.

How Do Health Checks, Failover and Cascading Differ?​

Definitions

Failover: switching to another route because the selected route is known or suspected to be unavailable, before or without a business decision from the issuer.

Cascading: sending a new authorization attempt to a different route after a previous attempt failed. It suits technical or acquirer-side failures, not issuer declines. See Payment Cascading.

Health signals worth tracking per route: success rate, timeout rate, p95 latency and connection errors, over short rolling windows. Use a circuit breaker: open after a threshold of failures, send occasional probe traffic in a half-open state, and close after recovery. Failover is a routing-time decision based on these signals; cascading is an outcome-time decision based on a response and the card's reattempt rules.

Which Contractual and Merchant-of-Record Constraints Apply?​

Routing is not purely technical.

  • A PayFac's sponsor bank or acquirer agreements may restrict which acquirers can process its sub-merchants or require minimum volumes with a given acquirer.
  • The merchant-of-record model affects who holds the merchant relationship with each acquirer and which MID is used on each route.
  • Network tokens and network transaction IDs may be acquirer-specific, which can limit moving a stored-credential payment to a different acquirer. Confirm with each acquirer before enabling cross-acquirer routing for stored credentials.
  • Pricing agreements may tie rates to volume commitments, so cost-optimal routing may conflict with them.

Treat contractual limits as hard constraints in the rule table, owned by the business team that negotiated them.

How Should You Measure Routing?​

MetricDefinitionCaution
Approval rate per routeApproved attempts divided by attempts, segmented by brand, BIN range, amount bandCompare like for like; segment mix differs by route
Cost per approved dollarTotal processing cost divided by approved volumeInclude per-item fees, interchange and scheme fees, and retry costs
Latencyp50, p95, p99 end-to-end per routeAdd latency from cascading to the user-facing figure
Timeout and unknown rateAttempts ending without a definitive resultEach one requires resolution work
Fallback shareShare of payments needing more than one attemptRising share signals a poor primary route

Run changes as controlled experiments: send a small, randomly assigned share of eligible traffic to the candidate route and compare by segment. Do not quote benchmark figures from other platforms as targets; processors report varying results that depend on merchant mix.

RoutingService Sketch​

import { Injectable } from '@nestjs/common';

export enum Route {
ACQUIRER_A = 'acquirer_a',
ACQUIRER_B = 'acquirer_b',
}

export interface RoutingContext {
binPrefix: string; // never the full PAN
brand: string;
cardType: 'credit' | 'debit' | 'prepaid' | 'unknown';
issuerCountry?: string;
currency: string;
mcc: string;
amountMinor: number;
channel: 'cnp' | 'cp';
}

interface RoutingRule {
id: string;
matches: (ctx: RoutingContext) => boolean;
candidates: Route[]; // ordered preference
}

@Injectable()
export class RoutingService {
// Evaluated top to bottom; first match wins. Hard constraints come first.
private readonly rules: RoutingRule[] = [
{
id: 'eur-local',
matches: (c) => c.currency === 'EUR',
candidates: [Route.ACQUIRER_B, Route.ACQUIRER_A],
},
{
id: 'default',
matches: () => true,
candidates: [Route.ACQUIRER_A, Route.ACQUIRER_B],
},
];

constructor(private readonly health: HealthService) {}

select(ctx: RoutingContext): { route: Route; ruleId: string; fallbacks: Route[] } {
const rule = this.rules.find((r) => r.matches(ctx))!;
const healthy = rule.candidates.filter((r) => this.health.isAvailable(r));
const ordered = healthy.length > 0 ? healthy : rule.candidates;
return { route: ordered[0], ruleId: rule.id, fallbacks: ordered.slice(1) };
}
}

export interface HealthService {
isAvailable(route: Route): boolean;
}

The service returns the rule identifier so every decision can be stored with the attempt and audited. Fallbacks are candidates only; whether to use one after a failed attempt is decided by the cascading policy.

Time-Sensitive

Network rules, fee schedules and BIN data change. Retry limits and debit regulation values are maintained on the Key Numbers page. Confirm contractual and network restrictions with your acquirers and sponsor bank, and consult your QSA or legal counsel for compliance questions.

References​

Share: