ATM System – Use Cases
Use Case 1: Withdraw Cash
Actors:
Primary Actor: Customer
Supporting Actor: Bank System (Authentication and Transaction
Processing System)
Inputs:
Debit/ATM Card
Personal Identification Number (PIN)
Withdrawal Amount Selection
Outputs:
Dispensed Cash
Updated Account Balance
Transaction Receipt (Optional)
Normal Operation:
1. Customer inserts card into ATM.
2. ATM prompts for PIN.
3. Customer enters valid PIN.
4. ATM displays account options; customer selects “Withdraw Cash.”
5. ATM prompts for account (checking or savings) and withdrawal
amount.
6. Customer selects account and enters amount.
7. ATM communicates with bank system to authorize transaction.
8. Bank system verifies sufficient balance and approves transaction.
9. ATM dispenses cash.
10. ATM offers to print receipt; customer selects yes/no.
11. ATM returns card and displays updated balance.
Exceptions:
Incorrect PIN entered 3 times → ATM retains card and terminates
session.
Insufficient funds → ATM displays error message and cancels
transaction.
Hardware failure (cash dispenser jam) → ATM displays service message
and cancels transaction.
Use Case 2: Display Account Balance
Actors:
Primary Actor: Customer
Supporting Actor: Bank System
Inputs:
Debit/ATM Card
PIN
Outputs:
Display of Current Balance
Printed Balance Receipt (Optional)
Normal Operation:
1. Customer inserts card.
2. ATM prompts for PIN.
3. Customer enters valid PIN.
4. ATM displays options; customer selects “Display Balance.”
5. ATM communicates with bank system to retrieve current balance.
6. ATM displays current balance on screen.
7. ATM offers to print balance receipt; customer selects yes/no.
8. ATM returns card.
Exceptions:
Incorrect PIN entered 3 times → ATM retains card.
Bank communication error → ATM displays error message and cancels
transaction.
Use Case 3: Change PIN
Actors:
Primary Actor: Customer
Supporting Actor: Bank System
Inputs:
Debit/ATM Card
Current PIN
New PIN
Outputs:
Confirmation of PIN Change
Normal Operation:
1. Customer inserts card.
2. ATM prompts for current PIN.
3. Customer enters valid PIN.
4. ATM displays options; customer selects “Change PIN.”
5. ATM prompts for new PIN and confirmation entry.
6. Customer enters new PIN twice.
7. ATM sends new PIN to bank system for update.
8. Bank system confirms successful update.
9. ATM displays confirmation message.
10. ATM returns card.
Exceptions:
Incorrect current PIN entered 3 times → ATM retains card.
New PIN entries do not match → ATM prompts user to re-enter new PIN.
Bank system unavailable → ATM displays error message and cancels
transaction.