EMV ARQC Type

The device formats ARQC messages as shown in Table 19. The default is an EMV standard list of ARQC message tags. The host may also customize the contents of ARQC messages by setting Property 1.1.1.1.1.2 EMV ARQC Message Tag List.

EMV ARQC (DynaPro Format) Type

Table - EMV ARQC (DynaPro Format) Type

Tag

Len

Value / Description

Typ

Req

Default

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

F9

var

Container for MAC structure and generic data

T

R

/DFDF54

var

MAC KSN

B

R

/DFDF55

01

MAC Encryption Type

See section 4.4 Encryption Type 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

//70

var

Container for ARQC

T

R

///82

02

Application Interchange Profile

Available on:

DynaFlex I FW Ver CA1 or newer DynaProx FW Ver A8 or newer DynaFlex II FW Ver A6 or newer

B

O

///9F6E

var

Third Party Data

Available on:

DynaFlex I FW Ver CA1 or newer DynaProx FW Ver A8 or newer DynaFlex II FW Ver A6 or newer

B

O

///DFDF53

01

Fallback Indicator

· 0x00 = No Fallback

· 0x01 = Technical Fallback

· 0x81 = MSR Fallback

B

R

///DFDF33

var

Masked Track 2 MSR Data

If the payment method presented by the cardholder provides it

AN

O

///DFDF4D

var

Masked Track 2 ICC Data

If the payment method presented by the cardholder provides it

AN

O

///DFDF52

01

Card Type

· 0x00 = Other

· 0x01 = Magnetic Stripe ISO/ABA Financial (MSR)

· 0x02 = Magnetic Stripe AAMVA (MSR)

· 0x03 = Manual Entry

· 0x04 = Unknown

· 0x05 = Contact Chip Card (ICC)

· 0x06 = Contactless Chip Card (PICC), EMV

· 0x07 = MSR Financial and Contact Chip Card (ICC)

B

R

Table - EMV ARQC (DynaPro Format) Type

Tag

Len

Value / Description

Typ

Req

Default

· 0x08 = Contactless PICC, Magnetic Stripe Data (MSD)

///FF42

var

Container for Selectable Encrypted Card Data Set up OID 1.1.2.6.1.1 to enable this container.

T

O

////DFDFDF37

var

Selectable Encrypted Data Primitive

Decrypt the value of this TLV data object using the algorithm and variant specified in the Selectable Encrypted Data KSN parameter and the Selectable Encrypted Data Encryption Type parameter. See Table 21 - EMV ARQC (DynaPro Format) DFDFDF37 Decrypted Contents for the data structure as it should appear after decryption.

(This item will be present if 0xFF42 is enabled)

B

O

////DFDFDF38

0C

Selectable Encrypted Data KSN

(This item will be present if 0xFF42 is enabled)

B

O

////DFDFDF39

01

Selectable Encrypted Data Encryption Type (This item will be present if 0xFF42 is enabled)

B

O

///DF2A

06

Tip Mode Sale Amount Entered

B

O

///DF2B

06

Tip Mode Total Amount

B

O

///DF5D

06

Tip Amount

B

O

///DF5E

06

Tax Amount

B

O

///F8

var

Container for Encrypted Data

T

R

////DFDF59

var

Encrypted Data Primitive

Decrypt the value of this TLV data object using the algorithm and variant specified in the Encrypted Transaction Data KSN parameter and the Encrypted Transaction Data Encryption Type parameter to read its contents. See Table 20 for the data structure as it should appear after decryption.

B

R

////DFDF56

var

Encrypted Transaction Data KSN

B

R

////DFDF57

01

Encrypted Transaction Data Encryption Type

See section 4.4 Encryption Type for a list of valid values.

B

R

////DFDF58

01

Number of Padding Bytes

Number of bytes added to DFDF59 value to force its length to a multiple of 8 bytes for TDES, or 16 bytes for AES.

B

R

/FE

Var

VAS Data Container

See Table 25 – VAS Data Container Payload

T

O

/FF40

Var

Fleet Data Container (Common Kernel Only)

See Table 4.5 9 – Fleet Data Container Payload

T

O

Table - EMV ARQC (DynaPro Format) Type

Tag

Len

Value / Description

Typ

Req

Default

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).

The device encrypts the value inside the Encrypted Data Primitive container using the Encrypted Transaction Data Encryption Type parameter and working key associated with the keyset number currently active in the device’s configuration. As a requirement for using DUKPT encryption algorithms, the device pads it so the length of its value is a multiple of 8 bytes for TDES, or 16 bytes for AES. The device uses container DFDF58 to report how many bytes of data object DFDF59 are padding. Data object DFDF59 itself is formatted like Table 20 after the host decrypts it.

