Skip to content

Glossary: System Design Beyond the Basics in Rust

Payment states

Also written: authorized, captured, created, failed

The states of a payment: created, authorized (bank holds the money), captured (money taken, when the order ships) or failed. Captured and failed are final, and the payment state machine allows only certain moves between them.

Where the book teaches it

Related terms

State machine