Card Status Update (CSU) builder and decoder
The Card Status Update (CSU) is a 4-byte message from the card issuer to the chip, defined in the EMV Common Core Definitions (CCD, EMV Book 3, Annex C). It tells the card what to do after an online authorization: block itself, change its PIN try counter, or reset its offline counters.
It travels in the authorization response inside tag 91 (Issuer Authentication Data), right after the Authorization Response Cryptogram (ARPC) when the issuer uses ARPC method 2. The terminal passes tag 91 to the card, which checks the ARPC and only then applies the CSU.
Developers decode it to understand why a card blocked itself or keeps going online, and build it to prepare issuer host tests. Byte 1 holds the new PIN try counter, byte 2 the issuer decisions, byte 3 is reserved, and byte 4 is free for the issuer. Schemes can add their own rules, so check the scheme specification too.
Worked example: the CSU 03 92 00 00 means that the issuer approves the transaction (byte 2, bit 8), asks the card to update its PIN try counter (byte 2, bit 5) to 3 (byte 1), and resets the offline counters to zero (byte 2, bits 2 and 1 set to 10).
New to EMV? Read EMV in 5 minutes or browse the glossary
Everything runs in your browser. Nothing you enter leaves this page.
Spaces, line breaks, colons, and the 0x prefix are ignored. Toggle the bits to build a value; the hex updates as you go.
Hex value: 00000000
How to read it: bytes are numbered from 1 on the left, and bits from 8 (the leftmost) to 1 (the rightmost). A set bit is 1. Bits reserved for future use (RFU) should be 0.
| Bit | State | Meaning |
|---|---|---|
| b8 | ||
| b7 | ||
| b6 | ||
| b5 | ||
| b4 | ||
| b3 | ||
| b2 | ||
| b1 |
| Bit | State | Meaning |
|---|---|---|
| b8 | ||
| b7 | ||
| b6 | ||
| b5 | ||
| b4 | ||
| b3 | ||
| b2 | ||
| b1 |
| Bit | State | Meaning |
|---|---|---|
| b8 | ||
| b7 | ||
| b6 | ||
| b5 | ||
| b4 | ||
| b3 | ||
| b2 | ||
| b1 |
| Bit | State | Meaning |
|---|---|---|
| b8 | ||
| b7 | ||
| b6 | ||
| b5 | ||
| b4 | ||
| b3 | ||
| b2 | ||
| b1 |
Multi-bit fields
- Byte 1, mask 0F: value 00 — New PIN try counter value: 0
- Byte 2, mask 03: value 00 — Offline counters: leave them as they are