Card (ICC)Format: bLength: 1
87

Application Priority Indicator

Tag ID
87
Format
b
Length (bytes)
1
Source
Card (ICC)

What it is

Application Priority Indicator ranks an application within the card directory (lower nibble 1–15) and flags whether cardholder confirmation is required before selection (top bit). The terminal uses it to auto-select the highest-priority mutually supported application.

Where it appears

Read during application selection from the directory or FCI.

How tag 87 is encoded

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

8710000111Bits 8–7 = 10: context-specific class. Bit 6 = 0: primitive. Bits 5–1 give tag number 7.

Length

The value is always 1 byte, so the length field is 01. A complete 87 object starts 87 01 and is 3 bytes long in all.

Value format b

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

Who supplies it

The card supplies this value. The terminal reads it from the card’s responses during application selection, GET PROCESSING OPTIONS, READ RECORD or GENERATE AC, depending on where the issuer personalised it.

Specification reference

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

Example values

01Priority 1, no confirmation required
81Priority 1, cardholder confirmation required

Decode & build this tag