Dynamic Payment Routing: Rules, Cascades and Retry Limits
How dynamic payment routing works: routing rules, cascading after a failure, Visa and Mastercard retry limits, least-cost and US debit routing, testing.
Article summary
TL;DR
Dynamic payment routing picks, for each payment, the processor or merchant account that should handle it, using rules on country, currency, card type, amount, cost and processor health. When a processor is down or times out, the payment can cascade to another one. A payment the issuer declined stays on its route, under the card network retry rules.
- Static routing sends every payment down one fixed path. Dynamic routing decides payment by payment, and changes path when a processor slows down or fails.
- A technical failure is the safe case for cascading: the issuer never answered. An issuer decline is not: Visa forbids changing the acquiring identifier to get a declined payment through.
- Visa forbids any new attempt on the same card after a Category 1 decline (lost, stolen, closed account) and caps other declines at 20 attempts in 30 days.
- On a retry, Visa forbids manipulating data such as the MCC, the merchant country or the acquiring identifier to get an approval.
- In the US, debit cards must carry at least two unaffiliated networks, online too since July 1, 2023, and the merchant chooses the network.
On this page
Dynamic payment routing decides which processor handles each payment, and what happens when that processor fails. The first half is a set of rules. The second half is where most of the money and most of the risk sit, because card networks limit which declines you may send again, and how often. For the merchant's side, step by step: multiple merchant accounts: what is allowed.
This guide covers the routing rules, cascading after a technical failure, the Visa and Mastercard retry limits, least-cost and US debit routing, local acquiring, and how to test a route. For the layer around it (vault, connectors, reporting), see what payment orchestration is.
What is dynamic payment routing?
Smart routing, dynamic routing and transaction routing are the same idea: with several processors connected, a routing engine chooses one for each payment. Static routing makes that choice once. Every payment, or every payment of one type, goes down the same path until someone changes the setup. By industry: payment routing for supplement brands, payment routing for skincare brands, payment routing for online pharmacies, payment routing for telehealth companies, payment routing for fitness brands and payment routing for info product businesses.
Fig. 1Same payment, two setups
Static routing
- CheckoutCustomer pays $79
- always routes toProcessor ATiming out since 9:12Declined
Order lost until someone edits the setup
Dynamic routing
- CheckoutCustomer pays $79
- checksRouting rulesProcessor A marked unhealthy
- routes toProcessor BApprovedApproved
Order paid, processor A skipped until it recovers
Static isn't wrong. It just can't react.
Static routing still has a place. A single-market store with one processor and stable approvals gains little from a routing engine. Most real setups mix both: fixed rules for what can't move (a currency only one account can settle, a business line that must stay on its own merchant account), and dynamic choices for everything else.
How a routing decision is made
The customer sees one checkout. Behind it, the decision takes a few steps, before the authorization request leaves.
- Read the payment. Card brand, card type (credit, debit, prepaid) and issuing country come from the BIN, the first digits of the card number. Add amount, currency, and whether it's a first payment or a renewal.
- Remove processors that can't take it. Unsupported currency, card brand or country, an amount above a limit, a business line the account isn't approved for.
- Rank the rest. By your rules: lowest cost, best recent approval rate for that segment, a contract volume to reach, or a fixed priority.
- Send it, with a time limit. If the processor doesn't answer in time, or answers with a technical error, the next one in line can take it.
- Record the outcome. Response code, latency and processor feed the next decisions and your reports.
The order matters: eligibility first, preferences second, fallback last.
Two rules keep this sane. Risk checks come before the routing choice, not after: a payment your fraud screen blocks shouldn't go looking for a processor that will take it. And every cascade needs an idempotency key, so a timeout that actually went through isn't charged twice.
Routing rules: what you can route on
Each rule answers one question: for this kind of payment, which account should go first?
| Route on | Example rule | Why |
|---|---|---|
| Customer or issuer country | Cards issued in the UK go to the account that settles in the UK | Domestic payments are often approved more and cost less than cross-border ones |
| Currency | EUR payments go to the account that settles in EUR | Avoids a currency conversion on your side |
| Card brand and BIN | Amex to the account that accepts it; prepaid cards to the account that allows them | Not every account takes every brand or card type |
| Card type | US debit cards to the processor that supports network choice | Debit routing can cut costs (see below) |
| Amount | Orders above $500 go to the account with the higher per-transaction limit | Processors set limits per account |
| Business line (MCC) | Subscription orders to the account set up for that business | Each business line must carry its own MCC |
| First payment or renewal | Renewals stay on the account that holds the customer's agreement | Keeps the stored-credential history consistent |
| Processor health | Skip a processor whose error rate or latency spiked in the last minutes | Turns an outage into a reroute |
| Cost | Cheapest eligible processor first, when approval rates are close | Least-cost routing |
| Volume share | 80/20 split between two accounts | Keeps the backup account live and gives you comparable data |
The MCC row needs care. Visa wants the merchant category code to describe what you actually sell. A business with several activities can use one MCC per activity, and a high-risk activity must have its own MCC, separate from the others.9Visa, Merchant Data Standards Manual, April 2026 Routing by MCC means each business line has its own account, not relabelling the same sale to whichever code gets approved. More in our guide to high-risk MCC codes.
Cascading and failover after a failed payment
Cascading is the fallback part of routing: when the first processor fails, the payment moves to the next. The word covers two very different situations, and the rules differ.
Fig. 2A cascade on a technical failure
approved declined or closed routing step
- CheckoutCustomer pays $79
- routes to
Processor ANo answer after 8 secondsDeclined
- falls through
Processor BApprovedApproved
The issuer never said no. That's what makes it safe.
Technical failures are the clean case for failover: the processor timed out, returned an error, or the issuer couldn't be reached. Stripe's codes processing_error, issuer_not_available and reenter_transaction all say to attempt the payment again.3Stripe Docs, Decline codes The issuer never decided, so nothing in the decision is being worked around. Check first that the first attempt didn't go through.
Issuer declines are another matter. The bank looked at the payment and said no. Sending it to a second processor is a new authorization request on the same card, and Visa's rules on reattempts apply. One of them limits how far a cascade can change the request:
An Acquirer, a Merchant, a Payment Facilitator, or a VisaNet Processor that reattempts an Authorization Request following a Decline Response […] must not intentionally manipulate any data elements from the original Authorization Request, including, but not limited to, the following: Acquiring Identifier; Acquirer and Merchant country; MCC; POS condition code; POS environment field; POS Entry Mode; Electronic Commerce Indicator.
Changing the MCC or the merchant country to get a declined payment approved is clearly forbidden.1Visa Core Rules and Visa Product and Service Rules, April 18, 2026 The acquiring identifier is on the list too, and a second processor means a second acquirer. So a cascade is for payments the issuer never answered: a timeout, an outage, an error. A payment the issuer declined stays on its route, retried later within the limits below, or paid with another method.
Which declines can be retried, and where?
Visa sorts decline codes into four categories, and the category sets what a merchant may do next.1Visa Core Rules and Visa Product and Service Rules, April 18, 2026 The limit is per card: it applies across all your processors, not per account.
| Visa category | Example codes | Retry the same card? | What routing should do |
|---|---|---|---|
| 1. Issuer will never approve | 04 pick up card, 07 fraud account, 14 invalid account number, 41 lost card, 43 stolen card, 46 closed account, 57 not permitted to cardholder, R0/R1/R3 stop or revoked authorization | NoNever, for the same card, on any processor | Stop. Ask the customer for another payment method |
| 2. Issuer can't approve now | 51 not sufficient funds, 59 suspected fraud, 61 exceeds amount limit, 62 restricted card, 91 issuer or switch inoperative, 96 system malfunction | YesUp to 20 attempts in 30 days | 91 and 96: the issuer wasn't reached, so a cascade can apply. 51: retry later on the same route |
| 3. Data quality | 54 expired card, N7 CVV2 failure, 82 negative CVV results, 1A authentication required (Europe and CEMEA) | YesUp to 20 attempts in 30 days, once the data is fixed | Fix the data or authenticate. Rerouting the same wrong data changes nothing |
| 4. Generic | All other codes, including 05 do not honor | YesUp to 20 attempts in 30 days | NoCascade. Retry later on the same route, or ask for another method |
Source: Visa Core Rules, table 7-2, p. 538 to 541.1Visa Core Rules and Visa Product and Service Rules, April 18, 2026
Mastercard works with Merchant Advice Codes (MAC) sent with the decline.2Stripe Docs, Card declines As published by PayPal in May 2026: a fee applies when a payment declined with MAC 03 (do not try again) or 21 (payment cancellation) is sent again after the same decline within 30 days, and other declines are allowed 10 attempts in 24 hours and 35 in 30 days before a fee per attempt. PayPal also lists Visa fees on retries after a Category 1 decline and after 20 attempts in 30 days: $0.10 per US domestic attempt, $0.25 cross-border.5PayPal Business Resource Center, How to avoid excessive retries penalties, May 15, 2026
Stripe recommends a maximum of eight retries for charges that permit retries, and warns that issuers can read extra retries as potential fraud, which raises declines on legitimate charges.2Stripe Docs, Card declines
"Do not honor" is not "stolen card"
- Processor timeout or 96 system malfunctionNobody decided. The payment may or may not have gone throughCheck for an approval, then cascade to the next processor
- 05 do not honorGeneric decline, no reason given. Visa Category 4No cascade. Retry later on the same route, within the 20 attempts in 30 days
- 51 not sufficient fundsThe card works, the money isn't there todayRetry later on a schedule, or offer another method
- 59 suspected fraudThe issuer suspects fraud. Retry is allowed, but the customer may need to confirm with the bankDon't shop it to another processor. Authenticate with 3DS or ask for another card
- 43 stolen card or 41 lost cardVisa Category 1. The issuer will never approveStop everywhere. Show a generic decline message
Two fraud cases deserve their own rule. When a processor's own fraud screen blocks a payment, it never reached the issuer: Stripe returns do_not_try_again for a Radar block.4Stripe Docs, Declines Sending that payment to another processor is asking a second fraud screen for a different answer, and the disputes land on your account either way. And when a card is reported lost or stolen, Stripe asks you not to tell the customer the reason: show it as a generic decline.3Stripe Docs, Decline codes More on screening in our ecommerce fraud prevention guide.
Practical rule
Cascade only when the issuer never answered: a timeout, an outage, an error. Never send a payment the issuer declined to another processor, and never cascade a fraud block. And count attempts per card across all your processors, because that's how the networks count them.
Least-cost routing
Least-cost routing sends each payment to the cheapest processor that can take it. What makes one route cheaper than another:
Your pricing
Each processor bills differently: blended rate, interchange plus a margin, fixed fees per transaction. The same card can cost more on one account than another.
Domestic or cross-border
A card processed in its own country usually avoids cross-border fees. A local account can make the same order cheaper.
Card type and network
Interchange differs by card type. On US debit, you may choose the network.
The cheapest route only wins if approval rates are close. Compare routes on cost per successful payment: total fees, including declined attempts and retries, divided by approved payments. A route that saves a few basis points and declines more customers costs more than it saves. For the fee side, see credit card interchange fees and transaction cost analysis.
US debit routing: Durbin and Regulation II
In the US, debit cards come with a legal routing choice. The Durbin Amendment led to the Federal Reserve's Regulation II, which forbids issuers and card networks from restricting a debit transaction to fewer than two unaffiliated networks, and from inhibiting the merchant's ability to direct the routing over any network that can process it.612 CFR § 235.7, Limitations on payment card restrictions (Regulation II)
Fig. 3Debit routing choice, online too
- Regulation IITwo unaffiliated networks per debit card, merchant chooses the route
- The gapOnline, many debit payments could only go over one network
- Oct 3, 2022Fed finalizes the card-not-present clarification
- July 1, 2023Rule in force: online debit included
The Fed found that some issuers were not enabling two unaffiliated networks for card-not-present transactions, so merchants often could route online debit payments over a single network only.7Federal Register, Debit Card Interchange Fees and Routing, final rule, October 11, 2022 The final rule, effective July 1, 2023, makes clear that issuers must enable at least two unaffiliated networks for online payments too.8Federal Reserve Board, press release, October 3, 2022 It doesn't require that both networks be available for every single transaction, and it didn't change the interchange fee rules.7Federal Register, Debit Card Interchange Fees and Routing, final rule, October 11, 2022
What this means for routing: if your processor supports debit network choice, US debit cards are a segment of their own, with a cost rule. Ask your processor which networks it can route online debit over, and how it decides by default.
Local acquiring
Stripe notes that cards issued in a different country from your account can see more declines, and suggests accounts in your larger markets so you process locally.2Stripe Docs, Card declines That's local acquiring: the payment goes through an acquirer in the card's country, so the issuer sees a domestic transaction.
Visa sets the condition. For an online sale, the acquirer must assign the country of your principal place of business as the merchant outlet location. Another country is allowed only where you have a permanent location with staff doing the business behind that sale, you charge sales tax on it, and that country's law governs the contract with the customer. Misrepresenting the location is forbidden.1Visa Core Rules and Visa Product and Service Rules, April 18, 2026 Routing a payment to a "local" account in a country where you have no real presence is not local acquiring.
How to test and measure a route
No routing engine comes with a guaranteed uplift. Published figures are measured on a vendor's own merchants and traffic. Yours will depend on where your customers' cards come from and which declines you can legally retry. Measure it.
- Pick one segment. For example, UK cards on first payments. One change at a time.
- Split at random. Send part of the segment to the new route and keep the rest on the current one. Same period, same products.
- Count unique payments, not attempts. Stripe advises analyzing unique declines and excluding failed retries, and grouping by card fingerprint rather than charge ID.2Stripe Docs, Card declines4Stripe Docs, Declines
- Wait for disputes. Approval rate today, dispute and fraud rate weeks later. A route that approves more fraud isn't better.
- Decide, then keep a small control. Roll out the winner and keep a share on the old route to catch drift.
Run it like a product test, not a settings change.
| Metric | How to compute it | Why |
|---|---|---|
| Authorization rate | Approved ÷ unique payment attempts, per route and segment | The main signal. See what acceptance rate is |
| Recovery by cascade | Approved on the second processor ÷ payments that failed on the first | Shows whether the fallback earns its keep |
| Cost per successful payment | All fees, including declined attempts ÷ approved payments | Least-cost routing on real numbers |
| Attempts per card | Authorization requests per card over 24 hours and 30 days, all processors | Stays under Visa and Mastercard limits |
| Dispute and fraud rate | Per route, a few weeks after the test | Checks the extra approvals are good ones. See payment risk management |
| Latency | Time from checkout click to response | A slow cascade loses customers before the second processor answers |
Watch out
Disputes from a test count in the dispute ratio of the account that processed them. A test that pushes risky traffic onto a new, small account can lift its ratio fast, and young accounts get the closest look from their processor.
Routing with Tagada
Inside Tagada
TagadaPay, Stripe, NMI and Airwallex behind one checkout
Route across TagadaPay and processors such as Stripe, NMI and Airwallex, with one set of rules, and cascade to another processor when one is down or times out. The card vault lets you switch processors without re-onboarding customers, so running subscriptions keep charging. 3DS2 and a rules engine are built in. Tagada follows Visa and Mastercard rules and the laws that apply to payments.

Whatever tool you use, the rules above are the ones that matter: what you route on, which failures may move to another processor, and how you prove a route works.
Frequently asked questions
What is dynamic payment routing?
What is the difference between static and dynamic payment routing?
Is smart payment routing the same as dynamic routing?
Can I retry a declined card on another processor?
What is least-cost routing for debit cards?
Does dynamic routing increase approval rates?
Sources
Checked October 14, 2026- Visa Core Rules and Visa Product and Service Rules, April 18, 2026
- Stripe Docs, Card declines
- Stripe Docs, Decline codes
- Stripe Docs, Declines
- PayPal Business Resource Center, How to avoid excessive retries penalties, May 15, 2026
- 12 CFR § 235.7, Limitations on payment card restrictions (Regulation II)
- Federal Register, Debit Card Interchange Fees and Routing, final rule, October 11, 2022
- Federal Reserve Board, press release, October 3, 2022
- Visa, Merchant Data Standards Manual, April 2026
TagadaPay
Route every payment, keep every card
Tell us what you sell and how you sell it. Each application is underwritten, and approval is not guaranteed.
- 01Tell us what you sell and how
- 02Underwriting reviews your business
- 03Process through TagadaPay alongside your other processors