Table - EMV ARQC (DynaPro Format) DFDF59 Decrypted Contents

Tag

Len

Value / Description

Typ

Req

Default

FC

var

Decrypted Data Container

Inside this container, the device inserts all EMV TLV data objects specified by the setting in Property 1.1.1.1.1.2 EMV ARQC Message Tag List. The remainder of this table shows the basic structure and content of MagTek custom tags. For definitions of all other standard EMV tags that can be included directly under container FC, see EMV 4.3 Book 3.

T

R

/DF29

08

Only if tag DF29 is included in Property 1.1.1.1.1.2 EMV ARQC Message Tag List.

Outcome Parameter Set Byte 1 - Outcome

0x10 = Approved

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

B

O

Table - EMV ARQC (DynaPro Format) DFDF59 Decrypted Contents

Tag

Len

Value / Description

Typ

Req

Default

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

/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

· 0x03 = Disabled

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

· 0x03 = Disabled

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

· 0x03 = Disabled

B

O

Table - EMV ARQC (DynaPro Format) DFDF59 Decrypted Contents

Tag

Len

Value / Description

Typ

Req

Default

//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.

· Bit 0 = MagnePrint Capable Flag

o 0 = Device is not MagnePrint capable

o 1 = Device is MagnePrint capable

· Bits 1 through 3 = Mode

o 0 = Standard MagnePrint

o 1 = Extended MagnePrint

· Bits 4 through 15 = ASIC Revision

· Bit 16 = Reserved

· Bit 17 = Reserved

· Bit 18 = Swipe too slow

· Bit 19 = Swipe too fast

· Bit 20 = Reserved

· Bit 21 = Card swipe direction

o 0 = Forward

o 1 = Reverse Bits 22..31 = Reserved

B

O

//DFDF50

var

MSR KSN Data (MSR Only)

Key Serial Number for the key the host should use to decrypt Encrypted Track 1 Data, Encrypted Track 2 Data, Encrypted Track 3 Data and Encrypted MagnePrint Data.

B

O

//DFDF51

01

MSR Encryption Type (MSR Only)

See section 4.4 Encryption Type 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.

· Bit 0 = MagnePrint Capable Flag

o 0 = Device is not MagnePrint capable

o 1 = Device is MagnePrint capable

· Bits 1 through 3 = Mode

o 0 = Standard MagnePrint

o 1 = Extended MagnePrint

· Bits 4 through 15 = ASIC Revision

B

O

Table - EMV ARQC (DynaPro Format) DFDF59 Decrypted Contents

Tag

Len

Value / Description

Typ

Req

Default

· Bit 16 = Reserved

· Bit 17 = Reserved

· Bit 18 = Swipe too slow

· Bit 19 = Swipe too fast

· Bit 20 = Reserved

· Bit 21 = Card swipe direction

o 0 = Forward

o 1 = Reverse Bits 22..31 = Reserved

//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 section 4.4 Encryption Type for a list of valid values.

B

O

/F5

var

Container for Encrypted PIN Data (Touch Only) Contains ISO PIN Block formatted data in the nested Encrypted PIN Data object, plus supporting information

to decrypt it. The host should use the current PIN DUKPT working key specified in the supporting information.

T

O

//DF71

01

PIN Block Format (Touch Only)

· 0x00 = ISO Format 0

· 0x01 = ISO Format 1

· 0x03 = ISO Format 3

· 0x04 = ISO Format 4

B

O

//99

08

Encrypted PIN Data (Touch Only)

B

O

//DFDF41

var

PIN KSN Data (Touch Only)

B

O

//DFDF42

01

PIN Encryption Type (Touch Only)

See section 4.4 Encryption Type for a list of valid values.

B

O

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

Table - EMV ARQC (DynaPro Format) DFDFDF37 Decrypted Contents

Tag

Len

Value / Description

Typ

Req

Default

FC

var

Decrypted Data Container

Inside this container, if the data is not available for a given selected card data, the tag will still get transmitted with a length of ‘1’ and value = ‘*’.

T

R

/5F20

var

Only if Byte 0 – Bit 0 is set in Property 1.1.2.6.1.1 Selectable Card Data Encryption Enable.

Cardholder Name

an

O

/5A

var

Only if Byte 0 – Bit 1 is set in Property 1.1.2.6.1.1 Selectable Card Data Encryption Enable.

n15/ n16

O

Table - EMV ARQC (DynaPro Format) DFDFDF37 Decrypted Contents

Tag

Len

Value / Description

Typ

Req

Default

Primary Account Number

/5F24

02/

03

Only if Byte 0 – Bit 2 is set in Property 1.1.2.6.1.1 Selectable Card Data Encryption Enable.

