RM
Ronnie Mbuqe
Author · ExplainItSimply
31 July 2026
16 minute read
English
The hookYou insert a card in one town and the machine knows an account held elsewhere
The ATM is not a metal box containing a copy of everyone's money. It is a secure doorway into a much larger banking network.
When you ask for a balance or cash, the machine sends a carefully structured request and waits for the banking system to decide.
The movie sceneThe ATM begins a private conversation
Imagine the ATM as a trusted bank assistant standing far away from the bank's main records.
It says: “A person has presented this card, entered a PIN and requested this amount. Is the request allowed?”
The banking system checks the account and sends back a controlled answer. The ATM follows the instruction.
The machine asks. The banking system decides.
Step by stepThe withdrawal journey
1The card identifies where to start
Card information helps the network identify the relevant institution and account relationship.
2The PIN proves knowledge of a secret
The PIN is checked through secure banking processes; the ATM should not simply keep a readable list of PINs.
3The request travels to the bank
The amount, ATM, account reference and transaction details move through protected networks.
4Rules are checked
Available balance, daily limits, card status, account restrictions and risk signals may all matter.
5The account is updated
An approved withdrawal must be recorded so the same money is not treated as available again.
6The ATM dispenses cash
The machine counts notes, presents them and records what happened.
It may differ from the simple total shown in an account record. Pending card payments, holds, limits or uncleared deposits can affect what may be withdrawn right now.
Imagine if...The machine gave cash before updating the account
A person could hurry to another ATM and try to withdraw the same money again before the first transaction was recorded.
Banking software therefore treats the withdrawal as a controlled sequence. Approval, account update and cash dispensing must be connected by records that can later be checked.
What could go wrong?The network disconnects at the worst possible moment
Suppose the bank approves the withdrawal, but the connection disappears before the ATM knows the result. Or the account is updated, but the cash becomes jammed.
The system must leave enough evidence to determine what happened. Transaction references, ATM journals and reconciliation processes help the bank compare the digital record with the physical cash movement.
Inside the machineThe ATM must also manage real banknotes
Cash sits in secure cassettes containing different note values. The ATM must choose a combination, count notes and detect certain dispensing problems.
The software may know that R1,000 is approved, but the physical machine still has to produce that amount correctly.
Another hidden journeyWhat if the ATM belongs to a different bank?
The request may travel through an interbank network that connects the ATM's institution with the cardholder's institution.
Several systems cooperate while the customer sees one screen and hears one machine counting notes.
SecurityThe system must trust the transaction without trusting everything
Banks protect card details, PIN handling, network messages and transaction records. They also monitor unusual behaviour such as repeated failed PINs or unexpected withdrawal patterns.
Security is not one lock. It is a chain of checks, limits and evidence.
The hidden heroThe transaction log
Every important stage leaves a record: request received, decision returned, cash presented, reversal attempted.
When a customer says, “The ATM debited me but gave me no cash,” these records help investigators reconstruct the event.
In financial software, remembering exactly what happened is almost as important as making it happen.
How developers thinkMoney makes every edge case serious
Developers ask: What if the button is pressed twice? What if a response arrives late? What if cash is partly dispensed? What if the same request is repeated?
The system must avoid charging twice, dispensing twice or losing the trail of what happened.
Next time you...See your balance on an ATM screen
Remember the secure conversation. The machine asked a banking network, the bank checked several rules and the result returned in seconds.
🤔 The Next Time...
The next time an ATM shows your balance
The machine did not already know your money. It securely asked a much larger banking system.How many checks had to succeed before the ATM could trust the answer on its screen?