GPE ECR protocol specification v. 13.15
Document version: 13.15
© 2026 Global Payments Inc. All rights reserved.
| Author | Approver | Date | Note |
|---|---|---|---|
| Petr Koucký | 30.05.2023 | Initial revision | |
| Petr Koucký | 27.06.2023 | FID 'a' - length change | |
| Petr Koucký | 20.07.2023 | Transaction Reversal request - FID 'F' was missing | |
| Petr Koucký | 03.10.2023 | Added R170 (Transaction aborted) | |
| Michal Hosa | Petr Koucký | 13.11.2023 | FID 'Z' - variable lengths of subfields |
| Petr Koucký | 02.01.2024 | Add FID 'X' - ECR identifiers | |
| Petr Koucký | Petr Lhotský Pavel Perman | 04.06.2024 | Abort request - added more detailed description Repeat Last Message - better description |
| Petr Koucký Petr Koucký Petr Koucký Pavel Košťal | 06.06.2024 10.06.2024 31.07.2024 15.11.2024 | FID 'S' - fix format Added T90 Add definitions of transport transactions Token transaction extension FID 'r' - Response code text - reason of declined transaction | |
| Martin Daňa | Petr Koucký | 06.03.2025 | Added T08 (Funds Disbursement transaction) FID 'e' - FD type |
The purpose of this document is to provide ECR integrators with the specification of GPE ECR protocol. The intended audience of this document is a software developer. This document is an implementation guide.
GPE ECR protocol is a low level protocol for controlling the payment terminal from a cash register. GPE payment terminals implement this ECR protocol and are ready for integration with cash registers.
GPE ECR protocol can be used on top of TCP/IP (Ethernet, WiFi), USB or RS232.
Preferred interface for ECR integrations.
Integrations via TCP/IP must ensure that the payment terminal and cash register are on the same local network.
Both WiFi and Ethernet interfaces can be used if supported by the payment terminal type. - The payment terminal is a server and the cash register is a client.
Payment terminal listens on port 2050.
The ECR should open the connection with every new transaction.
The payment terminal will close the connection automatically after receiving the final confirmation message.
Transfer mode - serial, asynchronous, full-duplex
Format - 8 data bits, 1 stop bit, no parity
Baud rate - 9600 bps
Data flow management - NONE
In order to pass the ECR accreditation process the integration must implement correctly at least the minimal integration scope.
Sale transaction
Reversal transaction
Close Totals transaction
Repeat Last Message transaction
In some cases it is possible to reduce the minimal integration scope after a discussion regarding the solution.
All messages are composed of two parts - header and data. The header part is mandatory, the data part is optional. Messages are started by <STX> and ended by <ETX> characters. Field separator <FS> is used to prefix every data field.
Example:
| Header only | <STX>B001S1APDA0514052908093800000000A5A5<ETX> |
|---|---|
| Header + data | <STX>B001S1APDA05140529084755000000091F01<FS>T00<FS>R060<ETX> |
Control characters:
| <STX> | 0x02 | Start of message |
|---|---|---|
| <ETX> <FS> | 0x03 0x1C | End of message Data field separator |
| <GS> | 0x1D | Group separator |
| <CR> | 0x0D | Carriage return |
| <SPC> | 0x20 | Space |
| <LF> | 0x0A | Line feed ('\n') |
| Field | Format | Description | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Protocol Type | 2 AN | "B0" - basic implementation | ||||||||||||||||||||||||||||||||
| Protocol Version | 2 N | "01" - basic implementation | ||||||||||||||||||||||||||||||||
| Terminal ID | 8 AN | Terminal identificator. If unknown (first Transaction request) fill in 8 spaces. | ||||||||||||||||||||||||||||||||
| Timestamp | 12 N | Timestamp generated by ECR and echoed by payment terminal. Will be used in all messages in a single transaction. | ||||||||||||||||||||||||||||||||
| Tags | 4 AN | Bitmap of configuration options and flags. Both to inform the payment terminal about supported features of ECR and to inform the ECR about special properties of a transaction. The 16 bit (2 bytes) bitmap is printed as a hexadecimal string (4 characters).
bit0
bit1
bit8
Examples
|
Data part of the message is composed of multiple fields. Each field is prefixed by a separator character <FS>. Each field is composed of Field ID (FID) and Field Value.
Remarks:
Order of fields is arbitrary and doesn't matter for the transaction processing
FIDs that are unknown to the ECR must be ignored. New FIDs might be added in the future, such updates must not break the integration.
Example:
| <FS>B5000<FS>T00 Two fields - FID 'B', value "5000" - FID 'T', value "00" |
|---|
Transaction request
Mandatory message
Only sent by the ECR to initiate the transaction
Contains the requested transaction details (amount, currency, …)
| <STX>B001 2305301505380000000A7B86<FS>B5000<FS>T00<ETX> |
|---|
Transaction response
Mandatory message
Only sent by the payment terminal at the end of the transaction
Contains the transaction result (response code, receipt, …)
| <STX>B001906001 23053015053800000226D4D1<FS>T00<FS>R000<FS>...<ETX> |
|---|
Confirmation message
Mandatory message
Sent by both the payment terminal and the ECR
Confirms the receival of Transaction request and Transaction response messages ○ No data part, CRC always "A5A5"
| <STX>B001906001 23053015053800000000A5A5<ETX> |
|---|
Activity message
Optional message during the transaction flow
Only sent by the payment terminal when the transaction is taking a long time with a periodicity of 55s
Reset t1 timeout on the ECR side
No data part, CRC always "0000"
| <STX>B001906001 230530150538000000000000<ETX> |
|---|
Error message
| <STX>B0010180322118041315220900000005E612<FS>R103<ETX> |
|---|
Basic transaction flow consists of a transaction request and response. Both request and response must be confirmed by the receiver. During a transaction processing an Activity message might be sent from the payment terminal indicating that the payment terminal needs more time to finish processing that particular transaction.
Positive transaction flow
In some scenarios the payment terminal might respond with Busy - RC108. This means that the payment terminal is already processing another transaction. The message flow for this use case is a bit different as you can see in the flowchart below - there is no Confirmation message sent by the payment terminal.
t0 - Confirmation message timeout - 15s
t1 - Transaction response timeout - 60s
This timeout is implemented on ECR
Can be reset by receiving Activity message from payment terminal
Abbreviations for format description. The format of the FID is composed of length and an abbreviation.
| Abbreviation | Description |
|---|---|
| A | Fields with Alpha characters (containing A-Z, a-z characters) |
| N | Field with Numeric characters (containing only 0-9 characters) |
| AN | Field with Alphanumeric characters (0-9, A-Z, a-z) |
| V | Field with visible ASCII characters (hexadecimal values 0x20 up to 0x7E) |
| VCR | As V field + supplemented by line separators [CR] (hexadecimal value 0x0D) |
| VGS | As V field + supplemented by separator <GS> (hexadecimal value 0x1D) |
| YN | It can contain only Y character or N character |
Examples
3N - three numeric characters
12-24AN - twelve to twenty-four alphanumeric characters
Response codes returned either by terminal itself or by authorization center. Generally everything above and including RC050 is declined.
Special Response codes are highlighted in the table below. For example RC108 which is returned by the terminal signaling that the terminal is Busy and can't accept new transaction requests. When a special response code is returned no confirmation messages are expected.
| Response code | Description | |
|---|---|---|
| 000-009 | Approved | |
| 010 | Approved - partially, refer. to Partial Approval section | |
| 050 | General processing error | |
| 051 | Unable to connect with Central Systems | |
| 053 | A response from the Central System was not delivered | |
| 055 | Declined by chip card without authorization | |
| 056 | Declined by authorization host (online transaction) | |
| 060 | Transaction was canceled by the operator | |
| 061 | Transaction was canceled by the customer | |
| 062 | Customer rejected transaction due to amount | |
| 063 | Processing exceeded the designated time limit | |
| 070 | Transaction was not canceledc | |
| 071 | Currency not supported (Multicurrency) | |
| 080 | No paper in the internal printer | |
| 081 | Reversal successful | |
| 082 | Reversal successful. Reversal reason = Card removed too soon | |
| 100 | Transaction not supported or not allowed | |
| 101 | Invalid card | |
| 103 | Error in message format (protocol error) * | |
| 106 | Error in message CRC (protocol error) * | |
| 107 | Error in MAC (protocol error) * | |
| 108 | Terminal Busy (protocol error) * | |
| 110 | The amount is not allowed | |
| 111 | Transaction refused by terminal - Tip amount (fid 'c') present in request, feature not enabled on terminal Tip not allowed, yet fid 'c' was send | |
| 160 | Totals on ECR, POST are not equal, on AC completed (AC+POST) | |
| 161 | Totals on ECR, POST are not equal, on AC not finished (POST without Response) | |
| 170 | Transaction successfully aborted via Abort request (T12) | |
| 200 | Mandatory field missing in request message | |
| 360 | Repeat Last Message - origin message not found | Cashlink Completion |
| 500 | Internal application Error |
** Response codes that do not require Confirmation messages as shown in diagram of Terminal Busy.*
Transaction type code. The same code is used for both request and response.
Transaction Repeat Last Message is the only exception where the response might take the transaction code of the previous transaction. See examples.
| Transaction name | Value | Transaction name | Value |
|---|---|---|---|
| Sale | 00 | Repeat Last Message (RLM) | 17 |
| Preauthorization | 01 | Variable Fare | 18 |
| Preauthorization Completion | 02 | Variable Fare Advice | 19 |
| Refund | 04 | Last TMS connect | 20 |
| QuasiCash | 05 | Transaction Cancellation (EM) | 21 |
| Tip Addition | 06 | Preauthorization Completion (EM) | 22 |
| Incremental Preauthorization | 07 | Init - Terminal Handshake | 23 |
| Funds Disbursement | 08 | Cashlink Completion | 32 |
| Gambling Winnings | 09 | Sub Totals | 65 |
| Reversal | 10 | Close Totals | 60 |
| Offline Upload | 11 | Get Digital Code | 27 |
| Abort Transaction | 12 | Multi-ID synchronization | 28 |
| Host handshake | 13 | Get UID | 29 |
| TMS connect | 14 | Update denylist | 50 |
| Token | 15 | Terminal reboot | 90 |
| POST data printing | 16 |
Main transaction amount. The amount value is treated without a decimal point.
Example: "2100" is 21.00 CZK or 2100 HUF, depending on the currency used in the transaction. Request: required amount to authorize.
Response: actually approved / authorized amount. Usually the same as in request. But can be lower if the transaction is only Partially Approved. Alternatively it can also be bigger if the tip was added in the payment terminal.
Cashback amount. This amount is added to the Amount in FID 'B' to compose the Amount for Authorization. The amount value is treated without a decimal point.
Example: "2100" is 21.00 CZK or 2100 HUF, depending on the currency used in the transaction.
Transaction request - goods amount 500.00 CZK, CashBack amount 100.00 CZK. Total amount for authorization will be 600.00 CZK.
| <STX>B001 23062213011500000012F8B3<FS>B50000<FS>b10000<FS>T00<ETX> |
|---|
Tip amount. The amount value is treated without a decimal point.
Example: "2100" is 21.00 CZK or 2100 HUF, depending on the currency used in the transaction. The terminal must have the Tip feature enabled in order to process this FID. Otherwise the transaction will be refused.
Request:
FID 'c' not present in request - terminal will ask for Tip if the feature is enabled - FID 'c' present, value "0" - transaction is processed without Tip
FID 'c' present, value not "0" - transaction is processed with the given Tip amount In this case the FID 'B' must contain the final amount for authorization - goods + tip amount Transaction request - goods amount 500.00 CZK, Tip amount 49.00 CZK. Total amount for authorization will be 549.00 CZK.
| <STX>B201 2306221436410000001189CD<FS>T00<FS>B54900<FS>c4900<ETX> |
|---|
Response:
Amount that can be authorized with a Meal Voucher card. Must be lower or equal to the amount in FID 'B'. Request: If present, the payment terminal will use this amount for the authorization if a Meal Voucher card is used.
Example:
Request with FID 'B' - "60000", FID 'h' - "40000", bank card used ⇒ Amount authorized is "60000" (600.00 CZK), in Response FID 'B' will contain "60000".
Request with FID 'B' - "60000", FID 'h' - "40000", meal voucher card used ⇒ Amount authorized is "40000" (400.00 CZK), in Response FID 'B' will contain "40000".
| Note: It is the ECR that is responsible to handle the situation where only a part of FID 'B' was Approved due to the Meal Voucher card being used. The cashier can either ask the customer to pay the rest with cash or again by card. |
|---|
Used for the multi currency feature. Numerical currency codes as defined by ISO_4217. Request: if not present, default currency of the terminal is used
Example: "203" - CZK, "978" - EUR, "840" - USD, "826" - GBP
Expiration date of the card used.
Example: "1017" is October 2017
Identification string provided by authorization for Approved transactions.
Request: used by Reversal to match transaction to Reverse
Response: only for Approved transactions
Hash (SHA-256) of used card PAN. Can be useful for loyalty features.
Card scheme name of the card used for the transaction.
Example: "Visa", "Mastercard"
Card PAN of the card used for the transaction. The PAN is masked for security reasons. Example: "472925******1135"
The field contains information of chip application ID with leading information. The value of AID is set by card associations.
Example: "A0000000031010", "A0000000043060"
The field contains added data needed for Enhanced Matching transactions.
Format: "TID[2-8];PAN[0/4];Sequence Number[9];Date[6]"
Example: "906001;1234;001002003;230531"
| TID | The Terminal ID used for the original transaction. Available on the original receipt / slip. |
|---|---|
| PAN | Last four digits of the PAN used for the origin transaction. Available on the original receipt / slip. Optional: if not sent, the terminal may request the customer to use the card. |
| Sequence number | The Sequence Number of the original transaction. Available on the original receipt / slip |
| Date | Date of the original transaction. Available on the original receipt / slip. Format: yyMMdd |
| Note: For Completion always use the data of the original transaction. Even if the original Preauthorization was modified by Incremental Preauthorization. |
|---|
The field contains predefined values defining subtype for Funds Disbursement (MoneySend, MS), OriginalCreditTransaction (OCT) and Gaming Winnings transactions.
| Subtype Name | Subtype value |
|---|---|
| Gambling Winnings | B000 |
| Recycle Deposit - Bottles/Cups | P101 |
| Insurance payout | P102 |
| Loyalty payout | P103 |
| Fast Refunds | P104 |
| Blood Donation | P105 |
Numeric transaction identifier provided by authorization center.
Request: used for Completion transactions (non enhanced matching) to match the original Preauthorizations.
Transaction identifier. Date&time of the authorization request.
In the Repeat Last Message response this FID holds the timestamp (from header) of the original transaction. See Repeat Last Message section.
Format: "yyMMddHHmmss"
Example: "230530154334"
Reason for declining transaction, same text is printing on declined receipt.
All FIDs in this section are adding identifiers to the transaction. These identifiers are propagated into transaction reports.
| Warning: There are four FIDs for transaction identifiers, you can use only one of the FIDs for a given transaction. FID 'S', FID 'N', FID 'Z' and FID 's'. |
|---|
Alphanumeric information sent by ECR to identify each transaction by adding an identifier. This identifier appears in transaction reports.
Alphanumeric information sent by ECR to identify each transaction by adding an identifier. This identifier appears in transaction reports.
Identification numbers for the transaction - VS / SS / KS. Project specific FID, for usage please contact GPE support.
Format: "<GS>VS[0-10]<GS>SS[0-10]<GS>KS[0-4]"
Example: "<GS>1234567890<GS>112233<GS>0987"
| VS | Variable symbol, 0-10N |
|---|---|
| SS | Specific symbol, 0-10N |
| KS | Constant symbol, 0-4N |
Numeric information sent by ECR to identify each transaction by adding an identifier. This identifier appears in transaction reports.
Deprecated - Municipality feature
Code page of the receipt located in FID 't'. Possible values are "ISO_8859-1" and "ISO_8859-2".
This field contains preformatted text for the printing of the transaction receipt by the ECR. The width of the receipt is 24 characters. It is intended to print the receipt with a monospaced font to preserve the formatting.
The text is formatted into lines. Each line ends with a line feed character <LF> - 0x0A. Each line can contain formatting characters and/or constant value or directive.
| Format character | Description |
|---|---|
| '\c' | following value (constant or directive) is centered on the line |
| '\b' | following value (constant or directive) is in bold |
| '\s' | following value (constant or directive) is printed in narrow (42 chars per line) |
| Directive | Description |
|---|---|
| "#{value} | Value can be a FID name. "#{P}" ⇒ print FID 'P' from the same message. |
| "${PAGE}" | Paper feed, equivalent to 4 empty lines, "\n\n\n\n" |
| "${SEPAR}" | Print separator line, 24 dashes, "------------------------" |
| "${ADDR}" | Print address of the merchant. |
| "${CABA}" | Print information text for Cashback. |
| "${INFO}" | Print special information text - NOT USED. |
Example:
| \b#{P}<LF>\cExp Date: 1205<LF>${SEPAR}<LF>Auth. code: 123456<LF> |
|---|
| 5434 **** **** 1204 | "b#{P}<LF>" |
|---|---|
| Exp Date: 1205 | "\cExp Date: 1205<LF>" |
| ------------------------ | "${SEPAR}<LF>" |
| Auth. code: 123456 | "Auth. code: 123456" |
This field is a summary of transactions made since the last transaction "Close day". It contains a constant prefix, numbers and sums of credit and debit transactions, as well as Cashback withdrawals. Format:
| Prefix | 6N - "001001" |
|---|---|
| Number of debit transactions | 4N |
| Sum of amounts of debit transactions | 1S 18N - sign character "+"/"-" followed by 18 digits, last two are decimals |
| Number of credit transactions | 4N |
| Sum of amounts of credit transactions | 1S 18N - sign character "+"/"-" followed by 18 digits, last two are decimals |
| Number of Cashbacks made | 4N |
| Sum of Cashbacks made | 1S 18N - sign character "+"/"-" followed by 18 digits, last two are decimals |
Example:
| "0010010002+0000000000002000000001+0000000000000100000001+00000000000003000 0" |
|---|
Message contains following transactions:
2 debit transactions in the total amount of HUF 200000
1 credit transaction for HUF 10000
1 Cashback for HUF 30000
"Sales" type transactions are considered to be debit transactions. "Refund" type transactions are considered to be credit transactions. "Cancellation" transactions have an opposite effect on sums than "Sales" transactions (i.e. subtraction from number of transactions and subtraction from amount). Amount Cashback is considered to be debit transactions, but Number of debit transactions is not changed (i.e. 1x Sale + Cashback = 500CZK + 300CZK => Total = 800CZK, Number=1). Multi currency has no impact on the totals (it is still a simple total of all amounts).
If present in Request the payment terminal will compare this value to Authorization and payment terminals Totals.
| Note: This section will be filled in a future revision. For now refer to specification 13.09. |
|---|
Maximum number of transactions processed by operation. Typically used for upload of offline transactions. It sends just a defined number of offline transactions stored in the terminal. The rest will be sent next time when initiated.
Field containing additional information/data related to transport.
The field contains code defining the transport region. This field is used by GPE transport solutions only.
| Note: This section will be filled in a future revision. For now refer to specification 13.09. |
|---|
| Note: This section will be filled in a future revision. For now refer to specification 13.09. |
|---|
Optional field is designed for Unattended POS but can be used also by attended POS terminals. Customer language code (ISO639-1) sent by ECR.
Example: "cs", "en", "de", "fr", "sk" etc.
The field contains additional text with information about response.
Format
| "#id:Text1; #id:Text2;…; #id:Text5;" |
|---|
The last "TMS connect" transaction returns extra information about applications, versions (without application ID, just a minor version) and the last TMS connection date + time in format yyMMddHHmmss. Example
| "MASTER:0107; GPE_PAY:0107; LAST_TMS:161107153125;" |
|---|
Data that identifies the Cash Register. This field is mandatory for all requests. The reasoning behind this field is to simplify the analysis of potential issues in production. This field allows us to identify Cash Register solutions connected to the payment terminal. Data from this field is being logged by the terminal. Please, fill the field with relevant information!
Format:
"<GS>ECR_ID[8AN]<GS>ECR_NAME[1-20V]<GS>ECR_VERSION[1-20V]<GS>GPE_ECR_PROTO COL_REVISION[1-20V]"
Examples:
"<GS>GPE12345<GS>APOLO<GS>01.45<GS>13.15"
"<GS>GPE12345<GS>APOLO<GS>v07.06:309.G<GS>13.15"
| ECR_ID | Constant ID given by Global Payments at the start of ECR accreditation process. If you don't have your ECR_ID, please contact us through ServiceDesk / email. |
|---|---|
| ECR_NAME | Name of your Cash Register software |
| ECR_VERSION | Version of you Cash Register software |
| GPE_ECR_PROTOCOL_REVISION | Revision of this document |
In this section there will be definition tables for Transaction requests / Transaction responses based on Transaction types.
These tables also define if a FID is mandatory or not. This is only valid for positive transaction flow. For a negative flow even some mandatory fields might be omitted in Transaction responses. For detailed description of individual FIDs please refer to the section FID definitions. FID 'T' is mandatory for all Transaction requests and Transaction Responses.
FID 'R' is mandatory for all Transaction responses.
FID 'X' is mandatory for all Transaction requests.
Basic sale transaction, part of implementation minimum. Transfer of an amount from the cardholder's account to the terminal operator's account (merchant) as a payment for goods, services or cash.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "00" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| A | 2A | Optional | Customer Language |
| I | 3N | Optional | Multi Currency - Currency code |
| N/S/Z/s | 1-20AN/1-10N/3-2 7VGS/1-10N | Optional | One of Merchant transaction identifiers |
| b | 1-18N | Optional | Cashback amount |
| c | 1-18N | Optional | Tip amount |
| h | 1-18N | Optional | Meal voucher amount |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "00" |
| F | 8V | Mandatory | Authorization code |
| P | 9-19V | Mandatory | Card number (PAN) |
| R | 3N | Mandatory | Response Code |
| B | 1-18N | Optional | Amount authorized |
| E | 4N | Optional | Card's expiration date |
| H | 16-66V | Optional | Token, HASH of Card PAN |
| J | 2-10V | Optional | Card product name |
| a | 12-32AN | Optional | EMV Application ID (AID) |
| c | 1-18N | Optional | 1-18N |
| h | 1-18N | Optional | 1-18N |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| n | 12N | Optional | Id of transaction |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
| r | 1-60V | Optional | Response code text |
Reversal of the last transaction. Part of implementation minimum. Cancellation (Reversal / VOID) of the last approved transaction.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "10" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| F | 8V | Mandatory | Authorization code |
| I | 3N | Optional | Multi Currency - Currency code |
| b | 1-18N | Optional | Cashback amount |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "10" |
| R | 3N | Mandatory | Response Code |
| f | 10AN | Optional | CodePage of receipt FID |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
Transfer of an amount from the account of the merchant to the cardholder's account. This transaction is very risky for frauds, so please handle it carefully.
It is recommended to keep this transaction behind a password or attendant verification.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "04" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| A | 2A | Optional | Customer Language |
| I | 3N | Optional | Multi Currency - Currency code |
| N/S/Z/ s | 1-20AN/1-10N/3-2 7VGS/1-10N | Optional | One of Merchant transaction identifiers |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "04" |
| F | 8V | Mandatory | Authorization code |
| P | 9-19V | Mandatory | Card number (PAN) |
| R | 3N | Mandatory | Response Code |
| E | 4N | Optional | Card's expiration date |
| H | 16-66V | Optional | Token, HASH of Card PAN |
| J | 2-10V | Optional | Card product name |
| a | 12-32AN | Optional | EMV Application ID (AID) |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| n | 12N | Optional | Id of transaction |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
| r | 1-60V | Optional | Response code text |
This transaction blocks the transaction amount on the cardholder's account for a limited time (time range depends on the card issuer), usually 90 days. Preauthorization completion is necessary to finalize the transaction, transferring the completion amount to the merchant 's account and unblocking the rest on the cardholder's account.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "01" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| A | 2A | Optional | Customer Language |
| I | 3N | Optional | Multi Currency - Currency code |
| N/S/Z/ s | 1-20AN/1-10N/3-2 7VGS/1-10N | Optional | One of Merchant transaction identifiers |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "01" |
| F | 8V | Mandatory | Authorization code |
| R | 3N | Mandatory | Response Code |
| B | 1-18N | Optional | Amount |
| E | 4N | Optional | Card's expiration date |
| H | 16-66V | Optional | Token, HASH of Card PAN |
| J | 2-10V | Optional | Card product name |
| P | 9-19V | Optional | Card number (PAN) |
| a | 12-32AN | Optional | EMV Application ID (AID) |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| n | 12N | Optional | Id of transaction |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
| r | 1-60V | Optional | Response code text |
Finalizes the Preauthorization transaction. It means that the blocked amount will be charged from the cardholder's account. Completion can be done for partial or full amount of the preauthorization. Higher completion amount than preauthorized is not allowed. Completion for zero amount will result in unblocking the preauthorized amount.
This is a Non-Enhanced matching variant of Preauthorization Completion. Can be used only if the terminal is in Non-Enhanced matching mode. For more information see the Enhanced Matching section.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "02" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| i | 9N | Mandatory | Sequence number of matching Preauthorization |
| A | 2A | Optional | Customer Language |
| I | 3N | Optional | Multi Currency - Currency code |
| N/S/Z/ s | 1-20AN/1-10N/3-2 7VGS/1-10N | Optional | One of Merchant transaction identifiers |
| c | 1-18N | Optional | Tip amount |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "02" |
| F | 8V | Mandatory | Authorization code |
| R | 3N | Mandatory | Response Code |
| B | 1-18N | Optional | Amount |
| E | 4N | Optional | Card's expiration date |
| H | 16-66V | Optional | Token, HASH of Card PAN |
| J | 2-10V | Optional | Card product name |
| P | 9-19V | Optional | Card number (PAN) |
| a | 12-32AN | Optional | EMV Application ID (AID) |
| c | 1-18N | Optional | 1-18N |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| n | 12N | Optional | Id of transaction |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
| r | 1-60V | Optional | Response code text |
Finalizes the Preauthorization transaction. It means that the blocked amount will be charged from the cardholder's account. Completion can be done for partial or full amount of the preauthorization. Higher completion amount than preauthorized (original preauthorization amount + all incremental preauthorizations amounts) is not allowed.
| Note: Always use Enhanced Matching data from the original Preauthorization even though you made changes via Incremental Preauthorization. |
|---|
This is an Enhanced matching variant of Preauthorization Completion. Can be used only if the terminal is in Enhanced matching mode. For more information see the Enhanced Matching section.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "22" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| d | 21-32AN | Mandatory | Enhanced Matching data of matching Preauthorization |
| N/S/Z/ s | 1-20AN/1-10N/3-2 7VGS/1-10N | Optional | One of Merchant transaction identifiers |
| c | 1-18N | Optional | Tip amount |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "22" |
| F R | 8V 3N | Mandatory Mandatory | Authorization code Response Code |
| B | 1-18N | Optional | Amount |
| E | 4N | Optional | Card's expiration date |
| I | 3N | Optional | Currency code |
| J | 2-10V | Optional | Card product name |
| P | 9-19V | Optional | Card number (PAN) |
| a | 12-32AN | Optional | EMV Application ID (AID) |
| c | 1-18N | Optional | 1-18N |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| n | 12N | Optional | Id of transaction |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
| r | 1-60V | Optional | Response code text |
Increase the amount or prolong the amount block from a transaction Preauthorization executed before. Executing Incremental Preauthorization with zero amount will result in prolonging the block of the already preauthorized amount on the cardholder's account.
This is an Enhanced Matching transaction. Can be used only if the terminal is in Enhanced matching mode. For more information see the Enhanced Matching section.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "07" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| d | 21-32AN | Mandatory | Enhanced Matching data of matching Preauthorization |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "07" |
| F R | 8V 3N | Mandatory Mandatory | Authorization code Response Code |
| E | 4N | Optional | Card's expiration date |
| I | 3N | Optional | Currency code |
| J | 2-10V | Optional | Card product name |
| P | 9-19V | Optional | Card number (PAN) |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| n | 12N | Optional | Id of transaction |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
| r | 1-60V | Optional | Response code text |
This operation allows the cancellation of the Sale, Preauthorization or Preauthorization completion transaction (as long as it was completed). Regarding settlement between the vendor and cardholder, it has an inverted character to the Sale operation.
This is an Enhanced Matching transaction. Can be used only if the terminal is in Enhanced matching mode. For more information see the Enhanced Matching section.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "21" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| d | 21-32AN | Mandatory | Enhanced Matching data of matching Transaction SubFID with PAN must be filled in for this transaction. |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "21" |
| R I | 3N 3N | Mandatory Optional | Response Code Currency code |
| J | 2-10V | Optional | Card product name |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
| r | 1-60V | Optional | Response code text |
This transaction is intended to be used in casinos and such. It allows for selling casino tokens / chips to the cardholder.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "05" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| A | 2A | Optional | Customer Language |
| I | 3N | Optional | Multi Currency - Currency code |
| N/S/Z/ s | 1-20AN/1-10N/3-2 7VGS/1-10N | Optional | One of Merchant transaction identifiers |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "05" |
| F P | 8V 9-19V | Mandatory Mandatory | Authorization code Card number (PAN) |
| R | 3N | Mandatory | Response Code |
| B | 1-18N | Optional | Amount authorized |
| E | 4N | Optional | Card's expiration date |
| H | 16-66V | Optional | Token, HASH of Card PAN |
| J | 2-10V | Optional | Card product name |
| a | 12-32AN | Optional | EMV Application ID (AID) |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| n | 12N | Optional | Id of transaction |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
| r | 1-60V | Optional | Response code text |
This transaction is intended to be used in casinos and such. It allows for transferring the winnings to the cardholder's account.
| Note: For this transaction it is required to enter a Reference number, it is a card scheme mandate. The reference number can be either sent from the ECR or it can be entered on the payment terminal. If the ECR doesn't send FID 'N' the payment terminal will enforce the entry. |
|---|
| This transaction can be substituted by transaction T08 "Funds Disbursement". |
|---|
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "09" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| A | 2A | Optional | Customer Language |
| I | 3N | Optional | Multi Currency - Currency code |
| N | 1-20AN | Optional | Reference number |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "09" |
| F | 8V | Mandatory | Authorization code |
| P | 9-19V | Mandatory | Card number (PAN) |
| R | 3N | Mandatory | Response Code |
| B | 1-18N | Optional | Amount authorized |
| E | 4N | Optional | Card's expiration date |
| H | 16-66V | Optional | Token, HASH of Card PAN |
| J | 2-10V | Optional | Card product name |
| a | 12-32AN | Optional | EMV Application ID (AID) |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| n | 12N | Optional | Id of transaction |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
| r | 1-60V | Optional | Response code text |
This transaction covers all supported types of MoneySend (Mastercard) or OriginalCreditTransaction (Visa).
This transaction can contain optional filed FID_e which defines specific Funds Disbursement (FD) subtype. In table below there are options for Funds Disbursement transaction:
| FID_e in request | FD allowed in terminal Terminal behaviour |
|---|---|
| NO | NO Transaction declined (RC100) |
| NO | YES Default FD subtype selected and processed |
| YES | NO Transaction declined (RC100) |
| YES | YES Subtype not supported - Transaction declined (RC100) Subtype supported - transaction processed |
| For the new integrations this transaction can substitute transaction T09 "Gambling Winnings". Calling T09 or T08 with eB000 will result in the same Gambling Winnings transaction. |
|---|
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "08" |
| B | 1-18N | Mandatory | Amount |
| X | 16-93V | Mandatory | ECR identifiers |
| A | 2A | Optional | Customer Language |
| I | 3N | Optional | Multi Currency - Currency code |
| N | 1-20AN | Optional | Reference number |
| e | 4AN | Optional | Funds Disbursement's Subtype Data |
| m | 1-22AN | Optional | Multi ID account number |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "08" |
| F | 8V | Mandatory | Authorization code |
| P | 9-19V | Mandatory | Card number (PAN) |
| R | 3N | Mandatory | Response Code |
| B | 1-18N | Optional | Amount authorized |
| E | 4N | Optional | Card's expiration date |
| H | 16-66V | Optional | Token, HASH of Card PAN |
| J | 2-10V | Optional | Card product name |
| a | 12-32AN | Optional | EMV Application ID (AID) |
| e | 4AN | Optional | Funds Disbursement's Subtype Data |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| n | 12N | Optional | Id of transaction |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
| r | 1-60V | Optional | Response code text |
Special transaction used by ECR to obtain the result of the last transaction. This is a part of implementation minimum.
This transaction should be sent automatically by the ECR in case of communication failure. The ECR should repeat the RLM if necessary in order to obtain the missing transaction result. You can find communication log samples in the examples section.
Pay special attention to FID 'n' in Transaction Response for Repeat Last Message. The FID 'n' holds the timestamp (from header) of the original transaction exchange.
Repeat Last Message use case
| Note: Receiving RC108 (Terminal Busy) means that the payment terminal is already performing a transaction. You should wait and try the Repeat Last Message request again. Generally you should keep sending Repeat Last Message requests until you obtain the response for the last transaction. Suggestion is to wait 5-60s before repeating the Repeat Last Message request. |
|---|
| Note: Receiving RC100 (Transaction not supported) means that the payment terminal is wrongly configured and you should contact technical support. |
|---|
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "17" |
| X | 16-93V | Mandatory | ECR identifiers |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type of original transaction - "??" |
| F | 8V | Optional | Authorization code |
| R | 3N | Mandatory | Response Code |
| B | 1-18N | Optional | Amount |
| E | 4N | Optional | Card's expiration date |
| H | 16-66V | Optional | Token, HASH of Card PAN |
| J | 2-10V | Optional | Card product name |
| P | 9-19V | Optional | Card number (PAN) |
| a | 12-32AN | Optional | EMV Application ID (AID) |
| f | 10AN | Optional | CodePage of receipt FID |
| i | 9N | Optional | Sequence number |
| n | 12N | Optional | ID of original transaction |
| q | 1-100V | Optional | Extra Text with add. information |
| t | 1-3072AN | Optional | Receipt |
Administrative transaction, part of implementation minimum. Suggested to call this transaction at the end of the shift. This transaction might also trigger an automatic update mechanism on the terminal. The purpose of this transaction is to conclude the accounting period (e.g. with a change of operator) and to check the balance of the transaction state between the payment terminal (or cash register) and authorization system. The result of the operation (in contrast to the Sub-total transaction) is always the clearing of the accumulated transaction state of all systems.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "60" |
| X | 16-93V | Mandatory | ECR identifiers |
| L | 75V | Optional | ECR transactions summary |
| U | 4AN | Optional | CZ Transport specific |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "60" |
| R | 3N | Mandatory | Response Code |
| L | 75V | Optional | Transactions summary |
| f | 10AN | Optional | CodePage of receipt FID |
| t | 1-3072AN | Optional | Receipt |
Similar to Close Totals. Sub Totals do not close the batch (totals) of the terminal. It is used to get current summaries of transactions in the terminal batch without closing it.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "65" |
| X | 16-93V | Mandatory | ECR identifiers |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "65" |
| R | 3N | Mandatory | Response Code |
| f | 10AN | Optional | CodePage of receipt FID |
| t | 1-3072AN | Optional | Receipt |
Authorization host handshake. This transaction is used to verify that the payment terminal is able to connect to the authorization center.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "13" |
| X | 16-93V | Mandatory | ECR identifiers |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "13" |
| R | 3N | Mandatory | Response Code |
Maintenance transaction. Triggering this transaction will cause a connection to TMS (Terminal Management System). Terminal can get software and parameters updated via this connection. It will also upload payment terminal's logs and diagnostics.
Terminal can connect to the TMS only if its transaction batch is empty, so you need to call Close Totals transaction first. Otherwise you will get declined RC.
This transaction will cause the terminal to reboot and the ECR will not receive a Transaction Response message. The ECR must wait (~60s) and then use the Last TMS Connect transaction to get the result of TMS Connect. In the case of software update the terminal might be unavailable for a longer period of time. The ECR should repeat the Last TMS Connect until the payment terminal responds.
TMS Connect flow
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "14" |
| X | 16-93V | Mandatory | ECR identifiers |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "14" |
| R | 3N | Mandatory | Response Code |
Maintenance transaction to get the status of the TMS Connect transaction. See the flow in the TMS Connect section.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "20" |
| X | 16-93V | Mandatory | ECR identifiers |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "20" |
| R | 3N | Mandatory | Response Code |
| q | 1-100V | Mandatory | Extra text information, terminal SW version, … |
Maintenance transaction. Handshake between the ECR and the payment terminal. Used to verify that the payment terminal is available and ready for transactions.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "23" |
| X | 16-93V | Mandatory ECR identifiers |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "23" |
| R | 3N | Mandatory | Response Code |
The purpose of this operation is to get data about SW & HW from POS.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "16" |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "16" |
| R | 3N | Mandatory | Response Code |
| q | 1-100V | Mandatory | Extra text information, terminal SW version, … |
Set of transactions used mainly by unattended terminals in the transport segment.
Transaction used for forcing the sending of offline transactions locally stored in the terminal to authorization host. This is used mainly by unattended terminals in the transport segment. This operation can be aborted by transaction "Abort transaction".
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "11" |
| U | 4AN | Optional | Code of Region in the Czech Republic |
| C | 3N | Optional | Count of transactions to be uploaded |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "11" |
| R | 3N | Mandatory | Response Code |
| q | 1-100V | Optional | Extra text information |
This operation only reads card data. No transfer of funds is performed. The payment terminal forms the token from the PAN and the expiration date.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "15" |
| U | 4AN | Mandatory | Code of Region in the Czech Republic |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "15" |
| R | 3N | Mandatory | Response Code |
| U | 4AN | Optional | Code of Region in the Czech Republic |
| H | 16-66V | Optional | Token, HASH of Card PAN |
| E | 4N | Optional | Card's expiration date |
| P | 9-19V | Optional | Card number (PAN) |
| J | 2-10V | Optional | Card product name |
This operation reads a card, sends offline data to AC, checks Deny List stored in POS and from PAN+EXP makes a hash, encrypts it by RSA and sends this data to ECR.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "18" |
| U | 4AN | Mandatory | Code of Region in the Czech Republic |
| D | 0-1000AN | Mandratory | Transport data |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "18" |
| R | 3N | Mandatory | Response Code |
| U | 4AN | Optional | Code of Region in the Czech Republic |
| H | 16-66V | Optional | Token, HASH of Card PAN |
| N | 1-20AN | Optional | Reference number |
This operation is for sending additional information from ECR to previous Variable Fare transactions.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "19" |
| N | 1-20AN | Mandatory | Reference number |
| D | 0-1000AN | Mandratory | Transport data |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "19" |
| R | 3N | Mandatory | Response Code |
Returns UID of card. Only for MIFARE/DESFIRE cards.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "29" |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "29" |
| R | 3N | Mandatory | Response Code |
| g | 1-12AN | Optional | UID of the card |
Transaction to abort currently running transaction. The transaction is only abortable in certain cases. In the examples section you can find sample logs for all cases, please pay special attention to timestamps in headers.
| Note: Highlights in following schemes are corresponding to matching timestamps in headers. |
|---|
Transaction states scheme
The following scheme illustrates a successfully aborted transaction.
Transaction Abort - transaction aborted
The scheme below illustrates the situation when the payment terminal receives an Abort request while the transaction is in "not abortable" state. The transaction is "not abortable" when a card has been already used.
Transaction Abort - transaction not abortable
| Note: Ingenico payment terminals are Abortable only during card capture screen. Abort request during user inputs prior to Card capture screen will result in protocol error response message - R108, terminal busy. Android payment terminals are Abortable up to card capture. |
|---|
| Note 2: Please pay attention to the fact that in this case the Abort request is followed immediately with protocol error response message - R108, terminal busy. There is no confirmation for an Abort request in this case. |
Sending an Abort request outside the transaction flow will result in R100, transaction not supported. See the scheme below.
Transaction Abort - abort outside the transaction flow
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "12" |
| X | 16-93V | Mandatory | ECR identifiers |
Response
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "12" |
| R | 3N | Mandatory | Response Code |
Malta market specific transaction.
Malta market specific transaction. Only valid for Preauthorizations done with the Cashlink card scheme.
This transaction triggers the reading of Digital codes (barcode, 2D/QR) on the payment terminal. It returns the read data in Base64 encoding. This transaction can be aborted by Abort transaction.
Do not use, it is a project specific transaction.
This transaction has no Transaction response. There is only Transaction Request and its Confirmation message. Right after that the terminal will reboot.
Request
| FID | Format | Mandatory | Description |
|---|---|---|---|
| T | 2N | Mandatory | Transaction type - "90" |
| X | 16-93V | Mandatory | ECR identifiers |
A transaction can require a cardholder verification using Signature. Even though these cases are becoming more and more rare it is still mandatory to support the Signature check in the overall solution. The payment terminal can be configured in two ways - "signature check, receipt printing on the terminal" or "signature check, receipt printing on the ECR".
| Applies to Attended terminals only. Signature is not allowed for Unattended terminals as there is no attendant to verify the Signature. |
|---|
| Payment terminals without a physical printer must be configured to "signature check, receipt printing on the ECR". |
|---|
Signature check scheme
When the signature is verified at the ECR side the payment terminal assumes that the signature verification will be approved. It is the ECR responsibility to reverse the transaction in case the signature verification fails.
The payment terminal can be configured in two modes - "Enhanced Matching" and "Non-Enhanced Matching".
The Non-Enhanced Matching restricts operations to a single terminal (TID). Meaning that a transaction can be reversed only on the same terminal where the transaction was performed. The same applies to Preauthorization Completion transactions which can be done only on the terminal where the Preauthorization was done. The Non-Enhanced Matching is now mostly deprecated.
Enhanced Matching mode is adding two new transactions - Cancellation and Incremental Preauthorization. It also allows the use of these transactions on different TIDs of the same merchant (MID). With Enhanced Matching it is possible to Cancel the transaction on a different TID. The same applies to Preauthorization Completion and Incremental Preauthorization.
Enhanced Matching vs Non-Enhanced Matching
The payment terminal implements the "Partial Approval" mandate of card schemes (VISA and Mastercard). It means that some transactions can be approved only partially. The ECR informs the payment terminal if Partial Approval is supported on the ECR side.
| It is not mandatory to implement this feature on ECR but it is strongly suggested as it is a mandate of card schemes. |
|---|
If not supported by the ECR the payment terminal will ensure that all Partially Approved transactions are automatically reversed and that the ECR will get a declined response for such transactions.
If supported by the ECR it is the ECR that is responsible for handling the payment of the remainder. The transaction for the remainder has no connection to the Partially Approved transaction on the payment terminal. The ECR might even allow the customer to pay the remainder in cash.
Partial Approval flow
The protocol can be extended with Device Messages. Device messages allow the terminal to communicate more information about the transaction's progress during the transaction itself. The terminal can send Device Message containing text messages for ECR display and printer.
The specification of this extension can be found in a separate document. For more information please contact the support.
Multi-ID is a feature that enables the merchant to use multiple accounts on one physical terminal. The transaction request contains an account identifier which is then used for the authorization. The full specification is available upon request as a separate document.
To calculate the CRC the payment terminal uses CRC16, standard CCITT v.41 with the polynomial value: x^16 + x^12 + x^5 + 1.
Code sample for C language
const unsigned short ccittTable[256] =
{
0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50A5, 0x60C6, 0x70E7,
0x8108, 0x9129, 0xA14A, 0xB16B, 0xC18C, 0xD1AD, 0xE1CE, 0xF1EF,
0x1231, 0x0210, 0x3273, 0x2252, 0x52B5, 0x4294, 0x72F7, 0x62D6,
0x9339, 0x8318, 0xB37B, 0xA35A, 0xD3BD, 0xC39C, 0xF3FF, 0xE3DE,
0x2462, 0x3443, 0x0420, 0x1401, 0x64E6, 0x74C7, 0x44A4, 0x5485,
0xA56A, 0xB54B, 0x8528, 0x9509, 0xE5EE, 0xF5CF, 0xC5AC, 0xD58D,
0x3653, 0x2672, 0x1611, 0x0630, 0x76D7, 0x66F6, 0x5695, 0x46B4,
0xB75B, 0xA77A, 0x9719, 0x8738, 0xF7DF, 0xE7FE, 0xD79D, 0xC7BC,
0x48C4, 0x58E5, 0x6886, 0x78A7, 0x0840, 0x1861, 0x2802, 0x3823,
0xC9CC, 0xD9ED, 0xE98E, 0xF9AF, 0x8948, 0x9969, 0xA90A, 0xB92B,
0x5AF5, 0x4AD4, 0x7AB7, 0x6A96, 0x1A71, 0x0A50, 0x3A33, 0x2A12,
0xDBFD, 0xCBDC, 0xFBBF, 0xEB9E, 0x9B79, 0x8B58, 0xBB3B, 0xAB1A,
0x6CA6, 0x7C87, 0x4CE4, 0x5CC5, 0x2C22, 0x3C03, 0x0C60, 0x1C41,
0xEDAE, 0xFD8F, 0xCDEC, 0xDDCD, 0xAD2A, 0xBD0B, 0x8D68, 0x9D49,
0x7E97, 0x6EB6, 0x5ED5, 0x4EF4, 0x3E13, 0x2E32, 0x1E51, 0x0E70,
0xFF9F, 0xEFBE, 0xDFDD, 0xCFFC, 0xBF1B, 0xAF3A, 0x9F59, 0x8F78,
0x9188, 0x81A9, 0xB1CA, 0xA1EB, 0xD10C, 0xC12D, 0xF14E, 0xE16F,
0x1080, 0x00A1, 0x30C2, 0x20E3, 0x5004, 0x4025, 0x7046, 0x6067,
0x83B9, 0x9398, 0xA3FB, 0xB3DA, 0xC33D, 0xD31C, 0xE37F, 0xF35E,
0x02B1, 0x1290, 0x22F3, 0x32D2, 0x4235, 0x5214, 0x6277, 0x7256,
0xB5EA, 0xA5CB, 0x95A8, 0x8589, 0xF56E, 0xE54F, 0xD52C, 0xC50D,
0x34E2, 0x24C3, 0x14A0, 0x0481, 0x7466, 0x6447, 0x5424, 0x4405,
0xA7DB, 0xB7FA, 0x8799, 0x97B8, 0xE75F, 0xF77E, 0xC71D, 0xD73C,
0x26D3, 0x36F2, 0x0691, 0x16B0, 0x6657, 0x7676, 0x4615, 0x5634,
0xD94C, 0xC96D, 0xF90E, 0xE92F, 0x99C8, 0x89E9, 0xB98A, 0xA9AB,
0x5844, 0x4865, 0x7806, 0x6827, 0x18C0, 0x08E1, 0x3882, 0x28A3,
0xCB7D, 0xDB5C, 0xEB3F, 0xFB1E, 0x8BF9, 0x9BD8, 0xABBB, 0xBB9A,
0x4A75, 0x5A54, 0x6A37, 0x7A16, 0x0AF1, 0x1AD0, 0x2AB3, 0x3A92,
0xFD2E, 0xED0F, 0xDD6C, 0xCD4D, 0xBDAA, 0xAD8B, 0x9DE8, 0x8DC9,
0x7C26, 0x6C07, 0x5C64, 0x4C45, 0x3CA2, 0x2C83, 0x1CE0, 0x0CC1,
0xEF1F, 0xFF3E, 0xCF5D, 0xDF7C, 0xAF9B, 0xBFBA, 0x8FD9, 0x9FF8,
0x6E17, 0x7E36, 0x4E55, 0x5E74, 0x2E93, 0x3EB2, 0x0ED1, 0x1EF0
};
// ====================================================================
// unsigned short calcCRC16(unsigned char *data, unsigned short len)
//
// In: data - pointer to data from which CRC16 is calculated
// len - length of data from which CRC16 is calculated
//
// Out: -
//
// Return: CRC16
//
// Test: calcCRC16((unsigned char*) "123456", 6) => 20E4
// ====================================================================
unsigned short calcCRC16( unsigned char *data, unsigned short dlen )
{
unsigned short crc16 = 0x0000;
unsigned short len = dlen;
if (!data || !len)
return crc16;
while(len --)
crc16 = (crc16 << 8) ^ ccittTable[(crc16 >> 8) ^ *data ++];
return crc16;
}
The ECR is required to keep communication logs with a reasonable retention and minimal time granularity in seconds (milliseconds are preferred). In case of production issues these logs might be requested in order to analyze the issue.
FID 'X' - this field is mandatory across all transaction requests. This field is only logged on the terminal side and is used to speed up the analysis of potential issues. Please try to fill it with relevant data.
Sale - print in ECR, approved
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>2306221254210000000A7B86<FS>B5000<FS>T00<ETX> <STX>B001906001<SPC><SPC>23062212542100000000A5A5<ETX>
<STX>B001906001<SPC><SPC>2306221254210000020DC123<FS>T00<FS>R000<FS>P527062\*\*\*\*\*\*4814<FS>F971569<SPC><SPC><FS>JMASTERCARD<FS>E1223<FS>aA0000000041010<FS>fISO_8859-2<FS>n230622125433<FS>t<SPC><SPC><SPC><SPC> <SPC><SPC><SPC><SPC>0515455<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><LF>D<xC1>VKA:106<SPC><SPC><SPC><xDA><xC8>TENKA:0003<LF>ID.ZA<xD8><xCD>ZEN<xCD>:<SPC>906001<SPC><SPC><SPC><SPC><SPC><LF>$\{SEPAR}<LF>REFUNDACE<SPC>NEN<xCD><SPC>MO<x8E>N<xC1><SPC><SPC><SPC><SPC><LF>$\{SEPAR}<LF>A0000000041010<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><LF>MC<SPC>contactless<SPC><SPC><SPC><SPC><SPC><SPC>(CL)<LF><SPC><SPC><SPC><SPC><SPC>\*\*\*\*<SPC>\*\*\*\*<SPC>\*\*\*\*<SPC>4814<LF><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>PRODEJ<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><LF><xC8><xE1>stka<SPC>CZK:<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>50,00<LF>Sekven<xE8>.<xE8><xED>slo:<SPC>001106007<LF>Autoriza<xE8>n<xED><SPC>k<xF3>d:<SPC><SPC>971569<LF>01<SPC>10<SPC>00<SPC>00<SPC>01<SPC>00<SPC>00<SPC>00<SPC>00<SPC>00<SPC>01<SPC>00<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><LF>$\{SEPAR}<LF><SPC><SPC>Doklad<SPC>uchovejte<SPC>pro<SPC><SPC><LF><SPC><SPC><SPC>pozd<xEC>j<xB9><xED><SPC>kontrolu<SPC><SPC><SPC><SPC><LF>$\{PAGE}<LF><FS>B5000<FS>i001106007<ETX>
<STX>B001906001<SPC><SPC>23062212542100000000A5A5<ETX>
Sale - print in ECR, declined by authorization
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>2306221250250000000A7B86<FS>B5000<FS>T00<ETX> <STX>B001906001<SPC><SPC>23062212502500000000A5A5<ETX>
<STX>B001906001<SPC><SPC>230622125025000001F2E27F<FS>T00<FS>R056<FS>E1223<FS>fISO_8859-2<FS>t<SPC><SPC> <SPC><SPC><SPC><SPC><SPC><SPC>0515455<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><LF>D<xC1>VKA:106<SPC><SPC><SPC><xDA><xC8>TENKA:0002<LF>ID.ZA<xD8><xCD>ZEN<xCD>:<SPC>906001<SPC><SPC><SPC><SPC><SPC><LF>$\{SEPAR}<LF>REFUNDACE<SPC>NEN<xCD><SPC>MO<x8E>N<xC1><SPC><SPC><SPC><SPC><LF>$\{SEPAR}<LF>A0000000041010<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><LF>MC<SPC>contactless<SPC><SPC><SPC><SPC><SPC><SPC>(CL)<LF><SPC><SPC><SPC><SPC><SPC>\*\*\*\*<SPC>\*\*\*\*<SPC>\*\*\*\*<SPC>4814<LF><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>PRODEJ<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><LF><xC8><xE1>stka<SPC>CZK:<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>50,00<LF><SPC><SPC>TRANSAKCE<SPC>ZAM<xCD>TNUTA<SPC><SPC><SPC><LF><SPC><SPC><SPC><SPC><SPC>Host<SPC>RC:<SPC><SPC>074<SPC><SPC><SPC><SPC><SPC><SPC><LF><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>VOLEJTE<SPC>CALL<SPC>CENTRUM<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><LF>01<SPC>10<SPC>00<SPC>00<SPC>01<SPC>00<SPC>00<SPC>00<SPC>00<SPC>00<SPC>01<SPC>00<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC><LF>$\{SEPAR}<LF><SPC><SPC>Doklad<SPC>uchovejte<SPC>pro<SPC><SPC><LF><SPC><SPC><SPC>pozd<xEC>j<xB9><xED><SPC>kontrolu<SPC><SPC><SPC><SPC><LF>$\{PAGE}<LF><FS>i001106006<ETX>
<STX>B001906001<SPC><SPC>23062212502500000000A5A5<ETX>
Sale - print in terminal, approved
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>2306221258440000000A7B86<FS>B5000<FS>T00<ETX> <STX>B001906001<SPC><SPC>23062212584400000000A5A5<ETX> <STX>B001906001<SPC><SPC>23062212584400000066E07D<FS>T00<FS>R000<FS>P527062\*\*\*\*\*\*4814<FS>F593658<SPC><SPC><FS>JMASTERCARD<FS>E1223<FS>aA0000000041010<FS>n230622125858<FS>B5000<FS>i001106009<ETX> <STX>B001906001<SPC><SPC>23062212584400000000A5A5<ETX>
Sale + Cashback - approved
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>23062213011500000012F8B3<FS>B50000<FS>b10000<FS>T00<ETX> <STX>B001906001<SPC><SPC>23062213011500000000A5A5<ETX>
<STX>B001906001<SPC><SPC>2306221301150000006781CD<FS>T00<FS>R000<FS>P527062\*\*\*\*\*\*4814<FS>F757157<SPC><SPC><FS>JMASTERCARD<FS>E1223<FS>aA0000000041010<FS>n230622130145<FS>B60000<FS>i001106011<ETX> <STX>B001906001<SPC><SPC>23062213011500000000A5A5<ETX>
Sale with activity message - declined by authorization
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>2306221319370000000B50C4<FS>B50000<FS>T00<ETX> <STX>B001906001<SPC><SPC>23062213193700000000A5A5<ETX> <STX>B001906001<SPC><SPC>230622131937000000000000<ETX> <STX>B001906001<SPC><SPC>2306221319370000001A61A8<FS>T00<FS>R056<FS>E1223<FS>i001106012<ETX> <STX>B001906001<SPC><SPC>23062213193700000000A5A5<ETX>
Sale - transaction canceled by user
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>2306221322430000000B50C4<FS>B50000<FS>T00<ETX> <STX>B001906001<SPC><SPC>23062213224300000000A5A5<ETX> <STX>B001906001<SPC><SPC>230622132243000000090F20<FS>T00<FS>R061<ETX> <STX>B001906001<SPC><SPC>23062213224300000000A5A5<ETX>
Sale - transaction timeout on Card Input screen
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>2306221323280000000B50C4<FS>B50000<FS>T00<ETX> <STX>B001906001<SPC><SPC>23062213232800000000A5A5<ETX> <STX>B001906001<SPC><SPC>230622132328000000000000<ETX> <STX>B001906001<SPC><SPC>230622132328000000090F20<FS>T00<FS>R061<ETX>
Sale - terminal Busy RC108
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>2306221328280000000B50C4<FS>B50000<FS>T00<ETX> <STX>B001906001<SPC><SPC>23062213282800000000A5A5<ETX> <STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>2306221328590000000AFB4D<FS>B3000<FS>T00<ETX> <STX>B001906001<SPC><SPC>230622132859000000055779<FS>R108<ETX> <STX>B001906001<SPC><SPC>230622132828000000000000<ETX> <STX>B001906001<SPC><SPC>2306221328280000001A7189<FS>T00<FS>R056<FS>E1223<FS>i001106013<ETX> <STX>B001906001<SPC><SPC>23062213282800000000A5A5<ETX>
Repeat Last Message
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>23062213462500000004A68B<FS>T17<ETX> <STX>B001906001<SPC><SPC>23062213462500000000A5A5<ETX> <STX>B001906001<SPC><SPC>230622134625000000280D6E<FS>T00<FS>R056<FS>E1223<FS>n230622134535<FS>i00110601 6<ETX> <STX>B001906001<SPC><SPC>23062213462500000000A5A5<ETX>
Repeat Last Message - with a prior transaction
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>240604145811000000358B36<FS>B1000<FS>T00<FS>...<ETX> <STX>B001456506<SPC><SPC>24060414581100000000A5A5<ETX> <STX>B001456506<SPC><SPC>240604145811000001B43E74<FS>T00<FS>R000<FS>...<ETX> <STX>B001456506<SPC><SPC>24060414581100000000A5A5<ETX> <STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>2406041458360000002DA205<FS>T17<FS>...<ETX> <STX>B001456506<SPC><SPC>24060414583600000000A5A5<ETX> <STX>B001456506<SPC><SPC>240604145836000001B48503<FS>T00<FS>R000<FS>n240604145811<FS>...<ETX> <STX>B001456506<SPC><SPC>24060414583600000000A5A5<ETX>
Repeat Last Message - terminal Busy
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>23062214312900000004A68B<FS>T17<ETX> <STX>B001906001<SPC><SPC>230622143129000000055779<FS>R108<ETX>
Abort Request - transaction aborted
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>24060317285400000032DAA0<FS>B100<FS>T00<FS>...<ETX> <STX>B001456506<SPC><SPC>24060317285400000000A5A5<ETX> <STX>B001456506<SPC><SPC>24060317290000000004F62E<FS>T12<ETX> <STX>B001456506<SPC><SPC>24060317290000000000A5A5<ETX> <STX>B001456506<SPC><SPC>240603172854000000091B00<FS>T00<FS>R170<ETX> <STX>B001456506<SPC><SPC>24060317285400000000A5A5<ETX>
Abort Request - transaction not abortable
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>24060317305500000032DAA0<FS>B100<FS>T00<FS>...<ETX> <STX>B001456506<SPC><SPC>24060317305500000000A5A5<ETX> <STX>B001456506<SPC><SPC>24060317310200000004F62E<FS>T12<ETX> <STX>B001456506<SPC><SPC>240603173102000000055779<FS>R108<ETX> <STX>B001456506<SPC><SPC>240603173055000001B94C09<FS>T00<FS>R000<FS>P541333\*\*\*\*\*\*4111<FS>...<ETX> <STX>B001456506<SPC><SPC>24060317305500000000A5A5<ETX>
Abort Request - Ingenico terminals, transaction not abortable, abort retry, transaction aborted
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>24060317335300000032DAA0<FS>B100<FS>T00<FS>...<ETX> <STX>B001456506<SPC><SPC>24060317335300000000A5A5<ETX> <STX>B001456506<SPC><SPC>24060317335500000004F62E<FS>T12<ETX> <STX>B001456506<SPC><SPC>240603173355000000055779<FS>R108<ETX> <STX>B001456506<SPC><SPC>24060317335900000004F62E<FS>T12<ETX> <STX>B001456506<SPC><SPC>24060317335900000000A5A5<ETX> <STX>B001456506<SPC><SPC>240603173353000000091B00<FS>T00<FS>R170<ETX> <STX>B001456506<SPC><SPC>24060317335300000000A5A5<ETX>
Abort Request - transaction not in progress
<STX>B001<SPC><SPC><SPC><SPC><SPC><SPC><SPC><SPC>24060317354100000004F62E<FS>T12<ETX> <STX>B001456506<SPC><SPC>24060317354100000000A5A5<ETX> <STX>B001456506<SPC><SPC>24060317354100000009B1B6<FS>T12<FS>R100<ETX> <STX>B001456506<SPC><SPC>24060317354100000000A5A5<ETX>
© 2023 Global Payments Inc. All rights reserved
| Data length | 4 AN | Length of the data part of the message as a hexadecimal string - "000A" - 10B. Field separators <FS> are included in the length.
|
| CRC | 4 AN | CRC of the data part of the message as a hexadecimal string - "F6C8". See algorithm in the appendix sections. Messages with no data part
|