Skip to content

Orchestration

Smart Payment Routing: Rules by BIN, Cost and Country

Payment routing is the choice of which provider handles each payment once you work with more than one. Smart payment routing makes that choice for every single transaction, using rules about the card, the amount, the currency and the shopper's country, so no payment lands on a PSP only because it happens to be your default.

On our platform the routing sits behind the single integration your checkout already uses. You connect your PSPs and acquirers once, write the rules in the dashboard and change them later without a code release. Intelligent payment routing and transaction routing are other names for the same job.

How payment routing works on one payment

Routing adds no step for the shopper. Every rule reads data the payment carries anyway.

The path of a routed payment

The steps below run between the moment the shopper clicks pay and the moment your checkout shows the result.

  1. Your checkout sends the payment to our API, the same call whichever provider takes it in the end.
  2. The routing engine reads the card's BIN and type, the currency, the amount, the country and the payment method.
  3. It matches the payment against your rules and picks the PSP, acquirer or MID they name.
  4. The provider authorizes or declines, and its answer goes back to your checkout.
  5. If the provider declines softly or doesn't answer, cascading can try your next provider within the same payment flow.
  6. The route, the outcome and the response time go into your reports.

The shopper sees one payment and one result, however many rules it passed on the way.

Rules for BIN, cost and currency

Rules combine six fields: BIN, card type, currency, amount, country and payment method. Each rule then sends the payments that match it to a provider or to one specific MID.

Here's a rule set for an online store with three providers. PSP A holds the main contract, PSP B acquires locally in Brazil, and PSP C does best with wallet payments in Europe according to the store's own reports.

Payment Route Reason for the rule
Cards issued in Brazil, paid in BRL PSP B Domestic acquiring for domestic cards
Apple Pay and Google Pay in the EU PSP C The wallet route the reports favor in that region
US debit cards under $100 A second MID at PSP A The lower fee on small debit payments in that contract
Repeat customers on a subscription A dedicated MID at PSP A Trusted and recurring customers kept on one route
Everything else PSP A The main contract

The wallet and repeat-customer rows use two options worth knowing. Apple Pay and Google Pay payments can be routed by region, issuer, currency or provider performance, and trusted, high-value or recurring customers can be pinned to MIDs or acquirers you pick.

A short list like this one is easier to audit than fifty narrow rules. Add another rule only when your reports show a segment that behaves differently from the rest, and give it an end date if it's a test.

Reading the results

For each provider, the dashboard reports approval rates, declines, latency and route efficiency. Filter them by MID, and you can ask narrow questions about each rule. Did PSP B approve more Brazilian cards than PSP A did before the rule existed? Did the cheaper MID raise declines on small debit payments?

Compare whole weeks. One bad day can hide a good rule.

Change one rule at a time as well, or you won't know which change moved the numbers. Any gain from routing depends on your providers and your traffic, which is why the platform measures it for each provider instead of promising a figure.

Who uses payment routing

Merchants with two or more PSPs use it to send each payment where their own data says it belongs. PSPs offer it to their merchants as a feature, and they also run it across their own acquirers to decide which bank takes which payments.

Banks get one more option. On-us routing handles payments where the card's issuer and the merchant's acquirer are the same bank.

When you compare payment routing platforms, ask whether the rules can cover providers you hold your own contracts with, or only the vendor's own acquiring.

Routing across the whole platform

Routing works on every provider you connect, including the ones you bring with your own contracts. A provider added through the connector library becomes one more route your rules can name, and its results appear next to the others in the same dashboard.

Questions

What are the main types of payment routing?

Most routing logic falls into three kinds. BIN-based routing follows the card's issuer and brand, cost-based routing picks the provider that charges less for that payment, and performance-based routing follows each provider's recent results. On our platform you can set all three in the dashboard and add conditions on currency, amount, country and payment method.

How is a smart routing gateway different from a traditional gateway?

A traditional gateway connects you to one processor or acquirer. Every payment follows the same path, and a decline or an outage there ends the sale. A smart routing gateway connects to several providers and chooses a path for each payment, so when one provider fails, routing and cascading can still send the payment somewhere else.

What's the difference between static and dynamic payment routing?

Static routing follows fixed rules, such as sending every BRL payment to one PSP. Dynamic routing moves traffic as provider results change, for example shifting a card segment away from a provider whose declines are rising. Many merchants start with static rules and add performance-based ones after they've collected a few weeks of data for each provider.

Can routing lower my processing costs?

It can, where your contracts differ. A cost-based rule sends a card type, a currency or a market to the provider that charges you less for it. The saving depends on the gap between your contracts and on how much volume falls into each segment, so compare the fee lines of every provider before you write the rule.

Book a demo

Draft a rule set for your traffic

Send us your provider list and last month's payments split by country and card type, and we'll sketch a first rule set with you. Book a demo

700+ ready connectors, a 99.95% uptime SLA, SaaS or your own infrastructure.

expand_more

We walk you through the dashboard, routing rules and reports on your use case.