Authorisation Code
What it is
How tag 89 is encoded
EMV data objects are BER-TLV: tag, then length, then value. 89 is a 1-byte, context-specific class, primitive tag (tag number 9), so its value is plain data rather than nested TLV objects.
8910001001Bits 8–7 = 10: context-specific class. Bit 6 = 0: primitive. Bits 5–1 give tag number 9.Length
The value is always 6 bytes, so the length field is 06. A complete 89 object starts 89 06 and is 8 bytes long in all.
Value format ans
Format ans is alphanumeric special: one character per byte from the ISO/IEC 8859 common character set, so spaces and punctuation are allowed.
Who supplies it
This value comes from the authorisation host rather than from the card or the terminal: the issuer returns it in the authorisation response, and the terminal hands it to the card, for example in EXTERNAL AUTHENTICATE, the second GENERATE AC or an issuer script.
Specification reference
Defined in: EMV 4.x Book 3 (Application Specification), Annex A — Data Element Dictionary