Varies by kernelFormat: bLength: var
9F7C

Customer Exclusive Data (CED) / Merchant Custom Data

Tag ID
9F7C
Format
b
Length (bytes)
var
Source
Varies by kernel

What it is

Kernel-specific: Visa (C-3) = Customer Exclusive Data, issuer data from the card; Mastercard (C-2) = Merchant Custom Data, set by the terminal.

How tag 9F7C is encoded

EMV data objects are BER-TLV: tag, then length, then value. 9F7C is a 2-byte, context-specific class, primitive tag (tag number 124), 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.
7C01111100Bit 8 = 0: last tag byte. Bits 7–1 = 124.

Length

The length varies, so read it from the length field: one byte for values up to 127 bytes, 81 plus one byte up to 255, 82 plus two bytes beyond that.

Value format b

Format b is binary: the bits mean what this tag defines, with no padding or character conversion.

Who supplies it

Who supplies this value depends on the contactless kernel: each kernel that uses this tag defines its own content, so check the kernel’s specification before reading or sending it.

Specification reference

Defined in: Kernel-specific — EMVCo Contactless Book C-3 (Visa Customer Exclusive Data), Book C-2 (Mastercard Merchant Custom Data)