Kind of design round

Payments and ledgers system design interview questions

Banks, payment companies and anything that moves money ask about moving it: once, never twice, and with a record that adds up at the end of the day.

The round is rarely about raw scale. It's about correctness under failure: a provider that times out, a retry that lands twice, a balance that drifts from the ledger. Interviewers listen for idempotency in the first few minutes and for a ledger you can prove is right.

Common problems

Three problems to practise

The company version will be about their own product. These are the shapes it usually takes.

  1. Problem 1 · The core of every bank and wallet

    Move money between two accounts, exactly once

    What makes it hard

    • A double-entry ledger, with balances worked out from entries rather than edited in place
    • An idempotency key from the app through to the ledger write, so a retried tap is one transfer
    • Two transfers out of the same account at once, without going below zero

    Follow-ups to expect

    • “The request times out after the debit is written. What does the app show, and what happens on retry?”
    • “How would you shard this when one account gets thousands of writes a second?”
  2. Problem 2 · Every checkout that uses a payment provider

    Take a card payment through a provider that can time out

    What makes it hard

    • A payment state machine (created, authorised, captured, refunded) where every move is safe to repeat
    • The "unknown" state: the provider timed out and you don't know whether the card was charged
    • Webhooks that arrive late, twice or out of order

    Follow-ups to expect

    • “The provider timed out. Did the money move? How do you find out?”
    • “How do you pay the seller, and when?”
  3. Problem 3 · Where money goes missing in real life

    Reconcile your ledger against the bank's statement

    What makes it hard

    • Matching your records with an outside file that uses different ids and arrives a day late
    • What to do with a line on one side only
    • Proving to finance that the totals agree

    Follow-ups to expect

    • “The bank shows a payment you have no record of. What now?”
    • “How do you rerun a day without double counting?”
Where people lose marks

Common mistakes

  • Storing a balance and updating it in place, with no entries behind it
  • Floats for money, or amounts without a currency
  • Treating a timeout as a failure and retrying with a new id
  • Leaving reconciliation out because it isn't "the system"
Free library

Revise these first

By company

Companies with this kind of round

Each page has three problems close to what that company builds.

Planned · per company

The plan and prompts are free now. The paid part is planned: five timed mocks of their design round, by voice, on a whiteboard, with an interviewer who pushes back and scores you against the bar for your level. £19 / $24 / €22 per company, once, not a subscription.

Your move · one question

Would you pay for it? Tell us on the waitlist.

Join the waitlist

One email when it opens. We keep only your email address and your answer.

Got an interview coming up?

Add the company you are interviewing at and get their stages, in their order, in about a minute.