The following illustration shows the EFT-RTI process flow:
Interacting with the EFT-RTI DLL
As the POS, you will be responsible for sending a well formed EftRequest xml message to EFT-RTI based on what the server wants to do, whether that be a SALE, a VOID or something else.
You will be provided with the EFT-RTI.dll, typically installed at C:\EFT-RTI.
The dll is written with .Net Framework 3.5; make sure it is installed and enabled on your machine or it will not run.
https://dotnet.microsoft.com/download/dotnet-framework/net35-sp1
A function public string DoAction(string xml) is provided in the dll that you are expected to call when you send the EftRequest xml message. It has a return type of string, which will be the EftAnswer xml message that will be response.
Field Definitions
| Legend |
| A | Alphanumeric Format |
| N | Number Format |
| D | Date Format (yyyy-mm-dd) |
| M | Monetary or Decimal Format |
These settings can be entered into the properties.ini configuration file under the [Additional Settings] section. Optionally this can be passed through by the XML request from the POS as well.
Additional Settings
| Setting |
Description |
| mappingMode | 0 - (Default) When set to 0, no changes are made to EMVPREAUTH, EMVFINALIZE, EMVVOIDPREAUTH and EMVVOIDFINALIZE requests.
1 - When set to 1, requests from POS are mapped to the following when sent to the pinpad: EMVPREAUTH mapped to EMVSALE EMVFINALIZE mapped to EMVMODIFYTIPS EMVVOIDPREAUTH mapped to EMVVOIDSALE EMVVOIDFINALIZE mapped to EMVMODIFYTIPS |
| enableDatadogUpload | 0 - When set to 0, no logs are uploaded to datadog. If unset in the properties.ini file, it is considered set to 0.
1 - When set to 1, logs are uploaded to datadog |
Changes on How the EftRequest XML is Processed
For EMVPREAUTH → EMVSALE, EMVFINALIZE → EMVMODIFYTIPS, and EMVVOIDPREAUTH → EMVVOIDSALE, all the request values can be mapped easily using the existing values.
For EMVVOIDFINALIZE → EMVMODIFYTIPS the only difference when processing this is that the tip amount will be set to 0 instead of being calculated using the PreAmount and Amount provided in the EftRequest.
Changes on How the EftAnswer XML is Processed
The following xml tags are examples of how the response xml parameters are changed when they are sent to the pos. Any tags that are not listed are not changed during the mapping.
EMVPREAUTH → EMVSALE
| EFTAnswer Tag | From | To |
| type | emvpreauth | emvsale |
EMVFINALIZE → EMVMODIFYTIPS
| EFTAnswer Tag | From | To |
| type | emvfinalize | emvmodifytips |
| refno | The reference number of the finalize transaction | The original reference number that was sent in the EFTRequest XML |
EMVVOIDPREAUTH → EMVVOIDSALE
| EFTAnswer Tag | From | To |
| type | emvvoidpreauth | emvvoidsale |
EMVVOIDFINALIZE → EMVMODIFYTIPS
| EFTAnswer Tag | From | To |
| type | emvvoidfinalize | emvmodifytips |
| refno | The reference number of the void finalize transaction | The original reference number that was sent in the EFTRequest XML |
EMVSALE
Request
XML
<EftRequest>
<Transaction>
<Type>emvsale</Type>
<Id>00100265001</Id>
<Merchant/>
<Employe>1</Employe>
<Invoice>100265</Invoice>
<PaymentNumber>1</PaymentNumber>
<AskForTip>yes</AskForTip>
<Identity/>
<Amount>1059.27</Amount>
<Terminal>03</Terminal>
<POSVer>POS version string</POSVer>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************0119</MaskedFolio>
<Authorization />
<CardType>VISA</CardType>
<Id>00100511001</Id>
<Type>emvsale</Type>
<Amount>10.00</Amount>
<Forced>Yes</Forced>
<RefNo>51</RefNo>
<CardholderName>Name</CardholderName>
<ProfileId>bb61816a-3537-427d-b2a3-817f623691ab</ProfileId>
<Ticket>
<InvoiceNo>100511</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>INTEGRATION - TPV</Line01>
<Line02>534, RUE NOTRE-DAME, SUITE 101</Line02>
<Line03>REPENTIGNY QC J6A2T8</Line03>
<Line04>PAX A920 0821257003</Line04>
<Line05 />
<Line06>ID terminal: 22716024</Line06>
<Line07>Facture: 000000100511</Line07>
<Line08>Séquence: 51</Line08>
<Line09>Carte XXXX0119</Line09>
<Line10>CREDIT/VISA D</Line10>
<Line11>2020/05/06 16:32:22</Line11>
<Line12 />
<Line13>VENTE</Line13>
<Line14>TOTAL: $10,00</Line14>
<Line15>AUTO#:063473 Lot:0007</Line15>
<Line16>HTS: 20200506163218</Line16>
<Line17>TRANSACTION APPROVED - 000</Line17>
<Line18 />
<Line19>MERCI</Line19>
<Line20>VERIFIE PAR NIP</Line20>
<Line21>Visa Credit</Line21>
<Line22>AID: A0000000031010</Line22>
<Line23>TVR: 0080008000</Line23>
<Line24>TSI: E800</Line24>
<Line25 />
<Line26>Ver: PF_PAYDROID_104</Line26>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100511</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>INTEGRATION - TPV</SecondLine01>
<SecondLine02>534, RUE NOTRE-DAME, SUITE 101</SecondLine02>
<SecondLine03>REPENTIGNY QC J6A2T8</SecondLine03>
<SecondLine04>PAX A920 0821257003</SecondLine04>
<SecondLine05 />
<SecondLine06>ID terminal: 22716024</SecondLine06>
<SecondLine07>Facture: 000000100511</SecondLine07>
<SecondLine08>Séquence: 51</SecondLine08>
<SecondLine09>Carte XXXX0119</SecondLine09>
<SecondLine10>CREDIT/VISA D</SecondLine10>
<SecondLine11>2020/05/06 16:32:22</SecondLine11>
<SecondLine12 />
<SecondLine13>VENTE</SecondLine13>
<SecondLine14>TOTAL: $10,00</SecondLine14>
<SecondLine15>AUTO#:063473 Lot:0007</SecondLine15>
<SecondLine16>HTS: 20200506163218</SecondLine16>
<SecondLine17>TRANSACTION APPROVED - 000</SecondLine17>
<SecondLine18 />
<SecondLine19>MERCI</SecondLine19>
<SecondLine20>VERIFIE PAR NIP</SecondLine20>
<SecondLine21>Visa Credit</SecondLine21>
<SecondLine22>AID: A0000000031010</SecondLine22>
<SecondLine23>TVR: 0080008000</SecondLine23>
<SecondLine24>TSI: E800</SecondLine24>
<SecondLine25 />
<SecondLine26>Ver: PF_PAYDROID_104</SecondLine26>
</SecondTicket>
</EftAnswer>
EMVRETURN
Request
XML
<EftRequest>
<Transaction>
<Type>emvreturn</Type>
<Id>00100266001</Id>
<Merchant/>
<Employe>1</Employe>
<Invoice>100266</Invoice>
<PaymentNumber>1</PaymentNumber>
<Identity/>
<Amount>1059.27</Amount>
<Terminal>03</Terminal>
<POSVer>POS version string</POSVer>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************0119</MaskedFolio>
<Authorization />
<CardType>VISA</CardType>
<Id>00100511001</Id>
<Type>emvreturn</Type>
<Forced>Yes</Forced>
<RefNo>52</RefNo>
<CardholderName>Name</CardholderName>
<ProfileId>bb61816a-3537-427d-b2a3-817f623691ab</ProfileId>
<Ticket>
<InvoiceNo>100511</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>INTEGRATION - TPV</Line01>
<Line02>534, RUE NOTRE-DAME, SUITE 101</Line02>
<Line03>REPENTIGNY QC J6A2T8</Line03>
<Line04>PAX A920 0821257003</Line04>
<Line05 />
<Line06>ID terminal: 22716024</Line06>
<Line07>Facture: 000000100511</Line07>
<Line08>Séquence: 52</Line08>
<Line09>Carte XXXX0119</Line09>
<Line10>CREDIT/VISA D</Line10>
<Line11>2020/05/06 16:34:45</Line11>
<Line12 />
<Line13>REMBOURSER</Line13>
<Line14>TOTAL: $10,00</Line14>
<Line15>AUTO#:013454 Lot:0007</Line15>
<Line16>HTS: 20200506163441</Line16>
<Line17>TRANSACTION APPROVED - 000</Line17>
<Line18 />
<Line19>MERCI</Line19>
<Line20>VERIFIE PAR NIP</Line20>
<Line21>Visa Credit</Line21>
<Line22>AID: A0000000031010</Line22>
<Line23>TVR: 0080008000</Line23>
<Line24>TSI: E800</Line24>
<Line25 />
<Line26>Ver: PF_PAYDROID_104</Line26>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100511</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>INTEGRATION - TPV</SecondLine01>
<SecondLine02>534, RUE NOTRE-DAME, SUITE 101</SecondLine02>
<SecondLine03>REPENTIGNY QC J6A2T8</SecondLine03>
<SecondLine04>PAX A920 0821257003</SecondLine04>
<SecondLine05 />
<SecondLine06>ID terminal: 22716024</SecondLine06>
<SecondLine07>Facture: 000000100511</SecondLine07>
<SecondLine08>Séquence: 52</SecondLine08>
<SecondLine09>Carte XXXX0119</SecondLine09>
<SecondLine10>CREDIT/VISA D</SecondLine10>
<SecondLine11>2020/05/06 16:34:45</SecondLine11>
<SecondLine12 />
<SecondLine13>REMBOURSER</SecondLine13>
<SecondLine14>TOTAL: $10,00</SecondLine14>
<SecondLine15>AUTO#:013454 Lot:0007</SecondLine15>
<SecondLine16>HTS: 20200506163441</SecondLine16>
<SecondLine17>TRANSACTION APPROVED - 000</SecondLine17>
<SecondLine18 />
<SecondLine19>MERCI</SecondLine19>
<SecondLine20>VERIFIE PAR NIP</SecondLine20>
<SecondLine21>Visa Credit</SecondLine21>
<SecondLine22>AID: A0000000031010</SecondLine22>
<SecondLine23>TVR: 0080008000</SecondLine23>
<SecondLine24>TSI: E800</SecondLine24>
<SecondLine25 />
<SecondLine26>Ver: PF_PAYDROID_104</SecondLine26>
</SecondTicket>
</EftAnswer>
EMVPREAUTH
Request
XML
<EftRequest>
<Transaction>
<Type>emvpreauth</Type>
<Id>00100228001</Id>
<Merchant/>
<Employe>1</Employe>
<Invoice>100228</Invoice>
<PaymentNumber>1</PaymentNumber>
<Identity>001</Identity>
<Amount>15.84</Amount>
<Terminal>03</Terminal>
<PreauthGift>1</PreauthGift>
<POSVer>POS version string</POSVer>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************4111</MaskedFolio>
<Authorization />
<CardType>MASTERCARD</CardType>
<Id>00100228001</Id>
<Type>emvpreauth</Type>
<Forced>Yes</Forced>
<RefNo>286</RefNo>
<TokenData>xxx</TokenData>
<CardholderName>Name</CardholderName>
<ProfileId>bb61816a-3537-427d-b2a3-817f623691ab</ProfileId>
<Ticket>
<InvoiceNo>100228</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>MID: 144500</Line01>
<Line02>INV#: 100228</Line02>
<Line03>Sequence: 286</Line03>
<Line04>SERVER ID: 1</Line04>
<Line05>Device SN: 90914661</Line05>
<Line06>Ref#: 012015716667</Line06>
<Line07>CARD ***********4111</Line07>
<Line08>MASTERCARD Chip</Line08>
<Line09 />
<Line10>Ref#: 012015716667</Line10>
<Line11>2020-04-29 13:01:50</Line11>
<Line12>------------------------------------</Line12>
<Line13>Pre-Auth</Line13>
<Line14>PIN VERIFIED</Line14>
<Line15>AMOUNT $15.84</Line15>
<Line16>TIP</Line16>
<Line17>_______________</Line17>
<Line18>TOTAL</Line18>
<Line19>_______________</Line19>
<Line20>------------------------------------</Line20>
<Line21>AUTH#: 004760</Line21>
<Line22>Batch: 572118</Line22>
<Line23 />
<Line24>Transaction</Line24>
<Line25>APPROVAL</Line25>
<Line26 />
<Line27>MasterCard</Line27>
<Line28>AID: A0000000041010</Line28>
<Line29>TVR: 0400008000</Line29>
<Line30>TSI: E800</Line30>
<Line31>I AGREE TO PAY ABOVE TOTAL</Line31>
<Line32>AMOUNT ACCORDING TO CARD ISSUER</Line32>
<Line33>AGREEMENT</Line33>
<Line34 />
<Line35 />
<Line36>X___________________________</Line36>
<Line37>CUSTOMER COPY</Line37>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100228</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>MID: 144500</SecondLine01>
<SecondLine02>INV#: 100228</SecondLine02>
<SecondLine03>Sequence: 286</SecondLine03>
<SecondLine04>SERVER ID: 1</SecondLine04>
<SecondLine05>Device SN: 90914661</SecondLine05>
<SecondLine06>Ref#: 012015716667</SecondLine06>
<SecondLine07>CARD ***********4111</SecondLine07>
<SecondLine08>MASTERCARD Chip</SecondLine08>
<SecondLine09 />
<SecondLine10>Ref#: 012015716667</SecondLine10>
<SecondLine11>2020-04-29 13:01:50</SecondLine11>
<SecondLine12>------------------------------------</SecondLine12>
<SecondLine13>Pre-Auth</SecondLine13>
<SecondLine14>PIN VERIFIED</SecondLine14>
<SecondLine15>AMOUNT $15.84</SecondLine15>
<SecondLine16>TIP</SecondLine16>
<SecondLine17>_______________</SecondLine17>
<SecondLine18>TOTAL</SecondLine18>
<SecondLine19>_______________</SecondLine19>
<SecondLine20>------------------------------------</SecondLine20>
<SecondLine21>AUTH#: 004760</SecondLine21>
<SecondLine22>Batch: 572118</SecondLine22>
<SecondLine23 />
<SecondLine24>Transaction</SecondLine24>
<SecondLine25>APPROVAL</SecondLine25>
<SecondLine26 />
<SecondLine27>MasterCard</SecondLine27>
<SecondLine28>AID: A0000000041010</SecondLine28>
<SecondLine29>TVR: 0400008000</SecondLine29>
<SecondLine30>TSI: E800</SecondLine30>
<SecondLine31>I AGREE TO PAY ABOVE TOTAL</SecondLine31>
<SecondLine32>AMOUNT ACCORDING TO CARD ISSUER</SecondLine32>
<SecondLine33>AGREEMENT</SecondLine33>
<SecondLine34 />
<SecondLine35 />
<SecondLine36>X___________________________</SecondLine36>
<SecondLine37>MERCHANT COPY</SecondLine37>
</SecondTicket>
</EftAnswer>
EMVFINALIZE
Request
XML
<EftRequest>
<Transaction>
<Type>emvfinalize</Type>
<Id>00100228001</Id>
<Merchant/>
<Employe>1</Employe>
<Invoice>100228</Invoice>
<PaymentNumber>1</PaymentNumber>
<Identity>001</Identity>
<Authorization/>
<RefNo>286</RefNo>
<RefData/>
<TokenData>xxx</TokenData>
<Amount>16.00</Amount>
<PreAmount>15.84</PreAmount>
<OriginalAmount>15.84</OriginalAmount>
<Terminal>03</Terminal>
<POSVer>POS version string</POSVer>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************3511</MaskedFolio>
<Authorization />
<CardType>MASTERCARD</CardType>
<Id>00100328001</Id>
<Type>emvfinalize</Type>
<Forced>Yes</Forced>
<RefNo>401</RefNo>
<TokenData>xxx</TokenData>
<CardholderName>Name</CardholderName>
<ProfileId>bb61816a-3537-427d-b2a3-817f623691ab</ProfileId>
<Ticket>
<InvoiceNo>100328</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>MID: 144500</Line01>
<Line02>INV#: 100328</Line02>
<Line03>Sequence: 401</Line03>
<Line04>SERVER ID: 1</Line04>
<Line05>Device ID: 90914661</Line05>
<Line06>CARD ***********3511</Line06>
<Line07>MASTERCARD Manual</Line07>
<Line08 />
<Line09>2020-05-20 14:55:07</Line09>
<Line10>------------------------------------</Line10>
<Line11>Post-Auth</Line11>
<Line12>AMOUNT $9.00</Line12>
<Line13>TIP $41.00</Line13>
<Line14>TOTAL $50.00</Line14>
<Line15>------------------------------------</Line15>
<Line16>Batch: 572118</Line16>
<Line17 />
<Line18>Response: Success</Line18>
<Line19 />
<Line20>CUSTOMER COPY</Line20>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100328</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>MID: 144500</SecondLine01>
<SecondLine02>INV#: 100328</SecondLine02>
<SecondLine03>Sequence: 401</SecondLine03>
<SecondLine04>SERVER ID: 1</SecondLine04>
<SecondLine05>Device ID: 90914661</SecondLine05>
<SecondLine06>CARD ***********3511</SecondLine06>
<SecondLine07>MASTERCARD Manual</SecondLine07>
<SecondLine08 />
<SecondLine09>2020-05-20 14:55:07</SecondLine09>
<SecondLine10>------------------------------------</SecondLine10>
<SecondLine11>Post-Auth</SecondLine11>
<SecondLine12>AMOUNT $9.00</SecondLine12>
<SecondLine13>TIP $41.00</SecondLine13>
<SecondLine14>TOTAL $50.00</SecondLine14>
<SecondLine15>------------------------------------</SecondLine15>
<SecondLine16>Batch: 572118</SecondLine16>
<SecondLine17 />
<SecondLine18>Response: Success</SecondLine18>
<SecondLine19 />
<SecondLine20>MERCHANT COPY</SecondLine20>
</SecondTicket>
</EftAnswer>
EMVMODIFYTIPS
Request
XML
<EftRequest>
<Transaction>
<Type>emvmodifytips</Type>
<Id>00100307003</Id>
<Merchant/>
<Employe>1</Employe>
<Invoice>100307</Invoice>
<PaymentNumber>3</PaymentNumber>
<Identity>001</Identity>
<Authorization/>
<RefNo>389</RefNo>
<RefData/>
<Amount>10.00</Amount>
<PreAmount>6.50</PreAmount>
<OriginalAmount>6.50</OriginalAmount>
<Terminal>03</Terminal>
<POSVer>POS version string</POSVer>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************3511</MaskedFolio>
<Authorization />
<CardType>MASTERCARD</CardType>
<Id>00100329001</Id>
<Type>emvmodifytips</Type>
<Forced>Yes</Forced>
<RefNo>407</RefNo>
<CardholderName>Name</CardholderName>
<Ticket>
<InvoiceNo>100329</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>MID: 144500</Line01>
<Line02>INV#: 100329</Line02>
<Line03>Sequence: 407</Line03>
<Line04>SERVER ID: 1</Line04>
<Line05>Device ID: 90914661</Line05>
<Line06>Ref#: 014116207085</Line06>
<Line07>CARD ***********3511</Line07>
<Line08>MASTERCARD TAP</Line08>
<Line09 />
<Line10>2020-05-20 15:22:10</Line10>
<Line11>------------------------------------</Line11>
<Line12>Tip Adjust</Line12>
<Line13>AMOUNT $9.00</Line13>
<Line14>TIP $1.00</Line14>
<Line15>TOTAL $10.00</Line15>
<Line16>------------------------------------</Line16>
<Line17>AUTH#: 003280</Line17>
<Line18>Batch: 572118</Line18>
<Line19 />
<Line20>Response: Success</Line20>
<Line21 />
<Line22>CUSTOMER COPY</Line22>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100329</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>MID: 144500</SecondLine01>
<SecondLine02>INV#: 100329</SecondLine02>
<SecondLine03>Sequence: 407</SecondLine03>
<SecondLine04>SERVER ID: 1</SecondLine04>
<SecondLine05>Device ID: 90914661</SecondLine05>
<SecondLine06>Ref#: 014116207085</SecondLine06>
<SecondLine07>CARD ***********3511</SecondLine07>
<SecondLine08>MASTERCARD TAP</SecondLine08>
<SecondLine09 />
<SecondLine10>2020-05-20 15:22:10</SecondLine10>
<SecondLine11>------------------------------------</SecondLine11>
<SecondLine12>Tip Adjust</SecondLine12>
<SecondLine13>AMOUNT $9.00</SecondLine13>
<SecondLine14>TIP $1.00</SecondLine14>
<SecondLine15>TOTAL $10.00</SecondLine15>
<SecondLine16>------------------------------------</SecondLine16>
<SecondLine17>AUTH#: 003280</SecondLine17>
<SecondLine18>Batch: 572118</SecondLine18>
<SecondLine19 />
<SecondLine20>Response: Success</SecondLine20>
<SecondLine21 />
<SecondLine22>MERCHANT COPY</SecondLine22>
</SecondTicket>
</EftAnswer>
EMVADJUSTPREAUTH
Request
XML
<EftRequest>
<Transaction>
<Type>emvadjustpreauth</Type>
<id>00100228001</id>
<Merchant/>
<Employe>1</Employe>
<Invoice>100228</Invoice>
<PaymentNumber>1</PaymentNumber>
<Identity>001</Identity>
<Amount>15.84</Amount>
<RefNo>286</RefNo>
<TokenData>xxx</TokenData>
<Terminal>03</Terminal>
<POSVer>POS version string</POSVer>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************4111</MaskedFolio>
<Authorization />
<CardType>MASTERCARD</CardType>
<Id>00100228001</Id>
<Type>emvadjustpreauth</Type>
<Forced>Yes</Forced>
<RefNo>286</RefNo>
<TokenData>xxx</TokenData>
<CardholderName>Name</CardholderName>
<Ticket>
<InvoiceNo>100228</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>MID: 144500</Line01>
<Line02>INV#: 100228</Line02>
<Line03>Sequence: 286</Line03>
<Line04>SERVER ID: 1</Line04>
<Line05>Device SN: 90914661</Line05>
<Line06>Ref#: 012015716667</Line06>
<Line07>CARD ***********4111</Line07>
<Line08>MASTERCARD Chip</Line08>
<Line09 />
<Line10>Ref#: 012015716667</Line10>
<Line11>2020-04-29 13:01:50</Line11>
<Line12>------------------------------------</Line12>
<Line13>Pre-Auth</Line13>
<Line14>PIN VERIFIED</Line14>
<Line15>AMOUNT $15.84</Line15>
<Line16>TIP</Line16>
<Line17>_______________</Line17>
<Line18>TOTAL</Line18>
<Line19>_______________</Line19>
<Line20>------------------------------------</Line20>
<Line21>AUTH#: 004760</Line21>
<Line22>Batch: 572118</Line22>
<Line23 />
<Line24>Transaction</Line24>
<Line25>APPROVAL</Line25>
<Line26 />
<Line27>MasterCard</Line27>
<Line28>AID: A0000000041010</Line28>
<Line29>TVR: 0400008000</Line29>
<Line30>TSI: E800</Line30>
<Line31>I AGREE TO PAY ABOVE TOTAL</Line31>
<Line32>AMOUNT ACCORDING TO CARD ISSUER</Line32>
<Line33>AGREEMENT</Line33>
<Line34 />
<Line35 />
<Line36>X___________________________</Line36>
<Line37>CUSTOMER COPY</Line37>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100228</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>MID: 144500</SecondLine01>
<SecondLine02>INV#: 100228</SecondLine02>
<SecondLine03>Sequence: 286</SecondLine03>
<SecondLine04>SERVER ID: 1</SecondLine04>
<SecondLine05>Device SN: 90914661</SecondLine05>
<SecondLine06>Ref#: 012015716667</SecondLine06>
<SecondLine07>CARD ***********4111</SecondLine07>
<SecondLine08>MASTERCARD Chip</SecondLine08>
<SecondLine09 />
<SecondLine10>Ref#: 012015716667</SecondLine10>
<SecondLine11>2020-04-29 13:01:50</SecondLine11>
<SecondLine12>------------------------------------</SecondLine12>
<SecondLine13>Pre-Auth</SecondLine13>
<SecondLine14>PIN VERIFIED</SecondLine14>
<SecondLine15>AMOUNT $15.84</SecondLine15>
<SecondLine16>TIP</SecondLine16>
<SecondLine17>_______________</SecondLine17>
<SecondLine18>TOTAL</SecondLine18>
<SecondLine19>_______________</SecondLine19>
<SecondLine20>------------------------------------</SecondLine20>
<SecondLine21>AUTH#: 004760</SecondLine21>
<SecondLine22>Batch: 572118</SecondLine22>
<SecondLine23 />
<SecondLine24>Transaction</SecondLine24>
<SecondLine25>APPROVAL</SecondLine25>
<SecondLine26 />
<SecondLine27>MasterCard</SecondLine27>
<SecondLine28>AID: A0000000041010</SecondLine28>
<SecondLine29>TVR: 0400008000</SecondLine29>
<SecondLine30>TSI: E800</SecondLine30>
<SecondLine31>I AGREE TO PAY ABOVE TOTAL</SecondLine31>
<SecondLine32>AMOUNT ACCORDING TO CARD ISSUER</SecondLine32>
<SecondLine33>AGREEMENT</SecondLine33>
<SecondLine34 />
<SecondLine35 />
<SecondLine36>X___________________________</SecondLine36>
<SecondLine37>MERCHANT COPY</SecondLine37>
</SecondTicket>
</EftAnswer>
EMVADJUSTFINALIZE
Request
XML
<EftRequest>
<Transaction>
<Type>emvadjustfinalize</Type>
<id>00100228001</id>
<Merchant/>
<Employe>1</Employe>
<Invoice>100228</Invoice>
<PaymentNumber>1</PaymentNumber>
<Identity>001</Identity>
<Amount>15.84</Amount>
<RefNo>287</RefNo>
<TokenData>xxx</TokenData>
<Terminal>03</Terminal>
<POSVer>POS version string</POSVer>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************3511</MaskedFolio>
<Authorization />
<CardType>MASTERCARD</CardType>
<Id>00100328001</Id>
<Type>emvadjustfinalize</Type>
<Forced>Yes</Forced>
<RefNo>401</RefNo>
<TokenData>xxx</TokenData>
<CardholderName>Name</CardholderName>
<Ticket>
<InvoiceNo>100328</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>MID: 144500</Line01>
<Line02>INV#: 100328</Line02>
<Line03>Sequence: 401</Line03>
<Line04>SERVER ID: 1</Line04>
<Line05>Device ID: 90914661</Line05>
<Line06>CARD ***********3511</Line06>
<Line07>MASTERCARD Manual</Line07>
<Line08 />
<Line09>2020-05-20 14:55:07</Line09>
<Line10>------------------------------------</Line10>
<Line11>Post-Auth</Line11>
<Line12>AMOUNT $9.00</Line12>
<Line13>TIP $41.00</Line13>
<Line14>TOTAL $50.00</Line14>
<Line15>------------------------------------</Line15>
<Line16>Batch: 572118</Line16>
<Line17 />
<Line18>Response: Success</Line18>
<Line19 />
<Line20>CUSTOMER COPY</Line20>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100328</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>MID: 144500</SecondLine01>
<SecondLine02>INV#: 100328</SecondLine02>
<SecondLine03>Sequence: 401</SecondLine03>
<SecondLine04>SERVER ID: 1</SecondLine04>
<SecondLine05>Device ID: 90914661</SecondLine05>
<SecondLine06>CARD ***********3511</SecondLine06>
<SecondLine07>MASTERCARD Manual</SecondLine07>
<SecondLine08 />
<SecondLine09>2020-05-20 14:55:07</SecondLine09>
<SecondLine10>------------------------------------</SecondLine10>
<SecondLine11>Post-Auth</SecondLine11>
<SecondLine12>AMOUNT $9.00</SecondLine12>
<SecondLine13>TIP $41.00</SecondLine13>
<SecondLine14>TOTAL $50.00</SecondLine14>
<SecondLine15>------------------------------------</SecondLine15>
<SecondLine16>Batch: 572118</SecondLine16>
<SecondLine17 />
<SecondLine18>Response: Success</SecondLine18>
<SecondLine19 />
<SecondLine20>MERCHANT COPY</SecondLine20>
</SecondTicket>
</EftAnswer>
EMVVOIDSALE
Request
XML
<EftRequest>
<Transaction>
<Type>emvvoidsale</Type>
<Id>00100187001</Id>
<Merchant/>
<Employe>1</Employe>
<Invoice>100187</Invoice>
<PaymentNumber>1</PaymentNumber>
<AskForTip>no</AskForTip>
<Identity/>
<Amount>102.00</Amount>
<Authorization/>
<RefNo>000000100187</RefNo>
<RefData/>
<Terminal>03</Terminal>
<POSVer>POS version string</POSVer>
<Gift>False</Gift>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************4111</MaskedFolio>
<CardType>MASTERCARD</CardType>
<Id>00100606001</Id>
<Type>emvvoidsale</Type>
<Forced>Yes</Forced>
<RefNo>111</RefNo>
<ProfileId>bb61816a-3537-427d-b2a3-817f623691ab</ProfileId>
<Ticket>
<InvoiceNo>100606</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>CT PAYMENT DEMO</Line01>
<Line02>534 NOTRE-DAME ST -SUITE 101</Line02>
<Line03>REPENTIGNY QC L4W4X6</Line03>
<Line04>PAX S920 Testing 105</Line04>
<Line05 />
<Line06>ID terminal: STP00020</Line06>
<Line07>Facture: 000000100606</Line07>
<Line08>Séquence: 112</Line08>
<Line09>Carte XXXX4111</Line09>
<Line10>CREDIT/MASTERCARD D</Line10>
<Line11>2020/06/10 15:30:22</Line11>
<Line12 />
<Line13>VENTE ANNULATION</Line13>
<Line14>TOTAL: $9,00</Line14>
<Line15>AUTO#:652086 Lot #:0001</Line15>
<Line16>HTS: 20200610153022</Line16>
<Line17>TRANSACTION APPROVEE - 000</Line17>
<Line18 />
<Line19>MERCI</Line19>
<Line20>MasterCard</Line20>
<Line21>AID: A0000000041010</Line21>
<Line22>ARQC: 424189AE78EE7443</Line22>
<Line23>TVR: 0000008000</Line23>
<Line24>TSI: E800</Line24>
<Line25 />
<Line26>Ver: PF_PAYDROID_106</Line26>
<Line27>COPIE CLIENT</Line27>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100606</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>CT PAYMENT DEMO</SecondLine01>
<SecondLine02>534 NOTRE-DAME ST -SUITE 101</SecondLine02>
<SecondLine03>REPENTIGNY QC L4W4X6</SecondLine03>
<SecondLine04>PAX S920 Testing 105</SecondLine04>
<SecondLine05 />
<SecondLine06>ID terminal: STP00020</SecondLine06>
<SecondLine07>Facture: 000000100606</SecondLine07>
<SecondLine08>Séquence: 112</SecondLine08>
<SecondLine09>Carte XXXX4111</SecondLine09>
<SecondLine10>CREDIT/MASTERCARD D</SecondLine10>
<SecondLine11>2020/06/10 15:30:22</SecondLine11>
<SecondLine12 />
<SecondLine13>VENTE ANNULATION</SecondLine13>
<SecondLine14>TOTAL: $9,00</SecondLine14>
<SecondLine15>AUTO#:652086 Lot #:0001</SecondLine15>
<SecondLine16>HTS: 20200610153022</SecondLine16>
<SecondLine17>TRANSACTION APPROVEE - 000</SecondLine17>
<SecondLine18 />
<SecondLine19>MERCI</SecondLine19>
<SecondLine20>MasterCard</SecondLine20>
<SecondLine21>AID: A0000000041010</SecondLine21>
<SecondLine22>ARQC: 424189AE78EE7443</SecondLine22>
<SecondLine23>TVR: 0000008000</SecondLine23>
<SecondLine24>TSI: E800</SecondLine24>
<SecondLine25 />
<SecondLine26>Ver: PF_PAYDROID_106</SecondLine26>
<SecondLine27>COPIE MARCHAND</SecondLine27>
</SecondTicket>
</EftAnswer>
EMVVOIDRETURN
Request
XML
<EftRequest>
<Transaction>
<Type>emvvoidreturn</Type>
<Id>00100668001</Id>
<Merchant/>
<Employe>1</Employe>
<Invoice>100668</Invoice>
<PaymentNumber>1</PaymentNumber>
<AskForTip>no</AskForTip>
<Identity/>
<Amount>-3.00</Amount>
<Authorization/>
<RefNo>000000100668</RefNo>
<RefData/>
<Terminal>03</Terminal>
<POSVer>POS version string</POSVer>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************1933</MaskedFolio>
<Authorization />
<CardType>DEBIT</CardType>
<Id>00100252001</Id>
<Type>emvvoidreturn</Type>
<Forced>Yes</Forced>
<RefNo>787</RefNo>
<CardholderName>Name</CardholderName>
<ProfileId>bb61816a-3537-427d-b2a3-817f623691ab</ProfileId>
<Ticket>
<InvoiceNo>100252</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>CT PAYMENT DEMO</Line01>
<Line02>534 NOTRE-DAME ST -SUITE 101</Line02>
<Line03>REPENTIGNY QC L4W4X6</Line03>
<Line04>PAX S80 Testing V100A XXX</Line04>
<Line05 />
<Line06>Terminal ID: STP00001</Line06>
<Line07>Invoice: 000000100252</Line07>
<Line08>Sequence: 788</Line08>
<Line09>Card XXXX1933</Line09>
<Line10>DEBIT/Interac D</Line10>
<Line11>2020/05/06 15:18:27</Line11>
<Line12 />
<Line13>VOID</Line13>
<Line14>TOTAL: $4.50</Line14>
<Line15>AUTH#:694981 Batch:0013</Line15>
<Line16>HTS: 20200506151828</Line16>
<Line17>TRANSACTION APPROVED - 000</Line17>
<Line18 />
<Line19>Interac</Line19>
<Line20>AID: A0000002771010</Line20>
<Line21>TVR: 80C0008000</Line21>
<Line22>TSI: 6800</Line22>
<Line23 />
<Line24>Ver: PF_PAYDROID_103</Line24>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100252</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>CT PAYMENT DEMO</SecondLine01>
<SecondLine02>534 NOTRE-DAME ST -SUITE 101</SecondLine02>
<SecondLine03>REPENTIGNY QC L4W4X6</SecondLine03>
<SecondLine04>PAX S80 Testing V100A XXX</SecondLine04>
<SecondLine05 />
<SecondLine06>Terminal ID: STP00001</SecondLine06>
<SecondLine07>Invoice: 000000100252</SecondLine07>
<SecondLine08>Sequence: 788</SecondLine08>
<SecondLine09>Card XXXX1933</SecondLine09>
<SecondLine10>DEBIT/Interac D</SecondLine10>
<SecondLine11>2020/05/06 15:18:27</SecondLine11>
<SecondLine12 />
<SecondLine13>VOID</SecondLine13>
<SecondLine14>TOTAL: $4.50</SecondLine14>
<SecondLine15>AUTH#:694981 Batch:0013</SecondLine15>
<SecondLine16>HTS: 20200506151828</SecondLine16>
<SecondLine17>TRANSACTION APPROVED - 000</SecondLine17>
<SecondLine18 />
<SecondLine19>Interac</SecondLine19>
<SecondLine20>AID: A0000002771010</SecondLine20>
<SecondLine21>TVR: 80C0008000</SecondLine21>
<SecondLine22>TSI: 6800</SecondLine22>
<SecondLine23 />
<SecondLine24>Ver: PF_PAYDROID_103</SecondLine24>
</SecondTicket>
</EftAnswer>
EMVVOIDFINALIZE
Request
XML
<EftRequest>
<Transaction>
<Type>emvvoidfinalize</Type>
<id>00100228001</id>
<Merchant/>
<Employe>1</Employe>
<Invoice>100228</Invoice>
<PaymentNumber>1</PaymentNumber>
<AskForTip>no</AskForTip>
<Identity>001</Identity>
<Amount>16.00</Amount>
<Authorization/>
<RefNo>287</RefNo>
<RefData/>
<Terminal>03</Terminal>
<POSVer>POS version string</POSVer>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************0135</MaskedFolio>
<Authorization />
<CardType>VISA</CardType>
<Id>00100355001</Id>
<Type>emvvoidfinalize</Type>
<Forced>Yes</Forced>
<RefNo>458</RefNo>
<CardholderName>Name</CardholderName>
<Ticket>
<InvoiceNo>100355</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>MID: 144500</Line01>
<Line02>INV#: 100355</Line02>
<Line03>Sequence: 458</Line03>
<Line04>SERVER ID: 1</Line04>
<Line05>Device ID: 90914661</Line05>
<Line06>CARD ***********0135</Line06>
<Line07>VISA Manual</Line07>
<Line08 />
<Line09>2020-05-26 13:57:37</Line09>
<Line10>------------------------------------</Line10>
<Line11>Void Post-auth</Line11>
<Line12>TOTAL $10.15</Line12>
<Line13>------------------------------------</Line13>
<Line14>Response: Success</Line14>
<Line15 />
<Line16>Global UID:</Line16>
<Line17>0820620473202005261357192765</Line17>
<Line18>Batch #: 572118</Line18>
<Line19>TC: D0622DA89091A59B</Line19>
<Line20>CUSTOMER COPY</Line20>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100355</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>MID: 144500</SecondLine01>
<SecondLine02>INV#: 100355</SecondLine02>
<SecondLine03>Sequence: 458</SecondLine03>
<SecondLine04>SERVER ID: 1</SecondLine04>
<SecondLine05>Device ID: 90914661</SecondLine05>
<SecondLine06>CARD ***********0135</SecondLine06>
<SecondLine07>VISA Manual</SecondLine07>
<SecondLine08 />
<SecondLine09>2020-05-26 13:57:37</SecondLine09>
<SecondLine10>------------------------------------</SecondLine10>
<SecondLine11>Void Post-auth</SecondLine11>
<SecondLine12>TOTAL $10.15</SecondLine12>
<SecondLine13>------------------------------------</SecondLine13>
<SecondLine14>Response: Success</SecondLine14>
<SecondLine15 />
<SecondLine16>Global UID:</SecondLine16>
<SecondLine17>0820620473202005261357192765</SecondLine17>
<SecondLine18>Batch #: 572118</SecondLine18>
<SecondLine19>TC: D0622DA89091A59B</SecondLine19>
<SecondLine20 />
<SecondLine21 />
<SecondLine22>X___________________________</SecondLine22>
<SecondLine23>MERCHANT COPY</SecondLine23>
</SecondTicket>
</EftAnswer>
PING
Request
XML
<EftRequest>
<Transaction>
<Type>ping</Type>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<Type>ping</Type>
<Forced>Yes</Forced>
</EftAnswer>
CLOSEBATCH
Request
XML
<EftRequest>
<Transaction>
<Type>closebatch</Type>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<Type>closebatch</Type>
<Ticket>
<Line01>Sample report line 1</Line01>
<Line02>Sample report line 2</Line02>
</Ticket>
</EftAnswer>
REPORT
Request
XML
<EftRequest>
<Transaction>
<Type>report</Type>
<ReportType>detail</ReportType>
<!-- <ReportType>summary</ReportType> -->
<!-- <ReportType>last settlement</ReportType> -->
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<Type>report</Type>
<Ticket>
<Line01>Sample report line 1</Line01>
<Line02>Sample report line 2</Line02>
</Ticket>
</EftAnswer>
REPRINT
Request Example 1
XML
<EftRequest>
<Transaction>
<Type>reprint</Type>
<ReprintType>last transaction</ReprintType>
</Transaction>
</EftRequest>
Request Example 2
XML
<EftRequest>
<Transaction>
<Type>reprint</Type>
<ReprintType>invoice</ReprintType>
<Invoice>100228</Invoice>
</Transaction>
</EftRequest>
Request Example 3
XML
<EftRequest>
<Transaction>
<Type>reprint</Type>
<ReprintType>sequence</ReprintType>
<Sequence>1234</Sequence>
</Transaction>
</EftRequest>
Response
XML
<?xml version="1.0" encoding="UTF-8"?>
<EftAnswer Result="SUCCESS">
<MaskedFolio>************0119</MaskedFolio>
<Authorization />
<CardType>VISA</CardType>
<Id>00100511001</Id>
<Type>emvsale</Type>
<Amount>10.00</Amount>
<Forced>Yes</Forced>
<RefNo>51</RefNo>
<CardholderName>Name</CardholderName>
<Ticket>
<InvoiceNo>100511</InvoiceNo>
<PaymentNo>1</PaymentNo>
<Line01>INTEGRATION - TPV</Line01>
<Line02>534, RUE NOTRE-DAME, SUITE 101</Line02>
<Line03>REPENTIGNY QC J6A2T8</Line03>
<Line04>PAX A920 0821257003</Line04>
<Line05 />
<Line06>ID terminal: 22716024</Line06>
<Line07>Facture: 000000100511</Line07>
<Line08>Séquence: 51</Line08>
<Line09>Carte XXXX0119</Line09>
<Line10>CREDIT/VISA D</Line10>
<Line11>2020/05/06 16:32:22</Line11>
<Line12 />
<Line13>VENTE</Line13>
<Line14>TOTAL: $10,00</Line14>
<Line15>AUTO#:063473 Lot:0007</Line15>
<Line16>HTS: 20200506163218</Line16>
<Line17>TRANSACTION APPROVED - 000</Line17>
<Line18 />
<Line19>MERCI</Line19>
<Line20>VERIFIE PAR NIP</Line20>
<Line21>Visa Credit</Line21>
<Line22>AID: A0000000031010</Line22>
<Line23>TVR: 0080008000</Line23>
<Line24>TSI: E800</Line24>
<Line25 />
<Line26>Ver: PF_PAYDROID_104</Line26>
</Ticket>
<SecondTicket>
<SecondInvoiceNo>100511</SecondInvoiceNo>
<SecondPaymentNo>1</SecondPaymentNo>
<SecondLine01>INTEGRATION - TPV</SecondLine01>
<SecondLine02>534, RUE NOTRE-DAME, SUITE 101</SecondLine02>
<SecondLine03>REPENTIGNY QC J6A2T8</SecondLine03>
<SecondLine04>PAX A920 0821257003</SecondLine04>
<SecondLine05 />
<SecondLine06>ID terminal: 22716024</SecondLine06>
<SecondLine07>Facture: 000000100511</SecondLine07>
<SecondLine08>Séquence: 51</SecondLine08>
<SecondLine09>Carte XXXX0119</SecondLine09>
<SecondLine10>CREDIT/VISA D</SecondLine10>
<SecondLine11>2020/05/06 16:32:22</SecondLine11>
<SecondLine12 />
<SecondLine13>VENTE</SecondLine13>
<SecondLine14>TOTAL: $10,00</SecondLine14>
<SecondLine15>AUTO#:063473 Lot:0007</SecondLine15>
<SecondLine16>HTS: 20200506163218</SecondLine16>
<SecondLine17>TRANSACTION APPROVED - 000</SecondLine17>
<SecondLine18 />
<SecondLine19>MERCI</SecondLine19>
<SecondLine20>VERIFIE PAR NIP</SecondLine20>
<SecondLine21>Visa Credit</SecondLine21>
<SecondLine22>AID: A0000000031010</SecondLine22>
<SecondLine23>TVR: 0080008000</SecondLine23>
<SecondLine24>TSI: E800</SecondLine24>
<SecondLine25 />
<SecondLine26>Ver: PF_PAYDROID_104</SecondLine26>
</SecondTicket>
</EftAnswer>