ISO 8583 REFERENCE

ISO 8583 POS entry mode: reading DE 22

How the three digits of field 22 describe how the card was read and whether the terminal takes a PIN.

5 min read · By Kevin Medina · Updated November 26, 2026
The short version

Data element 22 is the POS entry mode. In the common 1987 layout it is three digits: the first two say how the card data was captured, and the third says whether the terminal can take a PIN. A chip purchase on a PIN-capable terminal is 051, a swipe is 021 and a contactless chip tap is 071.

What DE 22 is for

The host needs to know how the card data reached it. A chip read carries a cryptogram, a swipe carries track data and a keyed entry carries only the card number and expiry. Each one carries a different level of fraud risk, so issuers, networks and acquirers use DE 22 to decide how to authorize the transaction and which rules and fees apply.

How the three digits are split

DE 22 = P P N
        | | +-- PIN entry capability
        +-+---- PAN entry mode

Later versions of the standard replace this with a longer structured field that describes the terminal, the cardholder and the card data separately. Many hosts still use the three-digit form, so check which one yours expects.

PAN entry mode (first two digits)

CodeMeaningWhat you would expect to see with it
00UnspecifiedNothing in particular
01Manual key entryPAN and expiry only (DE 2 and DE 14)
02Magnetic stripe readTrack data (DE 35 or DE 45)
05Chip (ICC) readEMV data in DE 55
07Contactless chipEMV data in DE 55
90Magnetic stripe, full track readNetwork-defined, used where the full track is read unaltered
91Contactless magnetic stripeNetwork-defined, contactless card data sent as track data

Codes such as 90 and 91 are network conventions rather than part of the original standard. Chip fallback and e-commerce also have their own values on some networks, so treat this table as the common core, not the full list.

PIN entry capability (third digit)

CodeMeaning
0Unspecified
1Terminal can accept PINs
2Terminal cannot accept PINs

This digit is about what the terminal can do, not whether the cardholder entered a PIN on this transaction. Whether a PIN was actually used shows up in DE 52 (PIN data) and in the chip data.

Common full values

DE 22Reads as
011Manually keyed, terminal has a PIN pad
012Manually keyed, no PIN capability
021Magnetic stripe read, PIN-capable terminal
022Magnetic stripe read, no PIN capability
051Chip read, PIN-capable terminal
052Chip read, no PIN capability
071Contactless chip, PIN-capable terminal
072Contactless chip, no PIN capability

Worked example

The 0200 purchase request in the sample messages carries 051 in DE 22. Split it into 05 and 1: the card was read from the chip, and the terminal has PIN entry capability. A host reading that message would expect EMV data in DE 55, and would be right to question it if DE 55 were missing.

How DE 22 relates to other fields

Chip fallback

When a chip card cannot be read, a terminal may fall back to the magnetic stripe if the rules allow it. Hosts need to be told this happened, and networks define the value used for it. If you send a plain swipe value for a card that has a chip, the issuer cannot tell the chip failed, and the transaction may be declined or handled under different rules. Confirm the fallback value and the conditions in your host specification before you certify.

Common mistakes

Check a message yourself

Paste a message into the ISO 8583 decoder and choose the generic 1987 layout to split the values. DE 22 appears with its three digits, ready to read against the tables above.

Frequently asked questions

What is DE 22 in ISO 8583?
Data element 22 is the point of service entry mode. It tells the host how the card number was captured (keyed, swiped, chip or contactless) and whether the terminal can accept a PIN. In the 1987 layout it is three digits.
What does POS entry mode 051 mean?
The first two digits, 05, mean the card data was read from the chip. The last digit, 1, means the terminal has PIN entry capability. It is one of the most common values on a chip purchase.
What is the difference between POS entry mode 021 and 051?
021 means the card was read from the magnetic stripe on a terminal that can take a PIN. 051 means the card was read from the chip on a terminal that can take a PIN. Hosts treat them differently for risk, fees and chip fallback rules.
Is the POS entry mode the same on every network?
The structure is the same but the exact values are not. Networks and acquirers add their own codes, for example for contactless magnetic stripe, e-commerce or chip fallback. Always check the value list in your host specification.
What is the difference between DE 22 and DE 25?
DE 22 describes how the card data was captured and the PIN capability of the terminal. DE 25, the point of service condition code, describes the circumstances of the sale, such as a normal presentment, a card not present order or a suspected fraud flag.
Testing a non-EMV host integration? Foundry Test Bench runs your test cases on a device and records the request, response and device log as evidence. See Foundry Test Bench →

Building against an ISO 8583 host?

Tell us the host, the terminal and the region. A payments engineer will help you scope the integration and certification.

Talk to us Book a meeting with a founder