EMV v4.2 Book 4 Other Interfaces CR05_watermark
EMV v4.2 Book 4 Other Interfaces CR05_watermark
Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Version 4.2
June 2008
https://t.me/learningnets
https://t.me/learningnets
EMV
Integrated Circuit Card
Specifications for Payment Systems
Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Version 4.2
June 2008
© 1994-2008 EMVCo, LLC (―EMVCo‖). All rights reserved. Any and all uses of the
EMV Specifications (―Materials‖) shall be permitted only pursuant to the terms and
conditions of the license agreement between the user and EMVCo found at
http://www.emvco.com
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Contents
Part I - General
1 Scope 3
1.1 Changes in Version 4.2 3
1.2 Structure 3
1.3 Underlying Standards 5
1.4 Audience 5
2 Normative References 7
3 Definitions 11
4 Abbreviations, Notations, Conventions, and Terminology 21
4.1 Abbreviations 21
4.2 Notations 29
4.3 Data Element Format Conventions 31
4.4 Terminology 33
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Part V - Annexes
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Index 137
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Tables
Table 1: Terms Describing Terminal Types 37
Table 2: Setting of CVM Results, TVR bits and TSI bits following CVM
Processing 49
Table 3: Card Action Analysis 52
Table 4: Key Types 61
Table 5: Command Keys 62
Table 6: Command Key Colours 62
Table 7: Application Dependent Data Elements 81
Table 8: Standard Messages 89
Table 9: ICC-specific Authorisation Request Data Elements 95
Table 10: Existing Authorisation Request Data Elements 96
Table 11: ICC-specific Financial Transaction Request Data Elements 97
Table 12: Existing Financial Transaction Request Data Elements 98
Table 13: ICC-specific Authorisation or Financial Transaction Response Data
Elements 99
Table 14: Existing Authorisation or Financial Transaction Response Data
Elements 99
Table 15: ICC-specific Financial Transaction Confirmation Data Elements 100
Table 16: Existing Financial Transaction Confirmation Data Elements 100
Table 17: ICC-specific Batch Data Capture Data Elements 101
Table 18: Existing Batch Data Capture Data Elements 102
Table 19: Existing Reconciliation Data Elements 103
Table 20: ICC-specific Online Advice Data Elements 104
Table 21: Existing Online Advice Data Elements 105
Table 22: ICC-specific Reversal Data Elements 106
Table 23: Existing Reversal Data Elements 107
Annexes
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Figures
Figure 1: Example of an Attended Terminal 39
Figure 2: Example of a Merchant Host 40
Figure 3: Example of a Cardholder-Controlled Terminal 41
Figure 4: PIN Pad Layout 63
Figure 5: Terminal Software 70
Figure 6: Socket/Plug Relationship 75
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Part I
General
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
1 Scope
This document, the Integrated Circuit Card Specifications for Payment Systems -
Book 4, Cardholder, Attendant, and Acquirer Interface Requirements for Payment
Systems, defines the mandatory, recommended, and optional terminal
requirements necessary to support the acceptance of integrated circuit cards
(ICCs) in accordance with the other documents of the Integrated Circuit Card
Specifications for Payment Systems, all available on http://www.emvco.com:
Book 1 - Application Independent ICC to Terminal Interface Requirements
Book 2 - Security and Key Management
Book 3 - Application Specification
1.2 Structure
Book 4 consists of the following parts:
Part I - General
Part II - General Requirements
Part III - Software Architecture
Part IV - Cardholder, Attendant, and Acquirer Interface
Part V - Annexes
https://t.me/learningnets
1 Scope EMV 4.2 Book 4
1.2 Structure Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 1 Scope
Cardholder, Attendant, and Acquirer 1.3 Underlying Standards
Interface Requirements
1.4 Audience
This specification is intended for use by manufacturers of ICCs and terminals,
system designers in payment systems, and financial institution staff responsible
for implementing financial applications in ICCs.
https://t.me/learningnets
1 Scope EMV 4.2 Book 4
1.4 Audience Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
2 Normative References
The following standards contain provisions that are referenced in these
specifications. The latest version shall apply unless a publication date is
explicitly stated.
https://t.me/learningnets
2 Normative References EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 2 Normative References
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
2 Normative References EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
3 Definitions
The following terms are used in one or more books of these specifications.
https://t.me/learningnets
3 Definitions EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Byte 8 bits.
Cold Reset The reset of the ICC that occurs when the supply
voltage (VCC) and other signals to the ICC are raised
from the inactive state and the reset (RST) signal is
applied.
https://t.me/learningnets
EMV 4.2 Book 4 3 Definitions
Cardholder, Attendant, and Acquirer
Interface Requirements
Data Integrity The property that data has not been altered or
destroyed in an unauthorised manner.
0+0=0
0+1=1
1+0=1
1+1=0
https://t.me/learningnets
3 Definitions EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Hash Result The string of bits that is the output of a hash function.
Inactive The supply voltage (VCC) and other signals to the ICC
are in the inactive state when they are at a potential
of 0.4 V or less with respect to ground (GND).
Integrated Circuit(s) A card into which one or more integrated circuits are
Card inserted to perform processing and memory functions.
Interface Device That part of a terminal into which the ICC is inserted,
including such mechanical and electrical devices as
may be considered part of it.
Issuer Action Code Any of the following, which reflect the issuer-selected
action to be taken upon analysis of the TVR:
Issuer Action Code - Default
Issuer Action Code - Denial
Issuer Action Code - Online
https://t.me/learningnets
EMV 4.2 Book 4 3 Definitions
Cardholder, Attendant, and Acquirer
Interface Requirements
Key Expiry Date The date after which a signature made with a
particular key is no longer valid. Issuer certificates
signed by the key must expire on or before this date.
Keys may be removed from terminals after this date
has passed.
Key Life Cycle All phases of key management, from planning and
generation, through revocation, destruction, and
archiving.
Key Revocation Date The date after which no legitimate cards still in use
should contain certificates signed by this key, and
therefore the date after which this key can be deleted
from terminals. For a planned revocation the Key
Revocation Date is the same as the key expiry date.
https://t.me/learningnets
3 Definitions EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Payment System The set of logical conditions established within the ICC
Environment when a payment system application conforming to this
specification has been selected, or when a Directory
Definition File (DDF) used for payment system
application purposes has been selected.
Physical Compromise The compromise of a key resulting from the fact that it
has not been securely guarded, or a hardware security
module has been stolen or accessed by unauthorised
persons.
https://t.me/learningnets
EMV 4.2 Book 4 3 Definitions
Cardholder, Attendant, and Acquirer
Interface Requirements
Prologue Field The first field of a block. It contains subfields for node
address (NAD), protocol control byte (PCB), and length
(LEN).
Public Key That key of an entity‘s asymmetric key pair that can
be made public. In the case of a digital signature
scheme, the public key defines the verification
function.
Signal Amplitude The difference between the high and low voltages of a
signal.
https://t.me/learningnets
3 Definitions EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Terminate Card End the card session by deactivating the IFD contacts
Session according to section 6.1.5 of Book 1, and displaying a
message indicating that the ICC cannot be used to
complete the transaction
https://t.me/learningnets
EMV 4.2 Book 4 3 Definitions
Cardholder, Attendant, and Acquirer
Interface Requirements
Warm Reset The reset that occurs when the reset (RST) signal is
applied to the ICC while the clock (CLK) and supply
voltage (VCC) lines are maintained in their active
state.
https://t.me/learningnets
3 Definitions EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
4.1 Abbreviations
µA Microampere
µm Micrometre
µs Microsecond
AC Application Cryptogram
ACK Acknowledgment
https://t.me/learningnets
4 Abbreviations, Notations, Conventions, and Terminology EMV 4.2 Book 4
4.1 Abbreviations Cardholder, Attendant, and Acquirer
Interface Requirements
C Celsius or Centigrade
CLK Clock
https://t.me/learningnets
EMV 4.2 Book 4 4 Abbreviations, Notations, Conventions, and Terminology
Cardholder, Attendant, and Acquirer 4.1 Abbreviations
Interface Requirements
CV Cryptogram Version
DC Direct Current
DF Dedicated File
DIR Directory
EF Elementary File
EN European Norm
f Frequency
FC Format Code
GND Ground
Hex Hexadecimal
https://t.me/learningnets
4 Abbreviations, Notations, Conventions, and Terminology EMV 4.2 Book 4
4.1 Abbreviations Cardholder, Attendant, and Acquirer
Interface Requirements
I/O Input/Output
IC Integrated Circuit
KM Master Key
KS Session Key
L Length
https://t.me/learningnets
EMV 4.2 Book 4 4 Abbreviations, Notations, Conventions, and Terminology
Cardholder, Attendant, and Acquirer 4.1 Abbreviations
Interface Requirements
LEN Length
M Mandatory
m Milliohm
mA Milliampere
max. Maximum
MF Master File
MHz Megahertz
min. Minimum
mm Millimetre
N Newton
nAs Nanoampere–second
https://t.me/learningnets
4 Abbreviations, Notations, Conventions, and Terminology EMV 4.2 Book 4
4.1 Abbreviations Cardholder, Attendant, and Acquirer
Interface Requirements
NF Norme Française
ns Nanosecond
O Optional
P1 Parameter 1
P2 Parameter 2
P3 Parameter 3
PC Personal Computer
pF Picofarad
pos. Position
https://t.me/learningnets
EMV 4.2 Book 4 4 Abbreviations, Notations, Conventions, and Terminology
Cardholder, Attendant, and Acquirer 4.1 Abbreviations
Interface Requirements
RST Reset
TC Transaction Certificate
TS Initial Character
https://t.me/learningnets
4 Abbreviations, Notations, Conventions, and Terminology EMV 4.2 Book 4
4.1 Abbreviations Cardholder, Attendant, and Acquirer
Interface Requirements
V Volt
https://t.me/learningnets
EMV 4.2 Book 4 4 Abbreviations, Notations, Conventions, and Terminology
Cardholder, Attendant, and Acquirer 4.2 Notations
Interface Requirements
4.2 Notations
‘0‘ to ‗9‘ and 'A' to 'F' 16 hexadecimal characters
xx Any value
https://t.me/learningnets
4 Abbreviations, Notations, Conventions, and Terminology EMV 4.2 Book 4
4.2 Notations Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 4 Abbreviations, Notations, Conventions, and Terminology
Cardholder, Attendant, and Acquirer 4.3 Data Element Format Conventions
Interface Requirements
https://t.me/learningnets
4 Abbreviations, Notations, Conventions, and Terminology EMV 4.2 Book 4
4.3 Data Element Format Conventions Cardholder, Attendant, and Acquirer
Interface Requirements
var. Variable data elements are variable length and may contain any bit
combination. Additional information on the formats of specific variable
data elements is available elsewhere.
https://t.me/learningnets
EMV 4.2 Book 4 4 Abbreviations, Notations, Conventions, and Terminology
Cardholder, Attendant, and Acquirer 4.4 Terminology
Interface Requirements
4.4 Terminology
proprietary Not defined in this specification and/or outside the scope
of this specification
https://t.me/learningnets
4 Abbreviations, Notations, Conventions, and Terminology EMV 4.2 Book 4
4.4 Terminology Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Part II
General Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
Term Definition
Attended An attendant (an agent of the merchant or of the acquirer) is
present at the point of transaction and participates in the
transaction by entering transaction-related data. The
transaction occurs ‗face to face‘.
Unattended The cardholder conducts the transaction at the point of
transaction without the participation of an attendant (agent
of the merchant or of the acquirer). The transaction does not
occur ‗face to face‘.
Online only The transaction can normally only be approved in real time
by transmission of an authorisation request message.
Offline with Depending upon transaction characteristics, the transaction
online can be completed offline by the terminal or online in real
capability time. It is equivalent to ‗online with offline capability‘.
Offline only The transaction can only be completed offline by the
terminal.
Operational Identifies the entity responsible for the operation of the
control terminal. This does not necessarily equate to the actual
owner of the terminal.
Within this specification, online reflects online communication to acquirer (or its
agent). The acquirer is assumed to be capable of communicating to the issuer (or
its agent).
https://t.me/learningnets
5 Terminal Types and Capabilities EMV 4.2 Book 4
5.2 Terminal Capabilities Cardholder, Attendant, and Acquirer
Interface Requirements
The type of terminal shall be indicated in Terminal Type. The coding of Terminal
Type using the three categories is shown in Annex A.
https://t.me/learningnets
EMV 4.2 Book 4 5. Terminal Types and Capabilities
Cardholder, Attendant, and Acquirer 5.3 Terminal Configurations
Interface Requirements
Terminal
1 2 3
4 5 6
ICC 7 8 9
C 0 E
IFD
POS Device
C = ‘Cancel’
Mag. stripe E = ‘Enter’
card
https://t.me/learningnets
5 Terminal Types and Capabilities EMV 4.2 Book 4
5.3 Terminal Configurations Cardholder, Attendant, and Acquirer
Interface Requirements
Merchant Host
POS Device
https://t.me/learningnets
EMV 4.2 Book 4 5. Terminal Types and Capabilities
Cardholder, Attendant, and Acquirer 5.3 Terminal Configurations
Interface Requirements
1 2 3 Merchant Host
4 5 6
Public Network
7 8 9
C 0 E
Cardholder
Terminal
C = ‘Cancel’
E = ‘Enter’
Acquirer Host
https://t.me/learningnets
5 Terminal Types and Capabilities EMV 4.2 Book 4
5.3 Terminal Configurations Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
6 Functional Requirements
This Book does not replicate the other Books of the Integrated Circuit Card
Specifications for Payment Systems but describes the implementation issues and
the impact of those Books on the terminal.
This section uses standard messages described in section 11.2 to illustrate the
appropriate message displays for the transaction events described below.
The usage of Authorisation Response Code, CVM Results, and Issuer Script
Results is specified in this section. See Annex A for additional information on
coding.
https://t.me/learningnets
6 Functional Requirements EMV 4.2 Book 4
6.3 Application Specification Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 6. Functional Requirements
Cardholder, Attendant, and Acquirer 6.3 Application Specification
Interface Requirements
If CDA fails in conjunction with the second GENERATE AC, the terminal
shall decline the transaction
If as part of dynamic signature verification the CID was retrieved from the ICC
Dynamic Data (as recovered from the Signed Dynamic Application Data), then it
is this value that shall be used to determine the cryptogram type. Otherwise the
cleartext CID in the GENERATE AC response shall be used.
https://t.me/learningnets
6 Functional Requirements EMV 4.2 Book 4
6.3 Application Specification Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 6. Functional Requirements
Cardholder, Attendant, and Acquirer 6.3 Application Specification
Interface Requirements
1 This prevents a genuine cardholder who does not remember the PIN from having to
keep entering incorrect PINs until the PIN is blocked in order to continue with the
transaction.
https://t.me/learningnets
6 Functional Requirements EMV 4.2 Book 4
6.3 Application Specification Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 6. Functional Requirements
Cardholder, Attendant, and Acquirer 6.3 Application Specification
Interface Requirements
Table 2: Setting of CVM Results, TVR bits and TSI bits following CVM Processing
2 Errors with PIN related CVMs may also result in the setting of other PIN-related TVR bits.
https://t.me/learningnets
6 Functional Requirements EMV 4.2 Book 4
6.3 Application Specification Cardholder, Attendant, and Acquirer
Interface Requirements
When a CVM is performed and fails with the failure action The last CVM Code in the CVM List
The CVM Condition Code for
being 'Go to Next' and then the end of the CVM List is for which the CVM Condition was '01' bit 8 = 1 1
the CVM Code in Byte 1
reached without another CVM Condition being satisfied satisfied (but that failed).
Table 2: Setting of CVM Results, TVR bits and TSI bits following CVM Processing, continued
https://t.me/learningnets
EMV 4.2 Book 4 6 Functional Requirements
Cardholder, Attendant, and Acquirer 6.3 Application Specification
Interface Requirements
3This does not mean that the transaction will be approved. The card makes the final
decision and returns it to the terminal in its response to the first GENERATE AC
command.
https://t.me/learningnets
6 Functional Requirements EMV 4.2 Book 4
6.3 Application Specification Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
The terminal shall be able to recognise the tag for the Issuer Script transmitted
in the response message. If the tag is '71', the terminal shall process the script
before issuing the second GENERATE AC command. If the tag is '72', the
terminal shall process the script after issuing the second GENERATE AC
command.
For each Issuer Script processed, the terminal shall report the Script Identifier
(when present) with its result in the Issuer Script Results. If an error code was
returned by the card for one of the single Script Commands, the terminal shall
set the most significant nibble of byte 1 of the Issuer Script Results to ‗Script
processing failed‘ and the least significant nibble with the sequence number of
the Script Command in the order it appears in the Issuer Script. If no error code
was returned by the card, the terminal shall set the most significant nibble of
byte 1 of the Issuer Script Results to ‗Script processing successful‘ and the least
significant nibble to '0'. See Annex A5 for details.
The terminal shall transmit the Issuer Script Results in the batch data capture
message (financial record or offline advice), the financial transaction
confirmation message, or the reversal message. If no message is created for the
transaction (such as a decline), the terminal shall create an advice to transmit
the Issuer Script Results, if the terminal supports advices.
https://t.me/learningnets
6 Functional Requirements EMV 4.2 Book 4
6.4 Conditions for Support of Functions Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
6 Functional Requirements EMV 4.2 Book 4
6.5 Other Functional Requirements Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
6 Functional Requirements EMV 4.2 Book 4
6.6 Card Reading Cardholder, Attendant, and Acquirer
Interface Requirements
6.6.1 IC Reader
The IFD should have a pictogram near the card slot indicating how to insert the
card into the IC reader.
As soon as the card is inserted into the reader, the message ‗Please Wait‘ should
be displayed to reassure the cardholder or attendant that the transaction is being
processed so that the card is not removed prematurely.
When the card is inserted into the IFD, the card should be accessible to the
cardholder at all times during the transaction. When the card is not accessible at
all times or when the terminal has a ‗tight grip‘ to hold the card, there should be
a mechanism, for example, a button, to recall or release the card in case of
terminal malfunction, even if there is a power failure. For an unattended
terminal with card capture capability, where captured cards remain in the secure
housing of the terminal (such as for an ATM), the card release function is not
required.
When the card is inserted into the IFD, the cardholder or attendant should not
be able to accidentally dislodge the card from the reader.
If the card is removed from the terminal prior to completion of the transaction,
the terminal should abort the transaction and should ensure that neither the
card nor the terminal is damaged. The message ‗Processing Error‘ should be
displayed. (For additional requirements on abnormal termination of transaction
processing, see Book 3.)
5This does not imply that the terminal shall support this ISO 8583:1987 data element.
An issuer or an acquirer may define an equivalent data element. The specific code will
be set by individual payment systems.
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
6 Functional Requirements EMV 4.2 Book 4
6.7 Date Management Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 7 Physical Characteristics
Cardholder, Attendant, and Acquirer 7.1 Keypad
Interface Requirements
7 Physical Characteristics
Physical characteristics vary depending on the intended usage of the terminal,
the environment at the point of transaction (including its security), and the
terminal configuration.
7.1 Keypad
A terminal should have a keypad for the entry of transaction-related data and its
functional operation. The keypad shall support one or more types of keys , as
listed in Table 4.
A keypad may consist of a single key, such as a function key that could be a
button on a vending machine to indicate selection of an application or to indicate
that a receipt is to be printed.
A touch screen is considered to be a keypad. (See Book 2 for security
requirements.)
https://t.me/learningnets
7 Physical Characteristics EMV 4.2 Book 4
7.1 Keypad Cardholder, Attendant, and Acquirer
Interface Requirements
If the colours green, red, or yellow are used, either for key lettering or the keys
themselves, it is recommended that they be reserved for the command keys
according to Table 6:
Enter Green
Cancel Red
Clear Yellow
When the command keys are horizontally arranged, the 'Cancel' and 'Enter' keys
should be located on the bottom row of the keypad, and 'Cancel' should be the
furthest key left and 'Enter' should be the furthest key right. When the command
keys are vertically arranged, 'Cancel' should be the uppermost key and 'Enter'
the lowest key.
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
1 2 3
4 5 6
7 8 9
Cancel 0 Enter
The key for '5' should have a tactile identifier (for example, a notch or raised dot)
to indicate to those whose sight is impaired that this is the central key from
which all others may be deduced.
https://t.me/learningnets
7 Physical Characteristics EMV 4.2 Book 4
7.2 Display Cardholder, Attendant, and Acquirer
Interface Requirements
7.2 Display
A display is used to help the cardholder or attendant monitor transaction flow
and data entry, validate transaction-related data, and select options.
An attended terminal shall have a display for the attendant and may have an
additional display for the cardholder, such as when a PIN pad is present. In order
that different information may be displayed and different languages used for the
attendant and cardholder, it is recommended that an attended terminal has two
separate displays.
An unattended terminal should have a cardholder display.
At a minimum, the message display shall be capable of displaying at least 32
alphanumeric characters (two lines of 16 positions each). The two lines of 16
characters should be simultaneously displayed. To facilitate the display of
different languages used in different geographical areas, the terminal should
support a graphic display.
A terminal capable of supporting several applications should have a display that
can provide cardholder application selection by allowing the 16-character
Application Preferred Name(s) or Application Label(s) stored in the ICC to be
displayed.
7.4 Clock
Offline-only terminals and offline terminals with online capability shall have a
clock with the local date and time.
The date is used for checking certificate expiration dates for data authentication
and/or offline PIN encipherment as well as application expiration/effective dates
for processing restrictions. The time may be used for assuring transaction
identification uniqueness as well as for input to the application cryptogram
algorithm.
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
7.5 Printer
A terminal should have a printer for receipt printing. If present, the printer shall
be able to print at least 20 alphanumeric characters per line (see section 11.4).
Cardholder-controlled terminal (Terminal Type = '3x') need not include a printer.
https://t.me/learningnets
7 Physical Characteristics EMV 4.2 Book 4
7.6 Magnetic Stripe Reader Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 7 Physical Characteristics
Cardholder, Attendant, and Acquirer 7.6 Magnetic Stripe Reader
Interface Requirements
Part III
Software Architecture
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 8 Terminal Software Architecture
Cardholder, Attendant, and Acquirer 8.1 Environmental Changes
Interface Requirements
https://t.me/learningnets
8 Terminal Software Architecture EMV 4.2 Book 4
8.2 Application Libraries Cardholder, Attendant, and Acquirer
Interface Requirements
Subroutines
capability, these modules will be code, written in
Common
a virtual machine instruction set implemented “call Y”
“call Y”
In either case, modules within the application
library may be dynamically invoked either by
logic with the terminal application software or Operating
under the direction of referencing data kept System
within the ICC. The format and specification of
external references are under control of the
individual payment systems.
Figure 5: Terminal Software
A terminal may contain several libraries, some accessible to all applications and
some restricted to particular applications or payment systems.
https://t.me/learningnets
EMV 4.2 Book 4 8. Terminal Software Architecture
Cardholder, Attendant, and Acquirer 8.3 Application Program Interface
Interface Requirements
https://t.me/learningnets
8 Terminal Software Architecture EMV 4.2 Book 4
8.4 Interpreter Cardholder, Attendant, and Acquirer
Interface Requirements
8.4 Interpreter
8.4.1 Concept
This section describes the general architecture underlying an interpreter
implementation and gives a brief overview of how it relates to the future
environment for payment system applications.
Use of ICC technology necessitates altering the firmware in all terminals that
accept ICCs. To facilitate this transition, an interpreter may be implemented as
a software system that is compact, efficient, and easy to maintain and enhance
for future payment system needs. The name arises from the capability of a
terminal to contain central processing unit (CPU)-independent application
programs and plugs that can be interpreted during a transaction to determine
the terminal‘s behaviour.
An interpreter implementation defines a single software kernel, common across
multiple terminal types. This kernel creates a virtual machine that may be
implemented on each CPU type and that provides drivers for the terminal‘s
input/output (I/O) and all low-level CPU-specific logical and arithmetic functions.
High-level libraries, terminal programs and payment applications using standard
kernel functions may be developed and certified once; thereafter, they will run on
any conforming terminal implementing the same virtual machine without
change. Therefore, a significant consequence of an interpreter is a simplified and
uniform set of test and certification procedures for all terminal functions.
To summarise, interpreters provide the following major benefits:
A kernel with generalised ICC support functions, to be installed in each
terminal only once. The kernel lifetime is expected to match that of the
terminal (7–10 years).
One version of the terminal software kernel across multiple processor and
terminal types. Therefore, only one certification and validation is needed for
software libraries, terminal programs, and payment applications on the set of
terminal types supported using a common interpreter/virtual machine.
Terminal kernel certification independent of applications, so certification only
needs to be performed once for each terminal type using a common
interpreter/virtual machine. A terminal type is defined as a specific
configuration of terminal CPU and I/O functions.
Support for CPU-independent plugs that can be interpreted during a
transaction to enhance a terminal‘s behaviour. CPU independence means that
only one certification and validation is needed for this code.
https://t.me/learningnets
EMV 4.2 Book 4 8. Terminal Software Architecture
Cardholder, Attendant, and Acquirer 8.4 Interpreter
Interface Requirements
8.4.3 Kernel
A kernel contains all functions whose implementation depends upon a particular
platform (CPU and operating system). It includes a selected set of commands,
plus a number of specialised functions, such as terminal I/O support and program
loader/interpreter support.
https://t.me/learningnets
8 Terminal Software Architecture EMV 4.2 Book 4
8.5 Plugs and Sockets Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 8. Terminal Software Architecture
Cardholder, Attendant, and Acquirer 8.5 Plugs and Sockets
Interface Requirements
Socket Socket
A B C D
Socket Socket
Plug
Library
https://t.me/learningnets
8 Terminal Software Architecture EMV 4.2 Book 4
8.5 Plugs and Sockets Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 9 Software Management
Cardholder, Attendant, and Acquirer 8.5 Plugs and Sockets
Interface Requirements
9 Software Management
A means of software upgrade shall be supported wherever this is not in conflict
with national legal restrictions. The software upgrade may be facilitated from a
remote site over a network or locally.
Software upgrade may be performed under terminal application control or under
terminal owner or acquirer human control.
When software upgrade is performed under terminal application control, prior to
accepting new software, the terminal shall:
Verify the identity of the party loading the software, since only software
issued by the terminal manufacturer, owner, or a third party approved by the
owner or acquirer can be loaded in the terminal.
Verify the integrity of the loaded software.
When both tests are successful, the terminal shall notify the party loading the
software whether the load was successfully performed or not.
To facilitate ICC application upgrade from one version to another, the terminal
should be able to support at least two versions of the ICC application, as
identified by the terminal‘s Application Version Numbers.
https://t.me/learningnets
9 Software Management EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 10 Data Management
Cardholder, Attendant, and Acquirer 8.5 Plugs and Sockets
Interface Requirements
10 Data Management
The data elements listed in this section shall be initialised in the terminal or
obtainable at the time of a transaction. (Definitions for these data are in Book 3.)
Additional data elements may be required for initialisation, such as those
currently used for magnetic stripe processing.
Whenever a data element is initialised or updated, data integrity shall be
assured.
Data elements resident in the terminal shall be under the control of one of the
following parties:
Terminal manufacturer: For example, IFD Serial Number
Acquirer (or its agent): For example, Merchant Category Code
Merchant: For example, Local Date and Local Time (these may be controlled
by either the merchant or acquirer)
The terminal shall be constructed in such a way that:
Terminal Capabilities and Additional Terminal Capabilities are initialised in
the terminal before the terminal is placed in its operational state.
Terminal Type is initialised in the terminal at the moment of installation.
Terminal Capabilities, Additional Terminal Capabilities, and Terminal Type
cannot be modified unintentionally or by unauthorised access.
Whenever the terminal‘s capabilities are updated or modified, Terminal
Capabilities, Additional Terminal Capabilities, and Terminal Type are
accurately updated.
The terminal should be constructed in such a way that the data which is under
control of the acquirer is only initialised and updated by the acquirer (or its
agent).
https://t.me/learningnets
10 Data Management EMV 4.2 Book 4
10.1 Application Independent Data Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 10. Data Management
Cardholder, Attendant, and Acquirer 10.2 Application Dependent Data
Interface Requirements
https://t.me/learningnets
10 Data Management EMV 4.2 Book 4
10.2 Application Dependent Data Cardholder, Attendant, and Acquirer
Interface Requirements
6 According to Book 3, the default value consists of all bits set to 0, although the ‗Data
authentication was not performed‘, ‗SDA failed‘, ‗DDA failed‘ and ‗CDA failed‘ bits are
strongly recommended to be set to 1 in the Terminal Action Code - Default and Terminal
Action Code - Online.
https://t.me/learningnets
EMV 4.2 Book 4 10. Data Management
Cardholder, Attendant, and Acquirer 10.2 Application Dependent Data
Interface Requirements
Note: alternative integrity verification techniques may be used. The integrity of the
stored Certification Authority Public Keys should be verified periodically.
A means for updating data elements specific to payment system applications
shall be supported wherever this is not in conflict with national legal restrictions.
Data update may be facilitated from a remote site over a network or locally.
https://t.me/learningnets
10 Data Management EMV 4.2 Book 4
10.2 Application Dependent Data Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 10 Data Management
Cardholder, Attendant, and Acquirer 10.2 Application Dependent Data
Interface Requirements
Part IV
Cardholder, Attendant, and
Acquirer Interface
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 11 Cardholder and Attendant Interface
Cardholder, Attendant, and Acquirer 11.1 Language Selection
Interface Requirements
https://t.me/learningnets
11 Cardholder and Attendant Interface EMV 4.2 Book 4
11.2 Standard Messages Cardholder, Attendant, and Acquirer
Interface Requirements
7This specification does not imply that the terminal shall support a set of standard
messages in English.
https://t.me/learningnets
EMV 4.2 Book 4 11. Cardholder and Attendant Interface
Cardholder, Attendant, and Acquirer 11.2 Standard Messages
Interface Requirements
https://t.me/learningnets
11 Cardholder and Attendant Interface EMV 4.2 Book 4
11.2 Standard Messages Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 11. Cardholder and Attendant Interface
Cardholder, Attendant, and Acquirer 11.3 Application Selection
Interface Requirements
https://t.me/learningnets
11 Cardholder and Attendant Interface EMV 4.2 Book 4
11.4 Receipt Cardholder, Attendant, and Acquirer
Interface Requirements
11.4 Receipt
Whenever a receipt is provided, it shall contain the AID in addition to the data
required by payment system rules. The AID shall be printed as hexadecimal
characters.
https://t.me/learningnets
EMV 4.2 Book 4 12 Acquirer Interface
Cardholder, Attendant, and Acquirer 12.1 Message Content
Interface Requirements
12 Acquirer Interface
9These data elements indicate point of transaction acceptance characteristics that rarely
change, such as Merchant Category Code, Acquirer Identifier, or Terminal Country
Code.
At a minimum, all data listed in the Card Risk Management Data Object Lists and the
10
https://t.me/learningnets
12 Acquirer Interface EMV 4.2 Book 4
12.1 Message Content Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 12. Acquirer Interface
Cardholder, Attendant, and Acquirer 12.1 Message Content
Interface Requirements
12Data elements marked with an asterisk are the minimum set of data elements to be
supported in authorisation request and response messages, as well as clearing messages,
for ICC transactions.
https://t.me/learningnets
12 Acquirer Interface EMV 4.2 Book 4
12.1 Message Content Cardholder, Attendant, and Acquirer
Interface Requirements
13Data elements marked with an asterisk are the minimum set of data elements to be
supported in authorisation request and response messages, as well as clearing messages,
for ICC transactions.
https://t.me/learningnets
EMV 4.2 Book 4 12. Acquirer Interface
Cardholder, Attendant, and Acquirer 12.1 Message Content
Interface Requirements
14Data elements marked with an asterisk are the minimum set of data elements to be
supported in authorisation request and response messages, as well as clearing messages,
for ICC transactions.
https://t.me/learningnets
12 Acquirer Interface EMV 4.2 Book 4
12.1 Message Content Cardholder, Attendant, and Acquirer
Interface Requirements
15Data elements marked with an asterisk are the minimum set of data elements to be
supported in authorisation request and response messages, as well as clearing messages,
for ICC transactions.
https://t.me/learningnets
EMV 4.2 Book 4 12. Acquirer Interface
Cardholder, Attendant, and Acquirer 12.1 Message Content
Interface Requirements
16Data elements marked with an asterisk are the minimum set of data elements to be
supported in authorisation request and response messages, as well as clearing messages,
for ICC transactions.
https://t.me/learningnets
12 Acquirer Interface EMV 4.2 Book 4
12.1 Message Content Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 12. Acquirer Interface
Cardholder, Attendant, and Acquirer 12.1 Message Content
Interface Requirements
17Data elements marked with an asterisk are the minimum set of data elements to be
supported in authorisation request and response messages, as well as clearing messages,
for ICC transactions.
https://t.me/learningnets
12 Acquirer Interface EMV 4.2 Book 4
12.1 Message Content Cardholder, Attendant, and Acquirer
Interface Requirements
18Data elements marked with an asterisk are the minimum set of data elements to be
supported in authorisation request and response messages, as well as clearing messages,
for ICC transactions.
https://t.me/learningnets
EMV 4.2 Book 4 12. Acquirer Interface
Cardholder, Attendant, and Acquirer 12.1 Message Content
Interface Requirements
12.1.6 Reconciliation
A reconciliation should convey the existing data elements necessary for ICC
transactions and subject to the specified conditions.
https://t.me/learningnets
12 Acquirer Interface EMV 4.2 Book 4
12.1 Message Content Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 12. Acquirer Interface
Cardholder, Attendant, and Acquirer 12.1 Message Content
Interface Requirements
https://t.me/learningnets
12 Acquirer Interface EMV 4.2 Book 4
12.1 Message Content Cardholder, Attendant, and Acquirer
Interface Requirements
12.1.8 Reversal
A reversal should convey the data elements contained in Table 22 and Table 23
subject to the specified conditions.
Table 22 contains the new data elements specifically created for an ICC
transaction.
Data Element Condition
Application Interchange
Profile
Application Transaction
Counter
IFD Serial Number Present if Terminal Identifier does not implicitly
refer to IFD Serial Number
Issuer Application Data Present if provided by ICC in GENERATE AC
command response
Issuer Script Results Present if script commands to ICC are delivered
by terminal
Terminal Capabilities
Terminal Type
TVR
https://t.me/learningnets
EMV 4.2 Book 4 12. Acquirer Interface
Cardholder, Attendant, and Acquirer 12.1 Message Content
Interface Requirements
https://t.me/learningnets
12 Acquirer Interface EMV 4.2 Book 4
12.2 Exception Handling Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 12. Acquirer Interface
Cardholder, Attendant, and Acquirer 12.2 Exception Handling
Interface Requirements
https://t.me/learningnets
12 Acquirer Interface EMV 4.2 Book 4
12.2 Exception Handling Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 12. Acquirer Interface
Cardholder, Attendant, and Acquirer 12.2 Exception Handling
Interface Requirements
https://t.me/learningnets
12 Acquirer Interface EMV 4.2 Book 4
12.2 Exception Handling Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 12 Acquirer Interface
Cardholder, Attendant, and Acquirer 12.2 Exception Handling
Interface Requirements
Part V
Annexes
https://t.me/learningnets
EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 12 Acquirer Interface
Cardholder, Attendant, and Acquirer 12.2 Exception Handling
Interface Requirements
A1 Terminal Type
Operational Control Provided By:
Environment Financial
Merchant Cardholder 20
Institution
Attended
Online only 11 21 —
Offline with online capability 12 22 —
Offline only 13 23 —
Unattended
Online only 14 24 34
Offline with online capability 15 25 35
Offline only 16 26 36
Terminal Types '14', '15', and '16' with cash disbursement capability (Additional
Terminal Capabilities, byte 1, ‗cash‘ bit = 1) are considered to be ATMs. All other
Terminal Types are not considered to be ATMs.
https://t.me/learningnets
Annex A Coding of Terminal Data Elements EMV 4.2 Book 4
A2 Terminal Capabilities Cardholder, Attendant, and Acquirer
Interface Requirements
A2 Terminal Capabilities
This section provides the coding for Terminal Capabilities:
Byte 1: Card Data Input Capability
Byte 2: CVM Capability
Byte 3: Security Capability
In the tables:
A ‗1‘ means that if that bit has the value 1, the corresponding ‗Meaning‘
applies.
An ‗x‘ means that the bit does not apply.
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
1 x x x x x x x Manual key entry
x 1 x x x x x x Magnetic stripe
x x 1 x x x x x IC with contacts
x x x 0 x x x x RFU
x x x x 0 x x x RFU
x x x x x 0 x x RFU
x x x x x x 0 x RFU
x x x x x x x 0 RFU
https://t.me/learningnets
EMV 4.2 Book 4 Coding of Terminal Data Elements
Cardholder, Attendant, and Acquirer Terminal Capabilities
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
1 x x x x x x x Plaintext PIN for ICC
verification
x 1 x x x x x x Enciphered PIN for online
verification
x x 1 x x x x x Signature (paper)
x x x 1 x x x x Enciphered PIN for offline
verification
x x x x 1 x x x No CVM Required
x x x x x 0 x x RFU
x x x x x x 0 x RFU
x x x x x x x 0 RFU
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
1 x x x x x x x SDA
x 1 x x x x x x DDA
x x 1 x x x x x Card capture
x x x 0 x x x x RFU
x x x x 1 x x x CDA
x x x x x 0 x x RFU
x x x x x x 0 x RFU
x x x x x x x 0 RFU
https://t.me/learningnets
Annex A Coding of Terminal Data Elements EMV 4.2 Book 4
A3 Additional Terminal Capabilities Cardholder, Attendant, and Acquirer
Interface Requirements
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
1 x x x x x x x Cash
x 1 x x x x x x Goods
x x 1 x x x x x Services
x x x 1 x x x x Cashback
x x x x 1 x x x Inquiry 21
x x x x x 1 x x Transfer 22
x x x x x x 1 x Payment 23
x x x x x x x 1 Administrative
21 For the purpose of this specification, an inquiry is a request for information about one
of the cardholder‘s accounts.
22For the purpose of this specification, a transfer is a movement of funds by a cardholder
from one of its accounts to another of the cardholder‘s accounts, both of which are held
by the same financial institution.
23For the purpose of this specification, a payment is a movement of funds from a
cardholder account to another party, for example, a utility bill payment.
https://t.me/learningnets
EMV 4.2 Book 4 Coding of Terminal Data Elements
Cardholder, Attendant, and Acquirer Additional Terminal Capabilities
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
1 x x x x x x x Cash Deposit 24
x 0 x x x x x x RFU
x x 0 x x x x x RFU
x x x 0 x x x x RFU
x x x x 0 x x x RFU
x x x x x 0 x x RFU
x x x x x x 0 x RFU
x x x x x x x 0 RFU
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
1 x x x x x x x Numeric keys
x 1 x x x x x x Alphabetic and special
characters keys
x x 1 x x x x x Command keys
x x x 1 x x x x Function keys
x x x x 0 x x x RFU
x x x x x 0 x x RFU
x x x x x x 0 x RFU
x x x x x x x 0 RFU
Table 30: Add’l Term. Capabilities Byte 3 - Terminal Data Input Capability
https://t.me/learningnets
Annex A Coding of Terminal Data Elements EMV 4.2 Book 4
A3 Additional Terminal Capabilities Cardholder, Attendant, and Acquirer
Interface Requirements
b8 b7 b6 b5 b4 b3 b2 b1 Meaning 25
1 x x x x x x x Print, attendant
x 1 x x x x x x Print, cardholder
x x 1 x x x x x Display, attendant
x x x 1 x x x x Display, cardholder
x x x x 0 x x x RFU
x x x x x 0 x x RFU
x x x x x x 1 x Code table 10
x x x x x x x 1 Code table 9
Table 31: Add’l Term. Capabilities Byte 4 - Term. Data Output Capability
The code table number refers to the corresponding part of ISO/IEC 8859.
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
1 x x x x x x x Code table 8
x 1 x x x x x x Code table 7
x x 1 x x x x x Code table 6
x x x 1 x x x x Code table 5
x x x x 1 x x x Code table 4
x x x x x 1 x x Code table 3
x x x x x x 1 x Code table 2
x x x x x x x 1 Code table 1
Table 32: Add’l Term. Capabilities Byte 5 - Term. Data Output Capability
The code table number refers to the corresponding part of ISO/IEC 8859.
25If the terminal is attended (Terminal Type = ‗x1‘, ‗x2‘, or ‗x3‘) and there is only one
printer, the ‗Print, attendant‘ bit shall be set to ‗1‘ and the ‗Print, cardholder‘ bit shall be
set to ‗0‘.
If the terminal is attended and there is only one display, the ‗Display, attendant‘ bit
shall be set to ‗1‘ and the ‗Display, cardholder‘ bit shall be set to ‗0‘.
If the terminal is unattended (Terminal Type = ‗x4‘, ‗x5‘, or ‗x6‘), the ‗Print, attendant‘
and ‗Display, attendant‘ bits shall be set to ‗0‘.
https://t.me/learningnets
EMV 4.2 Book 4 Coding of Terminal Data Elements
Cardholder, Attendant, and Acquirer CVM Results
A4 CVM Results
Byte 1 CVM Performed Last CVM of the CVM List actually performed by
the terminal: One-byte CVM Code of the CVM
List as defined in Book 3 ('3F' if no CVM is
performed)
Byte 2 CVM Condition One-byte CVM Condition Code of the CVM List
as defined in Book 3 or ‗00‘ if no actual CVM was
performed
Byte 3 CVM Result Result of the (last) CVM performed as known by
the terminal:
'0' = Unknown (for example, for signature)
'1' = Failed (for example, for offline PIN)
'2' = Successful (for example, for offline PIN)
or set to ‗1‘ if no CVM Condition Code was
satisfied or if the CVM Code was not recognised
or not supported
https://t.me/learningnets
Annex A Coding of Terminal Data Elements EMV 4.2 Book 4
A6 Authorisation Response Code Cardholder, Attendant, and Acquirer
Interface Requirements
Bytes 1–5 are repeated for each Issuer Script processed by the terminal.
The terminal shall never modify the Authorisation Response Code returned in
the response message.26
26The card‘s final decision is reflected in the Cryptogram Information Data and not in
the Authorisation Response Code.
https://t.me/learningnets
EMV 4.2 Book 4 12 Acquirer Interface
Cardholder, Attendant, and Acquirer 12.2 Exception Handling
Interface Requirements
b8 0 0 0 0 0 0 0 0
b7 0 0 0 0 1 1 1 1
b6 0 0 1 1 0 0 1 1
b5 0 1 0 1 0 1 0 1
b4 b3 b2 b1 00 01 02 03 04 05 06 07
0 0 0 0 00 SP 0 @ P ` p
0 0 0 1 01 ! 1 A Q a q
0 0 1 0 02 ― 2 B R b r
0 0 1 1 03 # 3 C S c s
0 1 0 0 04 $ 4 D T d t
0 1 0 1 05 % 5 E U e u
0 1 1 0 06 & 6 F V f v
0 1 1 1 07 ‗ 7 G W g w
1 0 0 0 08 ( 8 H X h x
1 0 0 1 09 ) 9 I Y i y
1 0 1 0 10 * : J Z j z
1 0 1 1 11 + ; K [ k {
1 1 0 0 12 , < L \ l |
1 1 0 1 13 - = M ] m }
1 1 1 0 14 . > N ^ n ~
1 1 1 1 15 / ? O _ o
https://t.me/learningnets
Annex B Common Character Set EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
The following is an example of the use of the common character set to display the
‗APPROVED‘ message in French without supporting the part of ISO/IEC 8859
that allows the relevant diacritic marks to be displayed.
If the terminal supports Part 1 of ISO/IEC 8859 (the Latin 1 alphabet) and
supports the display of the standard messages in French, when a card indicates
in its Language Preference that French is the preferred language, the terminal
can display the ‗APPROVED‘ message as ‗ACCEPTÉ‘, using the appropriate
diacritic marks.
If the terminal does not support Part 1 of ISO/IEC 8859 (the Latin 1 alphabet)
but supports Part 8 (the Hebrew alphabet), the terminal is still able to support
the display of the standard messages in French by using the common character
set. When a card indicates in its Language Preference that French is the
preferred language, the terminal can display the ‗APPROVED‘ message as
‗ACCEPTE‘, without the use of diacritic marks. The cardholder should be able to
comprehend the message.
https://t.me/learningnets
EMV 4.2 Book 4 12 Acquirer Interface
Cardholder, Attendant, and Acquirer 12.2 Exception Handling
Interface Requirements
https://t.me/learningnets
Annex C Example Data Element Conversion EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 Annex C Example Data Element Conversion
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
Annex C Example Data Element Conversion EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 12 Acquirer Interface
Cardholder, Attendant, and Acquirer 12.2 Exception Handling
Interface Requirements
D1 Terminal Usage
Because terminals are installed in a variety of environments and locations, it is
recognised that throughout the world different attempts have been made to
group relevant guidelines into different categories:
Climatic conditions where the terminal is used (climate controlled, outdoor,
indoor)
Mechanical conditions (such as vibration, shocks, drop-tests)
Electronic restrictions (such as isolation, security, penetration)
The guidelines have been documented in industry standards established in
Europe and the United States (see Annex D5 for informative references).
D2 Power Supply
https://t.me/learningnets
Annex D Informative Terminal Guidelines EMV 4.2 Book 4
D3 Keypad Cardholder, Attendant, and Acquirer
Interface Requirements
D3 Keypad
To prevent characters printed on the keys of the keypad from becoming illegible
after a while, precautions should be taken so that they:
have wear-resistant lettering
are able to function in normal operating environment including resistance to
soft drink spills, alcohol, detergents, gasoline, etc.
when operated as outdoor terminals, can resist the temperature ranges
commonly encountered
D4 Display
To cater for visually disabled people, characters on the display are visible in all
lighting conditions (bright overhead or dim diffuse light) and the size of the
characters is large enough to be read from a distance of 1 meter.
D5 Informative References
IEC 950:1991 Safety of information technology equipment, including
electrical business equipment, second edition.
(Amendment 1-1992) (Amendment 2-1993)
https://t.me/learningnets
EMV 4.2 Book 4 Annex D Informative Terminal Guidelines
Cardholder, Attendant, and Acquirer D5 Informative References
Interface Requirements
https://t.me/learningnets
Annex D Informative Terminal Guidelines EMV 4.2 Book 4
D5 Informative References Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 12 Acquirer Interface
Cardholder, Attendant, and Acquirer 12.2 Exception Handling
Interface Requirements
https://t.me/learningnets
Annex E Examples of Terminals EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
The coding of the terminal-related data for this example is the following:
Terminal Type = '22'
Terminal Capabilities, byte 1 = 'E0' (hexadecimal)
byte 2 = 'A0' (hexadecimal)
byte 3 = 'C0' (hexadecimal)
Additional Terminal Capabilities, byte 1 = '50' (hexadecimal)
byte 2 = '00' (hexadecimal)
byte 3 = 'B0' (hexadecimal)
byte 4 = 'B0' (hexadecimal)
byte 5 = '01' (hexadecimal)
https://t.me/learningnets
EMV 4.2 Book 4 Annex E Examples of Terminals
Cardholder, Attendant, and Acquirer
Interface Requirements
E2 Example 2 - ATM
Characteristics Example 2
Physical:
Keypad PIN pad + function keys
Display Yes for cardholder
Printer Yes for cardholder
Magnetic stripe reader Yes
IC reader Yes
Functional:
Language selection Supports Part 5 of ISO/IEC 8859
Transaction type Cash, inquiry, transfer, payment
SDA No
Cardholder verification Online PIN
Card capture Yes
Online capable Yes
Offline capable No
The coding of the terminal-related data for this example is the following:
Terminal Type = '14'
Terminal Capabilities, byte 1 = '60' (hexadecimal)
byte 2 = '40' (hexadecimal)
byte 3 = '20' (hexadecimal)
Additional Terminal Capabilities, byte 1 = '8E' (hexadecimal)
byte 2 = '00' (hexadecimal)
byte 3 = 'B0' (hexadecimal)
byte 4 = '50' (hexadecimal)
byte 5 = '05' (hexadecimal)
https://t.me/learningnets
Annex E Examples of Terminals EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
The coding of the terminal-related data for this example is the following:
Terminal Type = '26'
Terminal Capabilities, byte 1 = '60' (hexadecimal)
byte 2 = '00' (hexadecimal)
byte 3 = 'C0' (hexadecimal)
Additional Terminal Capabilities, byte 1 = '40' (hexadecimal)
byte 2 = '00' (hexadecimal)
byte 3 = '10' (hexadecimal)
byte 4 = '00' (hexadecimal)
byte 5 = '00' (hexadecimal)
https://t.me/learningnets
EMV 4.2 Book 4 12 Acquirer Interface
Cardholder, Attendant, and Acquirer 12.2 Exception Handling
Interface Requirements
Index
Cardholder and Attendant Interface
Application Selection .....................................91
A Language Selection ........................................87
Standard Messages.........................................88
Abbreviations .....................................................21 Cardholder Verification ........................... See CVM
Acquirer Interface Character Set .................................................... 123
Exception Handling...................................... 108 Coding
Advice Incidents ...................................... 111 Additional Terminal Capabilities ................. 118
Authorisation Response Incidents ............ 110 Authorisation Response Code ....................... 122
Downgraded Authorisation ...................... 109 Terminal Capabilities................................... 116
Script Incidents ....................................... 111 Terminal Data Elements............................... 115
Unable to Go Online................................ 108 Terminal Type ............................................. 115
Message Content ............................................93 Command Keys ..................................................62
Authorisation Request ...............................95 Common Character Set ..................................... 123
Authorisation Response .............................99 Conditions for Support of Functions ....................54
Batch Data Capture ................................. 101 CVM ..................................................................45
Financial Transaction Confirmation ......... 100 CVM Results ......................................................48
Financial Transaction Request ...................97
Financial Transaction Response .................99
Online Advice ......................................... 104 D
Reconciliation ......................................... 103
Reversal .................................................. 106 Data Element Conversion, Example .................. 125
Additional Terminal Capabilities Data Element Format Conventions ......................31
Terminal Data Input Capability .................... 119 Data Elements
Terminal Data Output Capability ................. 120 Authorisation Request
Transaction Type Capability................. 118, 119 Existing.....................................................96
Advice Incidents ............................................... 111 ICC-specific ..............................................95
Amount Entry and Management ..........................55 Batch Data Capture
Application Dependent Data ...............................81 Existing................................................... 102
Application Independent Data .............................80 ICC-specific ............................................ 101
Application Independent ICC to Terminal Interface Financial Transaction Confirmation
Requirements .................................................43 Existing................................................... 100
Application Selection ..........................................91 ICC-specific ............................................ 100
Application Specification ....................................43 Financial Transaction Request
Authorisation Request ........................................95 Existing.....................................................98
Authorisation Response ......................................99 ICC-specific ..............................................97
Authorisation Response Code Online Advice
Coding ......................................................... 122 Existing................................................... 105
Authorisation Response Incidents ..................... 110 ICC-specific ............................................ 104
Reconciliation
Existing................................................... 103
B Response
Existing.....................................................99
Batch Data Capture .......................................... 101 ICC-specific ..............................................99
Battery Requirements ....................................... 129 Reversal
Existing................................................... 107
ICC-specific ............................................ 106
Data Elements, Terminal .................................. 115
C Data Management...............................................79
Application Dependent Data ..........................81
Card Action Analysis ..........................................52 Application Independent Data ........................80
Card Reading......................................................57
Exception Handling........................................58
IC Reader.......................................................58
https://t.me/learningnets
Annex E Examples of Terminals EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
https://t.me/learningnets
EMV 4.2 Book 4 Index
Cardholder, Attendant, and Acquirer
Interface Requirements
T
O
Terminal
Offline CVM ......................................................46 Capabilities....................................................38
Offline Data Authentication ................................44 Configurations ...............................................39
Online Advice .................................................. 104 Attended ...................................................39
Online CVM.......................................................46 Cardholder-Controlled ...............................41
Online Processing ...............................................53 Merchant Host ...........................................40
Examples ..................................................... 133
ATM ....................................................... 135
P POS Terminal or Electronic Cash Register
........................................................... 134
Physical Characteristics ......................................61 Vending Machine .................................... 136
Clock .............................................................64 Types .............................................................37
Display ..........................................................64 Terminal Action Analysis ...................................51
Keypad ..........................................................61 Terminal Capabilities
Command Keys .........................................62 Card Data Input Capability........................... 116
PIN Pad .....................................................63 CVM Capability........................................... 117
Magnetic Stripe Reader ..................................65 Security Capability....................................... 117
Memory Protection .........................................64 Terminal Data Elements, Coding ...................... 115
Printer ...........................................................65 Terminal Guidelines, Informative ..................... 129
Terminal Risk Management ................................51
Terminal Software Architecture ..........................69
Application Libraries .....................................70
Application Program Interface ........................71
Environmental Changes .................................69
Interpreter
https://t.me/learningnets
Annex E Examples of Terminals EMV 4.2 Book 4
Cardholder, Attendant, and Acquirer
Interface Requirements
U
Unable to Go Online ......................................... 108
Unpredictable Number........................................57
V
Voice Referrals ...................................................55
https://t.me/learningnets