PayFacto API v1.3.9 (STP Installer) - RTI/SP - Main

PayFacto API v1.3.9 (STP Installer) - RTI/SP - Main

RTI-POS Interface

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.

📜

  Document Revision History

Version Date Description
1.702 Sep 2020Converted from Word/PDF to Confluence
1.28.1.203 Sep 2020Aligned version numbers so the spec now uses the same version as the DLL released.

Removed obsolete fields (Track2, ExpDate, Account)
1.28.2.116 Sep 2020Added latest RTI package
1.28.5.202 Jun 2021Define new error codes

Introduce BarTab implementation guide
1.31.0.016 Sep 2021Update new error codes 86-89
1.32.0015 Oct 2021Define POSVer in EftRequest
1.33.0029 Mar 2022Add Gift tag in EftRequest which is used by the VOID SALE transaction to allow SecurePay to know to skip the payment selection prompt. TER-1656 - Getting issue details... STATUS
1.34.0013 Apr 2022Add Report transaction type, with new XML parameter ReportType in EftRequest, along with example EftRequest and EftAnswer.

Update response XML for CloseBatch to include new receipt lines
1.34.0003 May 2022Added ProfileId to be returned to POS
N/A05 May 2022Documentation change only.

Clarified POS → RTI EFTRequest parameter sizes.
N/A04 Oct 2022Documentation change only.

Some parts of the doc reference an Employee XML field. It should be Employe (As defined by the code)
N/A05 Oct 2022Documentation change only.

Added Missing Surcharge Request field to EftRequest table
N/A10 Aug 2023Documentation layout changes only.
⚠️

