Skip to content
Log inStart free

Design paper

Payment routing as a constrained contextual bandit: a design for acquirer and method selection

Abstract

A merchant connected to several acquirers and payment methods has to decide, for every transaction, where to send it and whether to add an authentication step. Fixed routing tables and simple failover make that decision once and revisit it rarely. We describe a design that makes it per transaction: calibrated models estimate the probability of approval, the fee and the expected fraud cost of each eligible route, a policy layer removes routes that scheme rules, regulation or the merchant forbid, and a contextual bandit chooses among the rest while spending a bounded share of traffic on exploration. Because acquirer and issuer behaviour changes over time, the bandit discounts old evidence. Every new policy is evaluated offline on logged decisions before it serves traffic. We argue each part from published work on two-sided payment markets, bandit algorithms, policy evaluation, probability calibration and fraud detection, and give a worked model showing how the preferred route depends on margin. This is a design proposal, not a measured result.

Method. Design paper: the architecture is argued from the cited literature; we report no measurements of our own. Table 2 is a worked model with its inputs shown and labelled hypothetical.

References

  1. 1

    Rochet, J.-C., & Tirole, J. (2003). Platform competition in two-sided markets. Journal of the European Economic Association, 1(4). doi.org/10.1162/154247603322493212

  2. 2

    Rysman, M. (2007). An empirical analysis of payment card usage. The Journal of Industrial Economics, 55(1). doi.org/10.1111/j.1467-6451.2007.00301.x

  3. 3

    Li, L., Chu, W., Langford, J., & Schapire, R. E. (2010). A contextual-bandit approach to personalized news article recommendation. Proceedings of the 19th International Conference on World Wide Web. doi.org/10.1145/1772690.1772758

  4. 4

    Agarwal, A., Hsu, D., Kale, S., Langford, J., Li, L., & Schapire, R. E. (2014). Taming the monster: A fast and simple algorithm for contextual bandits. Proceedings of the 31st International Conference on Machine Learning, PMLR 32. proceedings.mlr.press/v32/agarwalb14.html

  5. 5

    European Banking Authority (2018). Regulatory technical standards on strong customer authentication and secure communication under PSD2 (Commission Delegated Regulation (EU) 2018/389). European Banking Authority. www.eba.europa.eu/regulation-and-policy/payment-services-and-electronic-money/regulatory-technical-standards-on-strong-customer-authentication-and-secure-communication-under-psd2

  6. 6

    Niculescu-Mizil, A., & Caruana, R. (2005). Predicting good probabilities with supervised learning. Proceedings of the 22nd International Conference on Machine Learning. doi.org/10.1145/1102351.1102430

  7. 7

    Dal Pozzolo, A., Boracchi, G., Caelen, O., Alippi, C., & Bontempi, G. (2018). Credit card fraud detection: A realistic modeling and a novel learning strategy. IEEE Transactions on Neural Networks and Learning Systems, 29(8). doi.org/10.1109/TNNLS.2017.2736643

  8. 8

    Murdoch, S. J., & Anderson, R. (2010). Verified by Visa and MasterCard SecureCode: Or, how not to design authentication. Financial Cryptography and Data Security 2010, Lecture Notes in Computer Science. doi.org/10.1007/978-3-642-14577-3_27

  9. 9

    Badanidiyuru, A., Kleinberg, R., & Slivkins, A. (2018). Bandits with knapsacks. Journal of the ACM, 65(3). doi.org/10.1145/3164539

  10. 10

    Garivier, A., & Moulines, E. (2011). On upper-confidence bound policies for switching bandit problems. Algorithmic Learning Theory 2011, Lecture Notes in Computer Science. doi.org/10.1007/978-3-642-24412-4_16

  11. 11

    Patil, V., Ghalme, G., Nair, V., & Narahari, Y. (2021). Achieving fairness in the stochastic multi-armed bandit problem. Journal of Machine Learning Research, 22. www.jmlr.org/papers/v22/20-704.html

  12. 12

    Li, L., Chu, W., Langford, J., & Wang, X. (2011). Unbiased offline evaluation of contextual-bandit-based news article recommendation algorithms. Proceedings of the Fourth ACM International Conference on Web Search and Data Mining. doi.org/10.1145/1935826.1935878

  13. 13

    Dudík, M., Langford, J., & Li, L. (2011). Doubly robust policy evaluation and learning. Proceedings of the 28th International Conference on Machine Learning (arXiv:1103.4601). arxiv.org/abs/1103.4601

  14. 14

    Kohavi, R., Tang, D., & Xu, Y. (2020). Trustworthy online controlled experiments: A practical guide to A/B testing. Cambridge University Press. doi.org/10.1017/9781108653985

Cite this paper

Tanqory Research (2025). Payment routing as a constrained contextual bandit: a design for acquirer and method selection. Tanqory. https://tanqory.com/research/intelligent-payment-routing-engines

More research

All research