Design a Reliable Payment System
A payment system takes an instruction like "send $500 from my checking account to my landlord" and turns it into money that moves, exactly once. The happy path is short. Most of the work is in what happens when a phone retries a request that already went through, a server dies between two writes, or the connection to the payment rail drops right after the transfer went out. ACH and wires are the two rails most US bank transfers ride on. ACH (the Automated Clearing House) moves payments in batched files and settles the same day or the next. A wire goes one message at a time and is final within minutes. So a wire sent twice is very hard to get back, and that one fact shapes a lot of what follows.
JPMorganPremium lesson · System design round
The JPMorgan design, worked end to end.
- The API and data modelSystem design · Frequently asked
- The design, drawn out3 diagrams
- 5 deep divesWith the tradeoffs
$49 a year · all 107 companies · instant access
183 JPMorgan interview reports · guide updated
JPMorgan interview guideKnow what JPMorgan asks before you walk in.
13 coding · 6 system design · 18 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.