Design Instant Cash-Out for Drivers to Debit Cards

Last updated: November 29, 2026

Quick Overview

Design the feature that lets a driver cash out their available earnings to a debit card up to several times a day, with the money arriving within minutes and never being paid twice.

Uber
System Design
Software Engineer
Uber
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the feature that lets a driver cash out their available earnings to a debit card up to several times a day, with the money arriving within minutes and never being paid twice.

Instant payouts sit on the edge between Uber's internal ledger and external card networks, so interviewers use it to test idempotency across a boundary you do not control. They look for a clear state machine, safe retries, and honest handling of ambiguous responses from processors.

What the Interviewer Expects
  • Reserve funds in the ledger before calling the processor
  • Use a payout state machine with idempotency keys passed to the processor
  • Handle timeouts and unknown outcomes without double paying
  • Apply limits, fraud checks, and card verification
  • Reconcile with processor settlement files
Key Topics to Cover
Payout state machine
Idempotency keys
Funds reservation
Reconciliation
Fraud limits
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • The processor call times out. Do you retry, and with what key?
  • How do you prevent a driver from cashing out earnings that later get clawed back as fraud?
  • How would you support a second processor for failover in one country?
  • What should the driver see while a payout is in an unknown state?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Driver taps Cash Out, sees available balance minus a fee, money lands in minutes. Limits per day and per transaction, only verified cards, and earnings under a fraud hold are excluded. Hard requiremen...

High-Level Design
  • Cash-out API validates the request and creates a payout row with a client idempotency key (one tap equals one key).
  • Ledger reservation: post a transaction moving the amount from `driver:...

Submit Your Answer
Markdown supported