All pages
Powered by GitBook
1 of 1

Loading...

EMV Batch Data Type

The device formats EMV batch data, such as merchant data and pre-defined EMV batch data tags, using the format shown in Table . The default is an EMV standard list of batch data message tags. The host may also customize the contents of batch data messages by setting EMV Batch Data Tag List - Property 1.1.1.1.1.3.

(EMV Contact Only) For unsuccessful transactions, this data object can contain additional pre-defined reversal data. It is normally used by the host for data capture. The default is an EMV standard list of reversal data message tags. The host may also customize the contents of reversal data messages by setting EMV Reversal Data Tag List - Property 1.1.1.1.1.4.

As part of successful completion of Start Transaction - Command 0x1001, this data structure contains the results of the transaction. The set of tags used during a given EMV transaction is a combination of the tags defined in the EMV specification and the tags that are specific to the kernel being used for the transaction.

EMV Batch Data (DynaPro Format) Type

Tag
Len
Value / Description
Typ
Req
Default
Tag
Len
Value / Description
Typ
Req
Default
Tag
Len
Value / Description
Typ
Req
Default

Merchant Data is normally used by the host for receipt printing. The contents of this container are not customizable.

Tag
Len
Value / Description
Typ
Req
Default

/DFDF54

var

MAC KSN

B

R

/DFDF55

01

MAC Encryption Type See for a list of valid values.

B

R

/DFDF25

var

Device Serial Number (IFD Serial Number)

B

R

/FA

var

Container for Generic Data

T

R

//F0

var

Transaction Results

T

R

///F1

var

Container for Status Data

T

R

////DFDF1A

01

Transaction Status

  • 0x00 = Accept

  • 0x01 = Decline

  • 0x02 = Error

B

R

////DFDF1B

01

Additional Transaction Information 0x00

B

R

///F8

var

Container for Encrypted Data

T

R

////DFDF59

var

Encrypted Data Primitive Decrypt the value of this TLV data object according to the parameter and the parameter to read its contents. See for the data structure as it should appear after decryption. Use the data variant of the current MSR DUKPT working key used in the relevant transaction.

B

R

////DFDF56

var

Encrypted Transaction Data KSN

B

R

////DFDF57

01

Encrypted Transaction Data Encryption Type See for a list of valid values.

B

R

////DFDF58

01

Number of padding bytes added to DFDF59 value to force length to a multiple of 8 bytes

B

R

///F7

var

Merchant Data This contains an instance of

T

R

/FE

Var

VAS Data Container See

T

O

Padding to ensure the length of data, starting with the message length at the very beginning, and ending with any additional padding, is a multiple of 8 bytes for TDES, or 16 bytes for AES. This is a requirement of using the CBC-MAC algorithm.

Four-byte CBC-MAC. The host should calculate the CBC-MAC and verify that it matches. For details about calculating a CBC-MAC, see

/F2

var

Container for Batch Data This data object contains the set of EMV TLV data objects specified in .

T

//DF29

08

Only if tag DF29 is included in

  • Outcome Parameter Set Byte 1 -

    • Outcome 0x10 = Approved

B

O

/F3

var

(EMV Contact Only) Container for Reversal Data, if any This data object contains the set of EMV TLV data objects specified in .

T

O

null

/F4

var

Container for encrypted MSR data (MSR Only)

T

O

//DFDF36

01

Encrypted Track 1 Status (MSR Only)

  • 0x00 = OK

  • 0x01 = Empty

  • 0x02 = Error

B

O

//DFDF37

var

Encrypted Track 1 Data (MSR Only)

B

O

//DFDF38

01

Encrypted Track 2 Status (MSR Only)

  • 0x00 = OK

  • 0x01 = Empty

  • 0x02 = Error

B

O

//DFDF39

var

Encrypted Track 2 Data (MSR Only)

B

O

//DFDF3A

01

Encrypted Track 3 Status (MSR Only)

  • 0x00 = OK

  • 0x01 = Empty

  • 0x02 = Error

B

O

//DFDF3B

var

Encrypted Track 3 Data (MSR Only)

B

O

//DFDF3C

var

Encrypted MagnePrint Data (MSR Only) Only included for MSR swipe transactions and when Track Data and Magneprint are using the same KSN.

B

O

//DFDF43

04

MagnePrint Status Data (MSR Only) Only included for MSR swipe transactions and when Track Data and Magneprint are using the same KSN.

B

O

//DFDF50

var

MSR KSN Data (MSR Only)

B

O

//DFDF51

01

MSR Encryption Type (MSR Only) See for a list of valid values.

B

O

/FF73

var

Container for Encrypted MagnePrint Data (MSR Only) Only included when Track Data and MagnePrint encryption keys are using different KSN

T

O

//DFDF3C

var

Encrypted MagnePrint Data (MSR Only) Only included for MSR swipe transactions.

B

O

//DFDF43

04

MagnePrint Status Data (MSR Only) Only included for MSR swipe transactions.

B

O

//DFDF50

var

MSR KSN Data (MSR Only) Key Serial Number for the key the host should use to decrypt Encrypted MagnePrint Data.

B

O

//DFDF51

01

MSR Encryption Type (MSR Only) See for a list of valid values.

B

O

/F5

00

Container for Encrypted PIN Data (Touch Only)

T

O

//DF71

00

PIN Block Format (Touch Only)

  • 0x00 = ISO Format 0

  • 0x01 = ISO Format 1

  • 0x03 = ISO Format 3

B

O

//99

00

