When smart routing gets too smart: how payment rules become technical debt
In this article, brought to you by eComCharge, co-founder and chief product officer Alexander Mikhailovski explains how to keep payment decisions understandable as the rules increase
Imagine negotiating a better acquiring deal, completing the integration and sending the first live transactions. Everything works. A month later, the new provider is still receiving very little of the traffic you intended to move. The old, more expensive route remains busy.
The explanation could be sitting in a routing rule created months earlier to solve a completely different problem.
For an igaming operator, this means that the expected savings have not materialised. For its payment service provider (PSP), it means another investigation into why the configuration produces a different result from the commercial plan. Both teams may initially look for a problem with the new provider. The payment system, meanwhile, is doing exactly what it was told to do.
How a sensible exception outlives its purpose
Consider a simplified example. Provider A is having trouble processing cards issued by a particular bank. The PSP adds a temporary rule directing those cards to provider B. Deposits recover, and attention moves elsewhere.
Later, provider C is connected on better terms. The team adds a rule sending 10% of eligible deposits from that country to provider C and the remaining 90% to provider A. The intended test traffic includes cards from the affected bank.
Suppose this routing setup applies the first matching rule. The old bank-specific exception sits above the new country rule, so those cards still go directly to B. They never enter the split. C receives some deposits, but an important part of the intended test population is missing.
Now someone notices the old exception and removes it. Those cards enter the country split, where 10% go to C and the remaining 90% go to A. If A’s original problem remains unresolved, removing one apparently obsolete rule has just reintroduced it.
There was nothing unreasonable about the emergency diversion or the later trial. The missing step was checking how the two decisions interacted and whether the reason for the first decision still applied.
Where the cost appears
This is how routing rules become technical debt: their purpose is forgotten and their interactions become harder to understand. Before making a change, someone must reconstruct why an exception exists, which rules it overrides and where the affected transactions will go.
That work costs time. A commercial team may have negotiated a useful new route, while the payment team hesitates to send volume because it cannot confidently predict the consequences. Alternatively, it moves quickly and discovers the consequences through failed deposits and support tickets.
For illustration, suppose C charges 1.8% against B’s 2%, with all other terms equal. If the exception keeps €1m a month at B that was intended for C, the lost fee saving is €2,000. Here, €1m is C’s intended share, not the total traffic before the split. Payments may still succeed, leaving the approval-rate dashboard unchanged while the commercial benefit is lost.
In our example, the old exception also distorts the provider trial. C has not received the intended mix of cards. Comparing its overall approval rate with B’s tells us little unless we account for that difference. We could reject a useful provider, or expand a trial on evidence that does not represent the traffic it will eventually receive.
An operator does not need access to every routing condition to recognise this problem. A useful question for the PSP is whether the intended traffic actually reached the provider being evaluated, and what prevented the rest from getting there.
Keep the reason with the rule
The first improvement is straightforward. When creating an exception, record its business reason, its scope and who is responsible for reviewing it. ‘Send this bank’s cards to B until A resolves the processing issue’ is useful. ‘Temporary routing fix’ leaves the next person guessing.
A temporary rule needs a review date. Automatic deletion can be dangerous: the restriction or provider problem may still exist. The review should establish whether to retain, amend or remove the rule, with evidence for that decision. Someone must own that follow-up even when the immediate incident is over.
It also helps to distinguish restrictions from preferences. A provider’s prohibition on accepting certain traffic must remain binding when a team changes its preferred route for price or performance. Otherwise, a commercial adjustment can accidentally override an acceptance condition.
None of this requires a large committee. During an incident, a payment team must be able to act quickly. A short record made at the time, followed by a scheduled review, is much easier than reconstructing the decision months later.
Check the traffic that will move
Before changing a rule, identify which transactions will move and where. In our example, is A ready to accept those cards again? Will C receive the intended test traffic?
Moving the country rule above the exception could also bypass other bank-specific restrictions. Check every segment the change could affect.
Where possible, test both configurations on recent transactions without sending payment requests. Without that tooling, manually trace the rules for several representative payments as an initial check. Include exceptions and conditions such as reaching a daily volume cap; ordinary transactions alone will not cover them.
These checks show routing changes, not whether another provider would approve a payment. That requires a controlled live trial.
Start with a limited segment. Check whether C receives the intended share and mix of traffic, and track approval rates and actual fee savings for that segment. Keep a configuration to return to, checking that its routes remain available. Reverting rules cannot undo payments already attempted.
Make the decision explainable
After a change, the team should be able to explain why an individual deposit went to B rather than C. The destination alone does not answer that question. The useful evidence includes the rule that selected it, the configuration in force and any restriction or limit that excluded another route.
Start with the record of which rules actually fired, then read the description of the rule that determined the route. In our example, the bank-specific exception explains why the payment went to B; its description should explain the original problem with A. Together, they give the team a concrete question to investigate: does that problem still exist?
When developing payment routing tools at eComCharge, we keep these situations in mind. For us, a practical measure of how manageable a routing setup remains is whether the team can trace a payment’s route and understand the reason behind it without relying on whoever configured the rules months ago.
For operators and PSPs, the next routing review can start with one temporary exception. Find a transaction it affected, check whether its purpose still applies and establish where the payment would go if the rule changed. Retain useful exceptions with a review date; test changes before removing obsolete ones. A successful deposit does not, by itself, show that the payment followed the route or delivered the savings you intended.

Alexander Mikhailovski is co-founder and chief product officer at eComCharge. He specialises in payment processing platforms for payment service providers, including those serving igaming, with a focus on routing, acquiring integrations and the practical economics of payments.