Design Real Time Person to Person Payments Inside a Banking App
Last updated: November 29, 2026
Quick Overview
Design the backend that lets a mobile banking customer send money to another person by phone number or email, with funds available to the recipient in minutes, limits and fraud checks, and no double spending.
Bank of America
November 29, 20260
0
0 solved
Design the backend that lets a mobile banking customer send money to another person by phone number or email, with funds available to the recipient in minutes, limits and fraud checks, and no double spending.
A senior system design round modeled on Zelle in the BofA app, with well over a billion transfers a year and both in-bank and cross-bank recipients. The interviewer checks ledger correctness, idempotency, how the bank talks to an external network, scam controls, and behavior during partial outages.
What the Interviewer Expects
- Directory lookup from token (phone or email) to enrolled account
- Atomic hold or debit with a double-entry ledger
- Idempotent orchestration with a state machine and outbox
- Limits and fraud scoring inline with a latency budget
- Handling of network timeouts and reconciliation
- Customer notifications and audit trail
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
- What happens if the network call times out but the recipient bank actually credited the money?
- How do you support a user tapping Send twice on two phones?
- How would you add scheduled and recurring sends?
- How do you handle a first-time recipient scam warning without hurting conversion?
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: enroll a token, look up a recipient, send, see status, receive notifications, view history. Non-functional: no money created or lost, exactly-once effect per send, p99 decision under about...
High-Level Design
Mobile app to API gateway to Transfer Service. The Transfer Service creates a transfer record keyed by a client idempotency key, then runs a state machine: CREATED, RISK_CHECKED, FUNDS_HELD, SUBMITTED...