---
title: "EMV and EMV Contactless Tag Definitions"
canonical: "https://help.anywherecommerce.com/space/Customer/2558296066/EMV%20and%20EMV%20Contactless%20Tag%20Definitions"
format: markdown
---
The `onRequestOnlineProcess`, `onReturnReversalData`, and `onReturnBatchData` functions play a crucial role in the context of payment processing and communication between payment devices, such as card readers or POS terminals, and the payment network. These functions are used to handle various types of data tags categorized into four types: BBPOS, EMV, EMV CONTACTLESS, and BBPOS CONTACTLESS. Below, we provide an overview of each category:

### Type BBPOS

The BBPOS category contains tags related to basic payment processing and security features:

- **C0 - KSN of Online Message**: The Key Serial Number of the Online Message is crucial for secure key management during online processing.
- **C1 - KSN of Online PIN**: Similar to the first tag, this KSN is specific to the Online PIN, contributing to the security of PIN handling.
- **C2 - Encrypted Online Message**: This tag represents the Online Message after encryption for secure transmission.
- **C3 - KSN of Batch / Reversal Message**: Key Serial Number for batch or reversal messages is important for tracking and maintaining security during these processes.
- **C4 - Masked PAN First 6/Last 4**: The Primary Account Number (PAN) is partially masked for privacy, with only the first six and last four digits displayed.
- **C5 - Encrypted Batch Message**: Similar to C2 but related to batch messages.
- **C6 - Encrypted Reversal Message**: This tag represents the Reversal Message, encrypted for security.
- **C7 - KSN of Track 2 Equivalent**: Key Serial Number for the Track 2 Equivalent data used in payment card processing.
- **C8 - Encrypted Track 2 Equivalent**: This tag represents the encrypted Track 2 Equivalent data, adding an extra layer of security.
- **DF08 - MAC KSN**: The Key Serial Number associated with the Message Authentication Code (MAC) for ensuring message integrity.
- **DC - MAC of Online / Batch / Reversal Message**: The Message Authentication Code (MAC) applied to Online, Batch, or Reversal Messages to protect against tampering.
- **E1 and E2 - Template tags for Fleet cards**: These template tags are specific to Fleet cards, providing necessary information for processing such cards.
- **DF826E - Serial Number**: Serial Number of the transaction, important for tracking and audit purposes.
- **DF834F - BID**: The Business Identifier (BID) is used for identification and classification of transactions.
- **DF8362 - Quick Chip Indicator**: Indicates whether the transaction was processed using Quick Chip technology.
- **DF857E - EFTPOS Least Cost Routing**: Information related to the Least Cost Routing for Electronic Funds Transfer at the Point Of Sale (EFTPOS) transactions.
- **DF2A - Transaction Result**: Represents the result or outcome of the transaction, indicating success or failure.

### Type EMV

The EMV category focuses on tags related to EMV chip card processing:

**4F (AID - Card):** Application Identifier for the card. It uniquely identifies the card application on the chip.

**50 (Application Label):** This tag typically contains a label or name associated with the card application.

**57 (Track 2 Equivalent Data):** This contains data that is equivalent to the Track 2 data on a magnetic stripe card. It includes information like the primary account number (PAN) and expiration date.

**5A (PAN - Primary Account Number):** The card's primary account number, also known as the card number.

**82 (Application Interchange Profile):** This tag contains information about the card's capabilities and restrictions when interacting with the payment terminal.

**84 (Dedicated File Name):** A name that identifies a specific file or data object on the chip.

**89 (Authorization Code):** A code issued by the issuer for authorizing a transaction.

**8A (Authorization Response Code):** The response code from the issuer authorizing or declining a transaction.

**8E (CVM List):** Cardholder verification methods that can be used for a transaction, such as signature or PIN.

**95 (TVR - Terminal Verification Results):** A set of bits indicating the result of the terminal's risk analysis during a transaction.

**99 (Encrypted PIN Block):** The PIN block is used to securely transmit and store the cardholder's PIN.

**9A (Transaction Date):** The date on which the transaction occurred.

**9B (Transaction Status Information):** Information about the status of the transaction, such as whether it was approved or declined.

**9C (Transaction Type):** The type of transaction, such as a purchase, cash withdrawal, or balance inquiry.

**5F20 (Cardholder Name):** The name of the cardholder.

**5F24 (Application Expiration Date):** The expiration date of the card application.

**5F25 (Application Effective Date):** The date from which the card application is effective.

**5F2A (Transaction Currency Code):** The code that represents the currency used for the transaction.

**5F30 (Service Code):** A code that defines the services and features associated with the card.

**5F34 (PAN Sequence Number):** A number indicating the sequence of the card when multiple cards are associated with a single account.

**9F01 (Acquirer ID):** Identifier of the financial institution or acquirer handling the transaction.

**9F02 (Amount, Authorized):** The authorized transaction amount.

**9F03 (Amount, Other):** The other amount in the case of a cashback transaction.

