01Chapter 1: Clarifying requirements and scopeAssume you know basic HTTP and REST APIs, relational database transactions and unique constraints, and distributed-system concepts such as timeouts and retries. You should also be able to read short Python and SQL snippets.2 min read
02Chapter 2: Making payments idempotentAssume you know basic REST APIs, relational transactions, unique constraints, and distributed-system failures such as timeouts. A payment service must make retries safe because a client cannot tell whether a timed-out request reached the processor.2 min read
03Chapter 3: Webhooks and asynchronous status updatesAssume you know HTTP, relational database transactions, retries, and basic payment states such as authorized, captured, and refunded. A payment system must handle events that arrive late, arrive twice, or never arrive.2 min read