As reported: eBay SSE, in-person drive, HLD round (2026), second design question: design a payment system to send money between two digital wallets.
Design a wallet-to-wallet payment system:
- Users hold balances in digital wallets.
- A user sends money to another user's wallet; both see the updated balances and the transaction in their history.
- Money is never created, lost or moved twice, even with retries, crashes and concurrent transfers.
Agree on scope first.