Skip to content
EMV Tools

Tools

CID decoder (9F27)

The Cryptogram Information Data (CID, tag 9F27) is one byte the card returns with the application cryptogram in its GENERATE AC response. The terminal sends it to the issuer in DE 55.

Look at it to know what the card decided: approve offline, go online, or decline. It explains why a transaction went online or why the card declined it.

The top two bits give the cryptogram type: a transaction certificate (TC) approves, an authorization request cryptogram (ARQC) goes online, and an application authentication cryptogram (AAC) declines. The lower bits can ask for an advice and give a reason code.

Worked example: 80 from the terminal data example is an ARQC: the card asks to go online, and no reason code is given.

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: 00

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.

Byte 1: 00
BitStateMeaning
b8
b7
b6
b5
b4
b3
b2
b1

Multi-bit fields

  • Byte 1, mask C0: value 00 — AAC: application authentication cryptogram, the card declines
  • Byte 1, mask 07: value 00 — No information given

How bits are numbered

How bits are numberedA value of 1 bytes. Bytes are counted from the left, starting at byte 1. Inside each byte, bits go from b8 on the left to b1 on the right: b8 is the most significant bit, worth 80 in hex, and b1 is the least significant, worth 01.Hexb880b740b620b510b408b304b202b101Byte 1
A value of 1 bytes. Bytes are counted from the left, starting at byte 1. Inside each byte, bits go from b8 on the left to b1 on the right: b8 is the most significant bit, worth 80 in hex, and b1 is the least significant, worth 01.