This document and the information within are the property of PayFacto Payments Inc. (“PayFacto”) and may only be used for the purpose for which they are intended and supplied. Reproduction of this document or use of the information within, in whole or in part, is strictly prohibited without the express written consent of PayFacto. PayFacto reserves the right to revise this document and to periodically make changes to the content hereof, without obligation of PayFacto to notify any person or organization of such revision or changes.

  Overview

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
AAlphanumeric Format
NNumber Format
DDate Format (yyyy-mm-dd)
MMonetary 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
mappingMode0 - (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
enableDatadogUpload0 - 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

EFT Request

Size for EFT Request is the suggested size that is suggested as a maximum from the POS perspective. RTI does not impose any size restriction itself.

Type Tag Name Description Size Format Range
EEftRequestThe tag indicating it is an EFT Request
ETypeOne of the request types supported.30AEMVSALE
EMVVOIDSALE
EMVRETURN
EMVVOIDRETURN
EMVPREAUTH
EMVVOIDPREAUTH
EMVFINALIZE
EMVVOIDFINALIZE
EMVMODIFYTIPS
EMVADJUSTPREAUTH
EMVADJUSTFINALIZE
CLOSEBATCH
PING
REPORT
REPRINT
(case sensitive)
EIdThis is a 11 characters unique identifier for the request. The first 8 digits are the invoice number. The last 3 digits are the payment number.

The relative invoice number is generated by the Back-Office. The payment number is greater than 01 when more than one method of payment is used on the same invoice. (e.g.: customer pays his invoice with two credit cards)
11N
EMerchantThe ID of the merchantN1 to 9999
EEmployeThe number of the employee who requested the transaction15A
EInvoiceReference for the POS system. This might be the check/bill number in the POS.10N1 to 9999999
ESwipedYes for swiped input, No for keyed input3A‘Yes’ or ‘No’ (case insensitive)
EForcedForce transaction (external authorization).3A‘Yes’ or ‘No’ (case insensitive)
EAmountTotal amount to apply for this transaction. (with 2 decimals)10M
EPreAmountPreauthorization amount (usually 20% more than amount) (with 2 decimals)10M
ETerminalPOS number for that request2N1 to 63
EGratuityTip amount10M
EAuthorizationAuthorization number (from a PREAUTH request)11A
ERefDataReference data returned by Bank (from a PREAUTH request)250A
ERefNoReference Number returned by bank (from a VOICEAUTH or RETURNSALE request)50A
EAskForTipWhen the pinpad need to ask for tip amount3A‘Yes’ or ‘No’ (case insensitive)
EPaymentNumberThe payment number of this payment on the invoice3N1 – 254
EIdentityThe identity field of the pinpad15A
ETokenDataThis is a unique token that is generated based on the expiry date and reference number of a transaction. This value is to be saved on the POS side, and generated by the payment side.50A
EPreauthGiftThis is a flag that enables gift cards for the EMVPREAUTH type on the terminal.1N1 or 0
0 is used by default if not provided.
EPOSVerThe pos version string30A
EGiftThis flag indicates if the original transaction was a gift card transaction only when you do a VOID SALE.5AOne of the following (case insensitive):
True
False
EReportTypeThis tag is mandatory when using the Type REPORT.15AOne of the following (case insensitive):
Detail
Summary
Last Settlement
EReprintTypeThis tag is mandatory when using the Type REPRINT.16AOne of the following (case insensitive):
Last Transaction
Invoice
Sequence
ESequenceThis is the sequence number of the transaction.

Currently only used as a reference number for REPRINT transaction type when ReprintType is Sequence
10N
ESurchargeThe surcharge amount. This can only passed through to the app when using the EMVMODIFYTIPS Type10M
🔀

  Mapping Mode

Changes on How the EftRequest XML is Processed

For EMVPREAUTHEMVSALE, EMVFINALIZEEMVMODIFYTIPS, and EMVVOIDPREAUTHEMVVOIDSALE, all the request values can be mapped easily using the existing values.

For EMVVOIDFINALIZEEMVMODIFYTIPS 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 TagFromTo
typeemvpreauthemvsale

EMVFINALIZE → EMVMODIFYTIPS

EFTAnswer TagFromTo
typeemvfinalizeemvmodifytips
refnoThe reference number of the finalize transactionThe original reference number that was sent in the EFTRequest XML

EMVVOIDPREAUTH → EMVVOIDSALE

EFTAnswer TagFromTo
typeemvvoidpreauthemvvoidsale

EMVVOIDFINALIZE → EMVMODIFYTIPS

EFTAnswer TagFromTo
typeemvvoidfinalizeemvmodifytips
refnoThe reference number of the void finalize transactionThe original reference number that was sent in the EFTRequest XML
📋

  Fields Required by Transaction Type

ℹ️

The source document's column header reads “EMVADDPREAUTH” here, while the field is called EMVADJUSTPREAUTH everywhere else in this document (Field Definitions, Mapping Mode, BarTab Integration Guide, Examples). Reproduced as printed — flagging the inconsistency rather than silently correcting it.

Field EMVSALE EMVVOIDSALE EMVRETURN EMVVOIDRETURN EMVPREAUTH EMVVOIDPREAUTH EMVFINALIZE EMVVOIDFINALIZE EMVMODIFYTIPS EMVADDPREAUTH EMVADJUSTFINALIZE CLOSEBATCH REPORT REPRINT PING
IdXXXXXXXXXXX
MerchantXXXXXXXXXXX
EmployeeXXXXXXXXXXX
InvoiceXXXXXXXXXXX
Swiped
Forced
Track2
ExpData
Account
AmountXXXXXXXXXXX
OriginalAmount
Timestamp
PreAmountXX
TerminalXXXXXXXXXXX
Gratuity
Authorization
RefData
RefNoXXXXXXXX
PaymentNumberXXXXXXXXXXX
AskForTip
IdentityXXXXXXXXXXX
TokenDataXX
PreauthGift
Gift
ReportTypeX
ReprintTypeX
⚙️

  Fields Required For Settings

Field Description
IpAddressThe IP address of the terminal / pinpad device. This is alternatively set in the properties.ini as ipAddress.
LicenseThe merchant token of the license. This is alternatively set in the properties.ini as merchantToken.
PostalCodeThe postalcode, zipcode or address of the restaurant. This is alternatively set in the properties.ini as merchantPostal
StoreIdA unique identifier indicating which store you are if multiple stores have RTI setup. This can be anything but helps us see which store is using which license. This is alternatively set in the properties.ini as merchantStore.
MappingModeEnables the mapping mode feature. This is alternatively set in the properties.ini as mappingMode. For more information on this look under the Mapping Mode section of this document.
TimeoutThe number of seconds that RTI is allowed to keep a transaction alive for. This is alternatively set in the properties.ini as timeout.

Example for Settings

XML
<EftRequest>
<Transaction>
<Type>ping</Type>
</Transaction>
<Settings>
<IpAddress>192.168.2.232</IpAddress>
<License>value</License>
<PostalCode>value</PostalCode>
<StoreId>value</StoreId>
<MappingMode>1</MappingMode>
<Timeout>300</Timeout>
</Settings>
</EftRequest>
📨

  EFT Answer

Type Tag Name Description Size Format Range
EEftAnswerThe tag indicating it is an EFT Answer (response to a request)
AResultIndicates if the transaction was completed successfully6A‘SUCCESS’ or ‘ERROR’ (case sensitive)
ETypeOne of the request types supported. This must be the same as the request file30AEMVSALE
EMVVOIDSALE
EMVRETURN
EMVVOIDRETURN
EMVPREAUTH
EMVVOIDPREAUTH
EMVFINALIZE
EMVVOIDFINALIZE
EMVMODIFYTIPS
EMVADJUSTPREAUTH
EMVADJUSTFINALIZE
CLOSEBATCH
PING
(case sensitive)
EIdUnique ID for the transaction. This must be the same as the request file11N
EAuthorizationThe authorization code returned for the approved transaction (from a PREAUTH request)20A
ERefDataBank reference data250A
ERefNoReference Number data50A
EErrorNumberBank error code that will be displayed at the POS.5A
EDescriptionBank error message that will be display at the POS.60A
ETransDateThe date of the transaction30A
ETransTimeThe time of the transaction30A
ETicketThe beginning of ticket information for debit transactions. This contains the customer copy of the receipt.

In the case of a Report type or CloseBatch type in the EftRequest, this will contain report lines that are to be printed out on a receipt.
See examples for details.
ESecondTicketThe beginning of ticket information for debit transactions. This contains the merchant copy of the receipt.See examples for details.
EMaskedFolioThe masked card account number used for payment, with only the with last 4 digits showing.16A
EAmountThe dollar formatted amount including SurchargeAmount, CashbackAmount and TipAmount10M
ECardTypeThe cardtype used.13AOne of:
1. DEBIT
2. VISA
3. MASTERCARD
4. MCRD
5. AMEX
6. DISCOVER
7. JCB
8. PL
9. CASH
10. GIFT
11. CUP
12. PAYPAL
13. VISADEBIT
14. MASTERDEBIT
15. AMEXDEBIT
16. JCBDEBIT
17. DINERSDEBIT
18. DISCOVERDEBIT
19. WECHATALI
ETokenDataThis is a unique token that is generated based on the expiry date and reference number of a transaction. This value is to be saved on the POS side, and generated by the payment side.100A
ECardholderNameThe name of the cardholder50A
ESurchargeAmountThe dollar formatted surcharge amount10M
ECashbackAmountThe dollar formatted cashback amount10M
EEntryModeThe card entry mode used for the transaction25AOne of:
1. MAGENTIC SWIPE
2. MANUAL
3. CONTACTLESS
4. SCANNER
5. CHIP
6. CHIP FALLBACK SWIPE
ESignatureRequiredIf the transaction from the pinpad requires a signature3AOne of:
1. Yes
2. No
EProfileIdThe customer profile token (CPT). Only available when using Payfacto payment app on the following transaction types:
1. SALE
2. REFUND
3. PREAUTH
4. COMPLETION
5. VOID SALE
6. VOID REFUND
36AA standard 36-character GUID.
i.e.: bb61816a-3537-427d-b2a3-817f623691ab
🍸

  BarTab Integration Guide

⚠️

NOTE: This section applies only to US merchants. Canadian merchants do not use the BarTab function.

Basic Transaction Flow

  1. Customer comes in, credit card attained by bartender.
  2. Bartender holds a predefined amount on the card
    1. POS sends a EMVPREAUTH transaction to EFT-RTI. In the EftAnswer XML, there will be a TokenData tag. The value of the string is base64 encoded comprising of the Token, Expiry date, reference number and Cardholder name. The POS is expected to store this TokenData value as well as the RefNo value for later reference.
    2. The TokenData tag will not be empty. If there is no TokenData - due to maybe mismatch of EFT-RTI to Securepay versions, the TokenData tag will not show up.
  3. Card is returned to the customer
  4. The customer continues ordering until it reaches the preauth approved amount
    1. POS sends EMVADJUSTPREAUTH transaction to EFT-RTI. Make sure to provide the stored TokenData from the EMVPREAUTH transaction. In the EftAnswer XML, there will be a new TokenData tag and new RefNo tag. The POS is expected to update both the TokenData value and RefNo value for later reference.
    2. When SecurePay processes the EMVADJUSTPREAUTH, it voids the previous authorization, and creates a new authorization with the total balance. This means we no longer need the previous TokenData and RefNo values and can safely replace it with the new one.
  5. Repeat step 4 until the customer is done ordering.
  6. Customer finishes and is ready to leave.
    1. POS sends EMVFINALIZE transaction to EFT-RTI with the latest RefNo. In the EftAnswer XML, there will be a new TokenData tag and new RefNo tag. The POS is expected to update both the TokenData value and RefNo value for possible later reference.
  7. Bar tender needs to correct the finalized amount
    1. POS sends EMVADJUSTFINALIZE transaction to EFT-RTI with the latest TokenData and RefNo. In the EftAnswer XML, there will be a new TokenData tag and new RefNo tag. The POS is expected to update both the TokenData value and RefNo value for possible later reference.

BarTab Flow Chart


🚫

  EFT-RTI Error Codes

Error code Description (EN) Description (FR)
86Terminal Application Locked. Please contact support.Application de paiement verrouillée. Contactez le soutien technique.
87Transaction not completed. Termlink application missing on the terminal. Please contact support.Transaction non complétée. Application Termlink manquante. Contactez le soutien technique.
88Transaction previously voided.Transaction déjà annulée.
89Transaction not found.introuvable.
90Transaction timed out. Please retry.Transaction interrompue. Veuillez réessayer.
91Cannot connect to the terminal. Please retry.Impossible de se connecter au terminal. Veuillez réessayer
92Cannot connect to the terminal.Impossible de se connecter au terminal.
93Invalid transaction response received.Réponse de transaction non valide reçue.
94Transaction declined. Please retry.Transaction refusée. Veuillez réessayer.
95Transaction cancelled.Transaction annulée.
96Connection to terminal timed out.Connexion au terminal interrompue.
97Invalid license.Licence non valide.
98Invalid transaction type.Type de transaction non valide.
99Unknown error.Erreur inconnue.
💻

  Examples

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>