Four digits, each position describing the message. For example 0200:
0 = version (ISO 8583:1987)2 = class (2xx = financial/purchase)0 = function (0 = request)0 = origin (0 = acquirer)So 0200 = a financial request from the acquirer; its response is 0210. Authorizations are commonly 0100/0110, reversals 0400/0420.
Right after the MTI, a string of bits where bit N = 1 means data element N is present. The primary bitmap is 64 bits (DEs 1β64). If bit 1 is set, a secondary bitmap follows (DEs 65β128). This keeps messages compact β only the fields actually used are carried.
The standard defines 128 data elements, laid out in order as the bitmap indicates. The most common ones:
| DE | Meaning |
|---|---|
| DE2 | Primary Account Number (card number) |
| DE3 | Processing code (txn type + accounts) |
| DE4 | Transaction amount (minor units) |
| DE11 | STAN (unique within a day) |
| DE39 | Response code (00=approved) |
| DE41 / 42 | Terminal ID / Merchant ID |
| DE49 | Currency code (ISO 4217) |
| DE55 | EMV chip data (TLV) |
Each element has a fixed format (n numeric / an alphanumeric / b binary) and a length type: fixed (FIX) or variable with a 2/3-digit length prefix (LLVAR/LLLVAR). There's also encoding β ASCII, packed BCD, EBCDIC β which differs by scheme (VISA especially). That's the classic beginner trap.
π Advanced: EMV Chip & DE55 Deep Dive (subscriber) β every EMV tag in DE55, the ARQC cryptogram, and TVR/CVM decision logic.