Design Cross-Border Transfer Orchestration Across Payout Partners
Last updated: November 29, 2026
Quick Overview
Design the backend that takes a funded transfer, runs compliance checks, routes it to one of several payout partners (banks, mobile wallets, cash pickup networks) in the destination country, and drives it to a confirmed payout or refund.
Remitly
November 29, 20260
0
0 solved
Design the backend that takes a funded transfer, runs compliance checks, routes it to one of several payout partners (banks, mobile wallets, cash pickup networks) in the destination country, and drives it to a confirmed payout or refund.
This is the core of a remittance business: partners have different APIs, cutoffs, reliability and fees, and money must never be sent twice or lost. Expect probing on idempotency with external systems, retries versus failover, reconciliation, and keeping delivery-time promises to customers.
What the Interviewer Expects
- Separates intake, compliance, routing, partner adapters and ledger clearly
- Explains idempotent partner calls and what to do on ambiguous timeouts
- Chooses a durable workflow approach (state machine plus queue or workflow engine)
- Covers daily reconciliation against partner statements
- Handles partner outages with health-based routing and safe failover rules
- Ties design to customer-facing delivery-time promises and notifications
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- A partner call times out. When is it safe to fail over to another partner?
- How do you route around a partner whose success rate dropped in the last ten minutes?
- How would you handle a partner that only accepts batch files once per hour?
- How do you design the ledger so treasury can see prefunded balances per partner in real time?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: accept funded transfers, screen sanctions and AML rules, choose a partner per corridor and delivery method, instruct payout, track status, notify customer, refund on failure. Non-functiona...
High-Level Design
Transfer Service owns the state machine and writes events to a log. Compliance Service screens and may place holds for manual review. Routing Service picks a partner from eligible ones using health, c...