Encrypted PIN Data (Touch Only)

B

O

//DFDF41

00

PIN KSN Data (Touch Only)

B

O

//DFDF42

00

PIN Encryption Type (Touch Only) See for a list of valid values.

B

O

null

(var)

Padding to force DFDF59 plus padding to be a multiple of 8 bytes

B

/F2

var

Container for Batch Data This data object contains the set of EMV TLV data objects specified in .

T

/F3

var

Container for Reversal Data, if any This data object contains the set of EMV TLV data objects specified in

T

O

null

null

(var)

Padding to force DFDF59 plus padding to be a multiple of 8 bytes or 16 bytes depending on the cipher block size of the algorithm being used.

B

/FE

Var

VAS Data Container See Table –

T

O

/FE

F9

var

Container for MAC structure and generic data

T

R

/DFDF54

var

MAC KSN

B

R

/DFDF55

01

MAC Encryption Type See for a list of valid values.

B

R

/DFDF25

var

Device Serial Number (IFD Serial Number)

B

R

/FA

var

Container for Generic Data

T

R

//F0

var

Transaction Results

T

R

///F1

var

Container for Status Data

T

R

////DFDF1A

01

Transaction Status

  • 0x00 = Accept

  • 0x01 = Decline

  • 0x02 = Error

B

R

///F8

var

Container for Encrypted Data

T

R

////DFDF59

var

Encrypted Data Primitive Decrypt the value of this TLV data object according to the Encrypted Transaction Data KSN parameter and the Encrypted Transaction Data Encryption Type parameter to read its contents. See Table XX for the data structure as it should appear after decryption. Use the data variant of the current MSR DUKPT working key used in the relevant transaction.

B

R

////DFDF56

var

Encrypted Transaction Data KSN

B

R

////DFDF57

01

Encrypted Transaction Data Encryption Type See Encryption Type for a list of valid values.

B

R

////DFDF58

01

Number of padding bytes added to DFDF59 value to force length to a multiple of 8 bytes

B

R

///F7

var

Merchant Data This contains an instance of Merchant Data Container.

T

R

/FE

Var

VAS Data Container See Table XX – VAS Data Container Payload

T

O

Padding to ensure the length of data, starting with the message length at the very beginning, and ending with any additional padding, is a multiple of 8 bytes for TDES, or 16 bytes for AES. This is a requirement of using the CBC-MAC algorithm.

Four-byte CBC-MAC. The host should calculate the CBC-MAC and verify that it matches. For details about calculating a CBC-MAC, see About Message Authentication Codes (MAC).

2-byte MSB message length excluding padding and CBC-MAC

F9

var

Container for MAC structure and generic data

T

R

FC

var

Decrypted Data Container

T

FC

var

Decrypted Data Container

T

2-byte MSB message length excluding padding and CBC-MAC

EMV Batch Data (DynaPro Format) DFDF59 Decrypted Contents - A

EMV Batch Data (DynaPro Format) DFDF59 Decrypted Contents - B

Merchant Data Container

EMV Batch Data (DynaPro Format) Type

0x20 = Declined
  • 0x30 = Online Request

  • 0x40 = End Application

  • 0x50 = Select Next Application

  • 0x60 = Try Another Interface

  • 0x70 = Try Again

  • 0xF0 = N/A

  • Byte 2 – Entry Point Start

    • 0x00 = Start A

    • 0x10 = Start B

    • 0x20 = Start C

    • 0x30 = Start D

    • 0xF0 = N/A

    Byte 3 – Entry Point Online Response

    • 0x00 = EMV Data

    • 0x10 = Any

    • 0xF0 = N/A

    Byte 4 – CVM

    • 0x00 = No CVM

    • 0x10 = Obtain Signature

    • 0x20 = Online PIN

    • 0x30 = Confirmation Code Verified

    • 0xF0 = N/A

    Byte 5 – UI/Data/Receipt

    • 0x80 = UI Request on Outcome Present

    • 0x40 = UI Request on Restart Present

    • 0x20 = Data Record Present

    • 0x10 = Discretionary Data Present

    • 0x08 = Provide Receipt

    Byte 6 – Alternate Interface Preference

    • 0x10 = Contact

    • 0x20 = MSR

    • 0xF0 = N/A

    Byte 7 – Field Off Request

    • FF = N/A

    Byte 8 – Removal Timeout

    0x03 = Disabled [Track 1 Enable (MSR Only) - Property 1.1.2.5.1.2 set to Disabled]

    0x03 = Disabled [Track 2 Enable (MSR Only) - Property 1.1.2.5.1.3 set to Disabled]

    0x03 = Disabled [Track 3 Enable (MSR Only) - Property 1.1.2.5.1.4 set to Disabled]

    0x04 = ISO Format 4

    Encryption Type
    Encrypted Transaction Data KSN
    Encrypted Transaction Data Encryption Type
    EMV Batch Data (DynaPro Format) DFDF59 Decrypted Content
    Encryption Type
    Merchant Data Container.
    VAS Data Container Payload
    About Message Authentication Codes (MAC).
    EMV Batch Data Tag List - Property 1.1.1.1.1.3
    EMV Batch Data Tag List - Property 1.1.1.1.1.3
    EMV Reversal Data Tag List - Property 1.1.1.1.1.4
    Encryption Type
    Encryption Type
    Encryption Type
    EMV Batch Data Tag List - Property 1.1.1.1.1.3
    EMV Reversal Data Tag List - Property 1.1.1.1.1.4 .
    VAS Data Container Payload
    Encryption Type