STAN (System Trace Audit Number)
A six-digit sequence number in ISO 8583 field 11 that lets a card request be paired with its response.
Whoever originates a message, usually the terminal or the acquirer, increments the number for each new request. The response carries the same STAN back, which is how the sender knows which of hundreds of simultaneous requests has just been approved. The number is only unique within a narrow window, typically per terminal per day, and wraps after 999999, so it is always matched together with the terminal ID and a timestamp.
Its real value shows when things go wrong. If no response arrives, the terminal sends a reversal that identifies the original by its STAN in the original data elements field. Without it there would be no telling which hold to release. Terminals that restart counting from zero after a reboot are a classic source of duplicates in reconciliation.