TopicPayments platform, switch topic
Verified 18 Nov 2026

Topic · Advanced · 8 lessons · about 2½ hours

Payments platform: move money exactly once.

Networks drop, apps retry and webhooks arrive twice. This topic builds a checkout payment system that charges each customer exactly once and can prove it to an auditor: idempotency, tokens, ledgers, outbox, webhooks and daily reconciliation.

  • Every figure sourced and dated
  • PCI DSS v4.0.1 and RBI rules
  • Same 2D and 3D diagram engine

The system you’ll build

Checkout payments · 9 components

Why this topic exists

At payment scale, the rare case happens every few seconds.

Lessons

1 interactive · 7 coming

  1. 1Move money exactly onceThe whole system in ten steps: idempotency, risk, tokens, retries, ledger, outbox, webhooks, reconciliation.18 minInteractive
  2. 2Idempotency in depthKey scope, storage, expiry, concurrent duplicates and what to do when a key is reused with a different body.14 minComing
  3. 3Designing the ledgerAccounts, double-entry transactions, reversals, balances at a point in time, and multi-currency.16 minComing
  4. 4Asynchronous outcomes and webhooksSignatures, replay windows, duplicates, ordering, and polling as a backstop.12 minComing
  5. 5Timeouts, retries and backoffUnknown outcomes, retry budgets, full jitter and circuit breakers in front of a PSP.12 minComing
  6. 6PCI scope and tokenisationWhat lands in scope, vaults and network tokens, and RBI card-on-file rules in India.15 minComing
  7. 7Reconciliation and breaksSettlement files, matching rules, break queues, ageing and the match-rate metric.14 minComing
  8. 8Interview: a marketplace payments platformA full mock interview with split payouts, refunds and chargebacks, scored on the same rubric.45 minComing

Current with

Every fact in this topic, with its source and date

All sources