Designing a Payment Routing Mechanism: From Business Scenarios to Technical Implementation
The article explains how a payment routing system can be built to manage profitability, user experience, and success rates by combining guide routing and transaction routing, using real‑world analogies, strategy examples, and architectural diagrams to illustrate channel selection, risk control, and cost optimization.
Author Wang Wei, senior product manager at Ctrip Financial R&D Center, introduces the concept of payment routing as the core of payment profit management, using a story about a grocer named Old Wang to illustrate the challenges faced when scaling a business.
Old Wang’s expansion creates problems such as diverse store types, varied customer demands, multiple suppliers, large transaction volumes, and the need for fine‑grained service customization. His simple goal is to serve everyone well while maximizing profit.
To address these issues, Old Wang designs templates for store size and inventory, upgrades hardware, diversifies supplier channels, creates customized packages for major clients, selects optimal procurement channels, and implements a reporting system that alerts him to potential issues and automatically switches suppliers when needed.
The story serves as an analogy for a payment routing mechanism that aims to maximize user satisfaction, payment success rate, and revenue. Payment routing consists of two parts: guide routing and transaction routing.
Guide routing determines which payment methods are displayed to the user (e.g., which bank cards are offered) based on industry templates, merchant requirements, and special presentation rules.
Transaction routing decides, according to configured strategies, which channel a transaction should use—whether cost‑first, risk‑first, or a designated priority—similar to choosing between different suppliers for a product.
Guide routing builds industry‑specific templates that control the display order of payment options, allowing merchants to influence user behavior and support special merchant layouts.
Transaction routing applies rules that direct transactions to the most suitable channel, achieving cost reduction, automatic circuit‑breaker (failover) handling, and compliance with the principle that payment success rate is the top priority.
Channel strategies can include weight‑based load balancing, quota limits, and statistical distribution algorithms to ensure each channel receives appropriate traffic, mirroring the supplier management in Old Wang’s story.
Examples illustrate how different fee structures, backup channels, and risk‑based routing decisions affect which channel is selected, demonstrating cost optimization, backup availability, and security enforcement.
Combining guide and transaction routing, the payment routing mechanism fulfills the three key objectives: user experience satisfaction, high payment success rate, and revenue maximization.
Further diagrams illustrate the layered architecture of routing, emphasizing that a rich set of diverse channels (outbound, inbound, cross‑border, etc.) forms the foundation of the system.
Ctrip Ticket Front‑End Tracking Stories Hybrid Collaborative Filtering Model Based on Deep Learning in Recommendation Systems How Ctrip Ensures Business Security Machine Learning Model Deployment Practices What Makes a Good Engineer Culture
Ctrip Technology
Official Ctrip Technology account, sharing and discussing growth.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.