Skip to content

Glossary: System Design Beyond the Basics

State machine

Also written: Payment state machine, payment state machine

A list of the states something can be in and the moves allowed between them; every other move is refused. A payment goes created → authorized → captured, or fails, so a late retry can't capture a failed payment.

Where the book teaches it

Related terms

Double-entry ledger