Expiration Date, YYMM or YYMMDD

n4/ n6

O

/5F30

02

Only if Byte 0 – Bit 3 is set in Property 1.1.2.6.1.1 Selectable Card Data Encryption Enable.

Service Code

n3

O

/9F1F

var

Only if Byte 0 – Bit 4 is set in Property 1.1.2.6.1.1 Selectable Card Data Encryption Enable.

T1 Discretionary Data

an

O

/9F20

var

Only if Byte 0 – Bit 5 is set in Property 1.1.2.6.1.1 Selectable Card Data Encryption Enable.

T2 Discretionary Data

cn

O

Padding to force DFDFDF37 plus padding to be a multiple of 16 bytes for AES encryption.

Table – EMV ARQC Enhanced DFDF59 Decrypted Contents for EMV Data

Tag

Len

Value / Description

Typ

Req

Default

FC

var

Decrypted Data Container

This contains all EMV TLV data objects specified in

Property 1.1.1.1.1.2 EMV ARQC Message Tag List.

T

R

/FE

Var

VAS Data Container

See Table 25 – 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.

Table – EMV ARQC Enhanced DFDF59 Decrypted Contents for MSR and MagnePrint Data

Tag

Len

Value / Description

Typ

Req

Default

FC

var

Decrypted Data Container

Inside this container, the device inserts all EMV TLV data objects specified by the setting in Property 1.1.1.1.1.2 EMV ARQC Message Tag List. The remainder of this table shows the basic structure and content of MagTek custom tags. For definitions of all other standard EMV tags that can be included directly under container FC, see EMV 4.3 Book 3.

T

R

/9F41

04

Transaction Counter

B

R

Table – EMV ARQC Enhanced DFDF59 Decrypted Contents for MSR and MagnePrint Data

Tag

Len

Value / Description

Typ

Req

Default

Starts at 00000000 each time the device powers up or resets, increments for each transaction.

/DFDF36

01

MSR Track 1 Status

· 0x00 = OK

· 0x01 = Empty

· 0x02 = Error

· 0x03 = Disabled

B

O

/DF41

var

MSR Track 1 Clear Text

AN

O

/DFDF38

01

MSR Track 2 Status

· 0x00 = OK

· 0x01 = Empty

· 0x02 = Error

· 0x03 = Disabled

B

O

/DF42

var

MSR Track 2 Clear Text

AN

O

/DFDF3A

01

MSR Track 3 Status

· 0x00 = OK

· 0x01 = Empty

· 0x02 = Error

· 0x03 = Disabled

B

O

/DF43

var

MSR Track 3 Clear Text

AN

O

/DFDF43

04

MagnePrint Status

The device only includes this if MSR and MagnePrint data are both included in the transaction and the device is configured to encrypt them using the same key, to avoid consuming two DUKPT keys encrypting separate containers. If the device is configured to encrypt MSR and MagnePrint data using different keys, it provides MagnePrint data in the Container for Encrypted MagnePrint Data instead.

· Bit 0 = MagnePrint Capable Flag

o 0 = Device is not MagnePrint capable

o 1 = Device is MagnePrint capable

· Bits 1 through 3 = Mode

o 0 = Standard MagnePrint

o 1 = Extended MagnePrint

· Bits 4 through 15 = ASIC Revision

· Bit 16 = Reserved

· Bit 17 = Reserved

· Bit 18 = Swipe too slow

· Bit 19 = Swipe too fast

· Bit 20 = Reserved

· Bit 21 = Card swipe direction

  • 0 = Forward

  • 1 = Reverse

  • Bits 22..31 = Reserved

B

O

Table – EMV ARQC Enhanced DFDF59 Decrypted Contents for MSR and MagnePrint Data

Tag

Len

Value / Description

Typ

Req

Default

/DF44

var

MagnePrint Data

The device only includes this if MSR and MagnePrint data are both included in the transaction and the device is configured to encrypt them using the same key. The host can use this data in conjunction with Magensa services to determine whether the swiped card is authentic.

B

O

/FE

Var

VAS Data Container

See Table 25 – 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.

Table – EMV ARQC Enhanced DFDF59 Decrypted Contents for MagnePrint Data

Tag

Len

Value / Description

Typ

Req

Default

FC

var

Decrypted Data Container

T

R

/DFDF43

var

MagnePrint Status

The device only includes this when MSR and MagnePrint data are included in the transaction, but the device is configured to encrypt them using a different key.

· Bit 0 = MagnePrint Capable Flag

o 0 = Device is not MagnePrint capable

o 1 = Device is MagnePrint capable

· Bits 1..15 = Product revision & mode

· Bit 16 = Reserved