**9F06 (AID - Terminal):** Application Identifier for the terminal.

**9F07 (Application Usage Control):** Defines how the application should be used by the terminal.

**9F09 (Application Version Number):** Version number of the card application.

**9F0C (Issuer Identification Number Extended - IINE):** An extended version of the issuer identification number.

**9F0D (IAC – Default):** Issuer Application Cryptogram for default processing.

**9F0E (IAC – Denial):** Issuer Application Cryptogram for transaction denial.

**9F0F (IAC – Online):** Issuer Application Cryptogram for online authorization.

**9F10 (Issuer Application Data):** Data provided by the issuer for various purposes, including risk management.

**9F12 (Application Preferred Name):** The preferred name of the application.

**9F16 (Merchant ID):** The unique identifier of the merchant.

**9F1A (Terminal Country Code):** The code that represents the country where the terminal is located.

**9F1C (Terminal ID):** The unique identifier of the terminal.

**9F1E (IFD Serial Number):** Serial number of the integrated circuit card reader.

**9F21 (Transaction Time):** The time at which the transaction occurred.

**9F26 (Application Cryptogram):** A cryptographic value generated by the card for transaction verification.

**9F27 (Cryptogram Information Data):** Information about the type of cryptogram used.

**9F33 (Terminal Capabilities):** Describes the terminal's capabilities for processing transactions.

**9F34 (CVM Results):** The result of cardholder verification methods used in the transaction.

**9F35 (Terminal Type):** The type of terminal, such as attended or unattended.

**9F36 (Application Transaction Counter):** A counter used to track the number of transactions for risk management.

**9F37 (Unpredictable Number):** A random number generated for security purposes.

**9F39 (POS-Entry Mode):** Describes how the card data was entered into the terminal, e.g., chip, contactless, or manual entry.

**9F40 (Additional Terminal Capabilities):** Additional capabilities of the terminal for specific transactions.

**9F41 (Transaction Sequence Counter):** A counter used to track the sequence of transactions.

**9F4E (Merchant Name and Location):** Information about the merchant's name and location.

**9F53 (Discover Contactless Card Verification Results):** Specific to Discover contactless transactions, it contains verification results.

**9F5B (Issuer Script Results):** The results of issuer scripts executed during the transaction.

### Type EMV CONTACTLESS:

**56 (Track 1 Equivalent Data):** Contains data equivalent to the information found on the Track 1 of a magnetic stripe card, including the primary account number (PAN) and other relevant data.

**9F11 (Issuer Code Table Index):** An index that refers to a specific code table used by the issuer to validate and process the transaction.

**9F5D (Available Offline Spending Amount / Application Capabilities Information):** Depending on the payment network (Visa or Mastercard), this tag represents either the available offline spending amount (Visa) or application capabilities information (Mastercard) for an EMV contactless transaction.

**9F63 (Offline Counter Initial Value / PUNATC):** This tag represents different data for Visa and Mastercard. For Visa, it indicates the offline counter's initial value, while for Mastercard, it stands for PUNATC (Primary Account Number Unpredictable Number and Application Transaction Counter).

**9F66 (Terminal Transaction Qualifiers):** Contains information about the transaction qualifiers at the terminal.

**9F6B (Track 2 Data):** In the context of Mastercard, this tag holds Track 2 data, which is similar to Track 1 but contains different information. It is used for contactless transactions.

**9F6D (Magstripe Application Version Number / Contactless Reader Capabilities):** This tag has different meanings for different payment systems. For contactless, it represents the magstripe application version number (Contact) or contactless reader capabilities (Expresspay).

**9F6E (Form Factor Indication / Third Party Data / Enhanced Contactless Reader Capabilities):** Similar to the previous tag, the interpretation varies depending on the payment system. It can represent the form factor indication (Visa), third-party data (Mastercard), or enhanced contactless reader capabilities (Expresspay).

**9F70 (Protected Data Envelope 1 / Card Interface Capabilities):** The meaning of this tag differs based on the payment network. For Mastercard, it represents Protected Data Envelope 1, while for AMEX, it indicates Card Interface Capabilities.

**9F7C (Customer Exclusive Data / Merchant Custom Data):** In the context of Visa, it represents Customer Exclusive Data (CED), while for Mastercard, it is used for storing Merchant Custom Data.

**9F7D (DS Summary 1):** This tag is specific to Mastercard and is used for DS (Dynamic Signature) Summary 1

### Type BBPOS CONTACTLESS:

**DF17 (Card Data Input Capability):** A tag specific to BBPOS Contactless that describes the card data input capability of the device.

**9F42 (Application Currency Code):** This tag represents the currency code associated with the card application.

**9F45 (Data Authentication Code):** This tag is used for data authentication purposes in the BBPOS Contactless system.

**9F4C (ICC Dynamic Number):** This tag is related to the ICC (Integrated Circuit Card) dynamic number, which is used in contactless transactions for security.