Ever wondered why your customers’ payments still go through, even when one of the acquiring bank/banks behind your checkout goes down? Behind the checkout, a guard is quietly watching every route and steering each transaction to the one most likely to succeed. That guard is dynamic routing.
Key Takeaways
Smarter payment routing: Dynamic routing sends each card or UPI payment to the acquiring bank or PSP bank most likely to approve it, using real-time performance data.
Fewer technical failures: It helps avoid bank timeouts and gateway slowdowns, but cannot prevent business declines caused by a wrong PIN or insufficient balance.
Success rates and cost control: Card routing optimises for both payment success rates and processing costs (MDR), while UPI routing focuses on success rates.
Proven business impact: redBus gained 1 percentage point in card payment success rates, while BharatPe saw a 4 percentage point uplift in UPI repayment success rates with Cashfree’s dynamic routing.
What is Dynamic Routing in payments?
Dynamic routing is a payment technology that automatically sends each transaction to the acquiring bank, payment gateway or UPI PSP bank most likely to approve it, based on live performance data. Unlike a single-gateway setup, it spreads transactions across multiple routes and shifts traffic away from any route that starts failing.
Cashfree Payment’s routing engine combines merchant-defined rules with machine-learning models that read live signals such as success rates, response times and error patterns. Every payment takes the path with the highest chance of success. The result is higher payment success rates, fewer failed transactions and, for card payments, lower processing costs.
Why do online payments fail?
Payment failures fall into two broad categories, and dynamic routing can fix only one of them.
- Business declines happen when the customer enters a wrong PIN or OTP, has insufficient balance, or crosses a transaction limit. These are customer-side outcomes, and no routing logic can change them.
- Technical declines happen when an acquiring bank times out, a gateway slows down, an authentication page fails to load, or a bank’s systems degrade during peak hours. These are infrastructure failures, and they are exactly what dynamic routing is built to avoid.
With a single payment gateway, every technical problem on that route becomes your problem. One acquirer having a bad hour means a bad hour for your checkout. With multiple routes and a routing engine watching them live, traffic shifts away from a degrading route within moments, often before customers notice anything at all.
How does Dynamic Routing work for Card Payments?
A card payment passes through several hands: your payment gateway, the acquiring bank, the card network (Visa, Mastercard, RuPay and others), and finally the issuing bank that approves or declines it. Success depends on how well each acquirer performs for that particular combination of card and issuer.
When a customer enters their card, Cashfree reads the card’s BIN (Bank Identification Number, the first digits of the card number). This identifies the issuing bank, the card network and the card type, such as credit or debit, domestic or international. The routing engine then checks the real-time performance of each acquiring bank for that exact card profile, and sends the transaction to the route with the best live authorisation rate.
Card routing can also optimize for cost, because the merchant discount rate (MDR) differs across acquirers and card types. Merchants can set rules that balance success rate against cost, for example preferring a lower-cost acquirer unless its success rate drops below a threshold. Routing also accounts for India-specific requirements, such as whether an acquirer supports tokenised card-on-file transactions under the RBI’s tokenisation framework.
Example: a card payment, step by step
A customer books a ₹4,500 bus ticket with a credit card issued by Bank Z on Network N. The merchant can process through two acquirers via Cashfree: Acquirer A and Acquirer B.
- Cashfree reads the card’s BIN and identifies it as a domestic Bank Z credit card on Network N.
- It checks each acquiring bank’s performance for Bank Z credit cards in real time. Acquirer A is approving 92% of them. Acquirer B has dropped to 70% because its connection to Network N is timing out.
- The payment goes through Acquirer A. The customer completes OTP authentication, and Bank Z approves it.
- Twenty minutes later, Acquirer B recovers to 91%. Both routes are healthy again, and the merchant’s rule prefers the lower-cost acquirer, so new Bank Z payments shift back to Acquirer B.
Without dynamic routing, every Bank Z payment in that window would have gone to Acquirer B, and roughly 3 in 10 would have failed.
Results: redBus gained 1 percentage point in success rate
+1 percentage point in card payment success rate for redBus, added by Cashfree’s dynamic routing.
redBus, one of India’s largest online bus ticketing platforms, now has every card transaction sent to the gateway with the highest live authorisation rate. Dynamic routing was one of several improvements Cashfree made with redBus, and it added a full percentage point to success rates on its own. At redBus’s scale, that is a significant number of extra completed bookings.
How does dynamic routing work for UPI payments?
UPI routing works differently from card routing. In a UPI payment, the customer approves the transaction in their UPI app and NPCI’s switch carries it between banks. The money moves from the customer’s (remitter) bank to the merchant’s side through a payee PSP bank. A payment gateway like Cashfree works with several payee PSP banks, and each one performs differently at different times of day and under different loads.
Cashfree continuously tracks the live success rate, response time and error patterns of every UPI route. When a payment is initiated, the engine picks the payee PSP bank route performing best at that moment. If one PSP bank starts timing out, new transactions move to a healthier route automatically, with no change needed at the merchant’s end.
Example: a UPI payment, step by step
A customer pays ₹1,200 for a food order from their UPI app. Their account is with Bank X. The merchant accepts UPI through Cashfree via two payee PSP banks: PSP Bank P and PSP Bank Q.
- The customer taps Pay. Before generating the payment request, Cashfree checks the live health of both UPI routes.
- It’s 8 p.m., a peak ordering hour. PSP Bank Q’s success rate has fallen to 80% in the last ten minutes because of timeouts. PSP Bank P is holding at 95%.
- Cashfree generates the request through PSP Bank P. The customer enters their UPI PIN, NPCI debits Bank X, and the credit is confirmed in seconds.
- Once PSP Bank Q recovers, it starts receiving traffic again.
Without dynamic routing, one in five payments through PSP Bank Q in that window would have failed, each becoming a retry, an abandoned order or a support ticket.
Can dynamic routing fix every UPI failure?
No. If the customer’s own bank is down, no routing can bypass it, because the money has to leave that bank. Dynamic routing protects against failures on the merchant’s side of the payment chain, which is the part a merchant can control.
Results: BharatPe saw a 4 percentage point uplift in UPI success rates
4 percentage point uplift in UPI repayment success rates for BharatPe’s lending business, from Cashfree’s dynamic routing.
For a lender, a failed repayment means a missed instalment for the borrower and a collection follow-up for the business. BharatPe now has every repayment sent through the UPI route performing best at that moment, based on current success rates and network performance.
One routing engine for every payment method
With Cashfree, you don’t manage card and UPI routing separately. Set your rules once, let the engine learn from live traffic, and every payment, card or UPI, takes the route most likely to succeed. You get higher conversions, fewer drop-offs at checkout, and no 2 a.m. scramble when a bank has a bad night.
Want to see what dynamic routing could do for your success rates?
Sign Up TodayFrequently asked questions
What is the difference between dynamic routing and static routing?
Static routing sends payments along fixed rules, such as all Visa cards to one acquirer, regardless of how that acquirer is performing right now. Dynamic routing makes the decision per transaction using live performance data, so traffic moves away from a failing route automatically.
Does dynamic routing improve UPI success rates?
Yes, for technical failures on the merchant’s side. It routes each UPI payment through the payee PSP bank performing best at that moment. It cannot fix failures caused by the customer’s bank being down or by customer errors such as a wrong UPI PIN.
Can dynamic routing reduce payment processing costs?
For card payments, yes. MDR differs across acquirers and card types, so merchants can set rules that prefer lower-cost routes while success rates stay healthy. Most UPI merchant payments in India carry zero MDR, so UPI routing focuses on success rate.
Do I need multiple payment gateways to use dynamic routing?
Not with Cashfree. Cashfree connects to multiple acquiring banks and UPI PSP banks, so merchants get multi-route coverage through a single integration.
What is a technical decline?
A technical decline is a failed payment caused by infrastructure rather than the customer, such as a bank timeout, a gateway slowdown or an authentication page that fails to load. Dynamic routing is designed to prevent these.