TerminalFormat: ansLength: 15
9F16

Merchant Identifier

Tag ID
9F16
Format
ans
Length (bytes)
15
Source
Terminal

What it is

Identifies the merchant to the acquirer.

How tag 9F16 is encoded

EMV data objects are BER-TLV: tag, then length, then value. 9F16 is a 2-byte, context-specific class, primitive tag (tag number 22), so its value is plain data rather than nested TLV objects.

9F10011111Bits 8–7 = 10: context-specific class. Bit 6 = 0: primitive. Bits 5–1 all set: the tag number continues in the next byte.
1600010110Bit 8 = 0: last tag byte. Bits 7–1 = 22.

Length

The value is always 15 bytes, so the length field is 0F. A complete 9F16 object starts 9F 16 0F and is 18 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

The terminal supplies this value. A card that needs it lists the tag in a data object list (PDOL, CDOL1, CDOL2 or DDOL), and the terminal places the value, at the length the card asked for, in the matching command. In a DOL, 9F16 appears as 9F 16 0F: the tag followed by the length the card wants.

Specification reference

Defined in: EMV 4.x Book 3 (Application Specification), Annex A — Data Element Dictionary