Software Design

ATM Cash Withdrawal Flow: Handling Edge Cases

Use Case Diagrams · made in Skemio

Use case diagram for ATM Cash Withdrawal showing Cardholder, Bank Switch, and Cash Dispenser interacting with authentication, withdrawal, and rollback cases.
Use case diagram for ATM Cash Withdrawal showing Cardholder, Bank Switch, and Cash Dispenser interacting with authentication, withdrawal, and rollback cases.

What it shows

  • Decouple card authentication from cash dispenser confirmation.
  • Hardware dispensing must be an atomic step with sensor verification.
  • Automatic reversal transactions trigger if notes remain uncollected.

The takeaway

Design ATM flows around hardware failure boundaries, not just happy-path account balances.

More use case diagrams