Software Design

ATM Cash Withdrawal Transaction Machine

State Diagrams · made in Skemio

State diagram of ATM cash withdrawal: CardInserted, PinValidated, Authorizing, CardEjected, Dispensing, and Terminal states.
State diagram of ATM cash withdrawal: CardInserted, PinValidated, Authorizing, CardEjected, Dispensing, and Terminal states.

What it shows

  • Card authentication must precede PIN verification and account lookup.
  • Cash dispensing requires a two-phase commit before ledger debiting.
  • Ejecting the card before dispensing cash prevents customers leaving cards.

The takeaway

Critical financial terminals order state transitions to ensure hardware actions match ledger balances.

More state diagrams