Tools

CVM Analyzer

Paste a CVM List (tag 8E), describe the terminal and the transaction, and see how a terminal walks the list per EMV Book 3: which rule applies and why, the CVM Results (9F34), and the TVR and TSI bits that follow.

1. The card

Leave empty if the card does not have it: amount conditions are then skipped.
Application Interchange Profile (82)

2. The terminal and the transaction

Edit Terminal Capabilities (9F33) bit by bit

3. What happens at the terminal

Choose how each CVM goes if the terminal tries it.

Devices

4. The result

Paste a CVM List to start.

    #CV RuleConditionWhat the terminal does

    How the terminal walks the CVM List

    The list

    Tag 8E holds two amounts, X and Y (4 bytes each, binary, in the application currency's minor units), then two-byte CV Rules. Byte 1 is the method; its bit 7 says what to do if the method fails: 0 stops cardholder verification as failed, 1 moves on to the next rule. Byte 2 is the condition.

    Rule by rule

    The terminal takes the rules in order. A rule whose condition is not met, whose data is missing (an amount condition without an Application Currency Code) or whose condition code it does not know is skipped. Otherwise the terminal checks it recognises the method, then that it supports it (Terminal Capabilities byte 2), then performs it. The first method that succeeds ends cardholder verification.

    Failures

    An unrecognised method sets "Unrecognised CVM". An unsupported PIN method sets "PIN entry required and PIN pad not present or not working" (for offline PIN, only when neither offline PIN form is supported). Then bit 7 decides: move on, or stop. Reaching the end of the list without success sets "Cardholder verification was not successful". "Fail CVM processing" always stops, whatever bit 7 says.

    CVM Results (9F34)

    Byte 1 and byte 2 are the method and condition of the last CVM performed, or 3F 00 when none was. Byte 3 is 02 for success (offline PIN, offline biometric, No CVM required), 00 for unknown (signature, online PIN, online biometric) and 01 for failure. The TSI bit "Cardholder verification was performed" is set whenever the list was processed.

    Amount conditions

    Conditions 06 to 09 apply only when the Transaction Currency Code equals the Application Currency Code. "Under" and "over" are strict: an amount equal to X meets neither 06 nor 07.

    Sources

    EMV v4.4 Book 3, 10.5 Cardholder Verification and C3 CV Rule Format; Book 4, 6.3.4 Cardholder Verification Processing, Table 2 and A4 CVM Results. Payment system conditions (80 to FF) and proprietary methods are treated as not understood.