· Bit 17 = Reserved for noise measurement

· Bit 18 = Swipe too slow

· Bit 19 = Swipe too fast

· Bit 20 = Reserved

· Bit 21 = Card swipe direction

o 0 = Forward

o 1 = Reverse

· Bits 22..31 = Reserved

B

R

/DF44

var

MagnePrint Data

The host can use this data in conjunction with Magensa services to determine whether the swiped card is authentic.

B

R

/DF4B

var

MSR PAN

B

R

/FE

Var

VAS Data Container

See Table 25 – 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.

Table - VAS Data Container Payload

Tag

Len

Value / Description

Typ

Req

Default

/FE

var

VAS Data Container

T

O

//FF01

var

Apple VAS Container Slot 1 Container

B

O

///9F27

var

VAS Data

Up to 128 bytes.

B

O

///9F2A

var

Mobile Token Up to 36 bytes.

B

O

//FF02

var

Apple VAS Container Slot 2 Container

B

O

///9F27

var

VAS Data

Up to 128 bytes.

B

O

///9F2A

var

Mobile Token Up to 36 bytes.

B

O

//FF03

var

Apple VAS Container Slot 3 Container

B

O

///9F27

var

VAS Data

Up to 128 bytes.

B

O

///9F2A

var

Mobile Token Up to 36 bytes.

B

O

//FF04

var

Apple VAS Container Slot 4 Container

B

O

///9F27

var

VAS Data

Up to 128 bytes.

B

O

///9F2A

var

Mobile Token Up to 36 bytes.

B

O

//FF05

var

Apple VAS Container Slot 5 Container

B

O

///9F27

var

VAS Data

Up to 128 bytes.

B

O

///9F2A

var

Mobile Token Up to 36 bytes.

B

O

//FF06

var

Apple VAS Container Slot 6 Container

B

O

///9F27

var

VAS Data

Up to 128 bytes.

B

O

///9F2A

var

Mobile Token Up to 36 bytes.

B

O

//FF41

var

Google Smart Tap Container

B

O

///FF01

var

Collector ID Slot 1 Container

B

O

////DF7B

var

Service Response NDEF Record

B

O

///FF02

var

Collector ID Slot 2 Container

B

O

////DF7B

var

Service Response NDEF Record

B

O

Table – VAS Data Container Payload

Tag

Len

Value / Description

Typ

Req

Default

///FF03

var

Collector ID Slot 3 Container

B

O

////DF7B

var

Service Response NDEF Record

B

O

///FF04

var

Collector ID Slot 4 Container

B

O

////DF7B

var

Service Response NDEF Record

B

O

///FF05

var

Collector ID Slot 5 Container

B

O

////DF7B

var

Service Response NDEF Record

B

O

///FF06

var

Collector ID Slot 6 Container

B

O

////DF7B

var

Service Response NDEF Record

B

O

Table – Fleet Data Container Payload (Common Kernel Only)

Tag

Len

Value / Description

Typ

Req

Default

/FF40

var

Fleet Data Container

T

O

//DF30

var

Prompting

B

O

//DF32

var

Purchase Restrictions

B

O

//DF33

var

B

O

//DF34

var

Chip Offline purchase Restrictions for Fuel

B

O

//DF35

var

Chip Offline purchase Restrictions for Non-fuel

B

O

//DF36

var

Relationship Codes

B

O

//DF37

var

3rd Party Reference Data Generation 2

B

O

//DF38

var

Loyalty ID

B

O

//DF39

var

Purchase Device Sequence Number

B

O

//DF40

var

Generic Tag

B

O

//DF41

var

Vehicle/Trailer Number

B

O

//DF42

var

Vehicle Tag

B

O

//DF43

var

Driver ID

B

O

//DF44

var

Driver’s License Number

B

O

//DF45

var

Driver’s License State/Province Abbreviation

B

O

//DF46

var

Driver’s License Name Abbreviation

B

O

//DF47

var

Date of Birth

B

O

//DF48

var

Zip/Postal Code

B

O

//DF49 –

//DF51

var

IFSR Reserved for Future Use

B

O

//DF52

var

Trailer Number

B

O

Table – Fleet Data Container Payload (Common Kernel Only)

Tag

Len

Value / Description

Typ

Req

Default

//DF53

var

Employee Number

B

O

//DF54

var

Work Order / Purchase Order Number

B

O

//DF55

var

Additional Prompted Data 1

B

O

//DF56

var

Additional Prompted Data 2

B

O

//DF57

var

Proprietary Data

B

O

//9F5A

var

B

O

//9F0A

var

ASRPD

B

O

//9F6E

var

M/C Fleet

B

O

//9FD4

var

B

O

//9F50

var

B

O

Last updated