Display

Inform about status during the processing of transactions

Display notifications are sent by the terminal to the ECR, or the other way around, to inform about the status during the processing of transactions.

Example request - terminal to ECR during transaction processing

{
  "SaleToPOIRequest": {
    "MessageHeader": {
      "MessageCategory": "Display",
      "MessageClass": "Device",
      "MessageType": "Request",
      "POIID": "AT12345",
      "ProtocolVersion": "3.1",
      "SaleID": "ECR123",
      "ServiceID": "1",
	  "DeviceID" : "3"
    },
    "DisplayRequest": {
      "DisplayOutput": [
        {
          "OutputContent": {
            "PredefinedContent": {
              "ReferenceID": "WAITING_FOR_CARD"
            },
            "OutputFormat": "MessageRef"
          },
          "Device": "CashierDisplay",
          "InfoQualify": "Status",
          "ResponseRequiredFlag": false
        }
      ]
    }
  }
}

Example request - ECR to terminal

{
  "SaleToPOIRequest": {
    "MessageHeader": {
      "MessageCategory": "Display",
      "MessageClass": "Device",
      "MessageType": "Request",
      "POIID": "AT12345",
      "ProtocolVersion": "3.1",
      "SaleID": "ECR123",
	  "DeviceID" : "3"
    },
    "DisplayRequest": {
      "DisplayOutput": [
        {
          "OutputContent": {
            "PredefinedContent": {
              "ReferenceID": "TRANSACTION_APPROVED"
            },
            "OutputFormat": "MessageRef"
          },
          "Device": "CustomerDisplay",
          "InfoQualify": "Display",
          "ResponseRequiredFlag": true
        }
      ]
    }
  }
}
PropertyDescriptionMandatory / Optional
DisplayRequestMandatory
DisplayOutputMandatory
OutputContentMandatory
PredefinedContent
ReferenceIDEnum. See table below for possible valuesMandatory
OutputFormatEnum: MessageRefMandatory
Device

Enum: CashierDisplay, CustomerDisplay

'CashierDisplay' is used for messages to be displayed on the ECR screen.

'CustomerDisplay' is used for messages to be displayed on the terminal screen.

Mandatory
InfoQualify

Enum: Status, Display.

'Status' is used in DisplayRequests from terminal that informs ECR about the state the terminal is in

'Display' is used for DisplayRequests from ECR to terminal that shows a specific screen on the terminal display.

Mandatory
ResponseRequiredFlagTrue or False. Whether a response is required or not. Must be set to True when sending DisplayRequest from ECR to terminal.Mandatory

Example response - terminal to ECR

{
  "MessageHeader": {
    "MessageCategory": "Display",
    "MessageClass": "Device",
    "MessageType": "Response",
    "POIID": "AT12345",
    "ProtocolVersion": "3.1",
    "SaleID": "ECR123",
    "DeviceID": "3"
  },
  "DisplayResponse": {
    "OutputResult": [
      {
        "Device": "CustomerDisplay",
        "InfoQualify": "Status",
        "Response": {
          "Result": "Success"
        }
      }
    ]
  }
}
PropertyDescriptionMandatory / Optional
DisplayResponseMandatory
OutputResultMandatory
DeviceCopied from requestMandatory
InfoQualifyCopied from requestMandatory
ResponseMandatory
ResultEnum: Success, FailureMandatory
ErrorConditionEnum: NotAllowedOptional
ReferenceIDDescriptionSent from
WAITING_FOR_CARDA transaction has been initiated and the terminal is waiting for a cardTerminal
WAITING_FOR_PINThe terminal is waiting for the cardholder to enter the PINTerminal
WAITING_FOR_CUSTOMER_ACTIONThe terminal is waiting for some action from the customer, such as confirming a choice or inputting a value.Terminal
HOST_CONNECTTerminal is connecting to transaction gatewayTerminal
HOST_SENDTerminal is sending transaction requestTerminal
HOST_RECEIVETerminal is waiting for transaction responseTerminal
TRANSACTION_APPROVEDShow transaction completion screen with status approved.ECR
TRANSACTION_DECLINEDShow transaction completion screen with status declinedECR
TRANSACTION_ABORTEDShow transaction completion screen with status abortedECR

[!NOTE]

The TRANSACTION_* ReferenceID values can only be used in DisplayRequests that are used together with a PINRequest. They are not relevant and cannot be used in any other scenario. See [7] for additional information.


Did this page help you?