Skip to main content
Version

Tag Definitions

For each tag, the name, tag, type and length along with a description are summarized here. The tag value should be interpreted as hexadecimal bytes, e.g. 5fe000 represents three bytes: 0x5F, 0xE0, 0x00. A length indicates a maximum length in bytes for the tag, otherwise a dash (“-“) indicates a variable length greater than zero.

CM.com IPP Payments Platform Defined Tags​

BER-TLV coding ISO/IEC 8825-1 is used, with following convention:

  • 0x5FExxx for primitive data objects;

  • 0x7FExxx for constructed data objects.

CM.com IPP Payments Platform Tag Summary​

TAGTag NameTypeLengthDescription
5FE000CommandBIN2The command code that identifies the message
5FE001Command result codeBIN2Contains the result code of the message
5FE010Application Protocol Major VersionBIN2Identifies the protocol version being used by the payment terminal; For this PSP version: 0x0004
5FE011Application Protocol Minor VersionBIN2Identifies the protocol version being used by the payment terminal; For this PSP version: 0x0003.
5FE012Application Dialog VariantBIN1This specifies the application-level dialog with a fixed value of 0x0002.
5FE101Terminal brandTEXT-Identifies the terminal brand. Value to be agreed upon with CM.com during onboarding
5FE102Terminal modelTEXT-Identifies the terminal model. Value to be agreed upon with CM.com during onboarding
5FE130Terminal application versionTEXT-Indicates the Terminal application version. The payment Terminal Application Version is alphanumeric, e.g. 2.3.0.
5FE131Terminal application build dateTEXT-Indicates the creation date of the Terminal application.
5FE132Pay Hardware Service version (CM Terminal)TEXT-Indicates the Pay Hardware Service version.
5FE133SDK version on the terminal (CM Terminal)TEXT-Indicates the SDK version on the terminal.
5FE134ROM version (CM Terminal)TEXT-Indicates the ROM version.
5FE135Android OS version (CM Terminal)TEXT-Indicates the Android OS version.
5FE300Transaction identifierTEXT31Universal unique identifier of the payment transaction. The identifier is generated by the CM.com IPP Payments Platform.
5FE303Transaction typeBIN2Indicates the Transaction type sent by the terminal.
5FE304Transaction optionsBIN4Indicates the transaction options value in the PRINT_COMMAND message: 00 for NONE or 02 for Request-Signature. Terminals must use this tag to determine receipt generation logic, including signature line placement and refund line printing on merchant or cardholder receipts.
5FE306Original referenceTEXT8Indicates the STAN of original payment/Pre-Authorization.
5FE307Original reference dateTIME4Indicates the date of original payment/Pre-Authorization. Format: yyyyMMdd.
5FE309Card sequence numberTEXT3Indicates the card sequence number, as extracted from Track 2 data.
5FE30ATransaction succeededBOOL1Transaction succeeded
7fe506Formatted receiptsCNSTR-Container for formatted receipts.
7fe505Receipt formatted linesCNSTR-Container for formatted print lines
5fe505Receipt formatted lineTEXT80Container for formatted print line
5FE310Terminal key serial numberBIN-Indicates the key serial number used for encrypting the PIN.
5FE311Encrypted PIN blockBIN-Encrypted PIN data
5FE312Encrypted cardholder dataBIN-Indicates the Encrypted cardholder data information.
5FE313ASCII track2dataTRACK2DATA-See Hexadecimal ASCII
5FE314Masked PANTEXT20Indicates the masked PAN (Primary Account Number) for printing on the receipt.
5FE315PIN lengthINT1Indicates the length of the PIN, specified by the number of digits.
5FE321Amount display stringTEXT16See Amount display string
5FE333Processor nameTEXT16Indicates the name of the processor.
5FE34ASystem Trace Authentication NumberINT6Indicates the System Trace Audit Number.
5FE34CGratuity approved amount unitBIN4Indicates the gratuity Amount, Authorised (Binary).
5FE341Merchant order refTEXT64Merchant’s order number.
5FE346Cardholder data lengthINT1Indicates the length of the cardholder data.
5FE501Receipt footer textTEXT64Indicates the text for the footer of the receipt, as specified in the portal.
5FE502Receipt duplicateBOOL1Indicates whether the receipt is a duplicate receipt.
5FEF01Pre-authorization valid dateTIME6Indicates the end of the period during which a sale can be completed after pre-authorization. Format: yyMMdd.
5FEF02Pre-authorization valid timeTIME6Indicates the end of the time period during which a sale can be completed after pre-authorization. Format: HHmmss.
7FE010Application Protocol VersionCNSTR-Indicates the application level protocol version.
7FE012Application IdentificationCNSTR-Indicates the application level identification.
7FE306Transaction AID listCNSTR-Constructed tag containing the AID (Application Identifier) list from the card.
7FE320Amount entryCNSTR-Constructed tag that indicates the amount in application currency.
7FE340Gateway dataCNSTR-Additional data sent along in the AUTHORIZATION_RESPONSE by CM.com IPP Payments Platform.

IPP Payments Platform Tag Summary

EMV Tags​

For further information check EMV Integrated Circuit Card Specifications for Payment Systems, Book 3, Application Specification. You can find the specification at emvco.