About this module
The seven-step framework for fintech system design interviews, then a full walkthrough: design the gateway that lets online shops take card payments, with idempotency keys, a payment state machine, timeouts that end in unknown, webhooks both ways, a double-entry ledger and nightly reconciliation.
Lessons
- Lesson 16
The Seven-Step Interview Framework
What fintech interviewers score, the seven steps, and the questions worth asking
2:12 - Lesson 17
Clarifying a Payment Gateway
Shops, cards and currencies, four actions, and who really moves the money
3:36 - Lesson 18
Estimating Payments at the Sale-Day Peak
Two million payments a day, a sale-day peak, and a hundred million dollars
2:10 - Lesson 19
Money Invariants for Payments
Five rules the gateway must keep, whatever fails
1:42 - Lesson 20
The Payment API and Idempotency Keys
Create, capture, void and refund, with a key on every write
2:20 - Lesson 21
A Payment Gateway That Works
From the shop to the card issuer, with a card vault, webhooks, a ledger and reconciliation
3:32 - Lesson 22
Payment States and the Processor Timeout
A state machine, guarded updates, and what to do when the processor goes silent
2:37 - Lesson 23
Webhooks and the Double-Entry Ledger
Verify, dedupe and order incoming webhooks, deliver outgoing ones at least once, and balance every capture
2:21 - Lesson 24
What Breaks First in a Payment Gateway
A processor outage, a database failover, piled-up webhooks, and the nightly reconciliation
2:49 - Lesson 25
Disputes, 3-D Secure and the Invariant Replay
Disputes, partial refunds, an extra customer check, and replaying the design against the invariants
1:37