Display

Status and result messages shown on the terminal and sent to the ECR.

Message categoryClassDirection
DisplayDeviceBoth

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.

🚧

Expect status messages at any time

Display requests to the ECR (Device = CashierDisplay) can arrive at any time during a transaction. Don't rely on their order, number or text: these can change with the terminal's software version and language.

Example request and response

display

All fields

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
        }
      ]
    }
  }
}
FieldRequiredDescription
DisplayRequestRequiredContains the fields below
↳ DisplayOutputRequiredContains the fields below
    ↳ OutputContentRequiredContains the fields below
        ↳ PredefinedContentContains the fields below
            ↳ ReferenceIDRequiredEnum. See table below for possible values
        ↳ OutputFormatRequiredEnum: MessageRef
    ↳ DeviceRequiredEnum: 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.
    ↳ InfoQualifyRequiredEnum: 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.
    ↳ ResponseRequiredFlagRequiredTrue or False. Whether a response is required or not. Must be set to True when sending DisplayRequest from ECR to terminal.
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"
        }
      }
    ]
  }
}
FieldRequiredDescription
DisplayResponseRequiredContains the fields below
↳ OutputResultRequiredContains the fields below
    ↳ DeviceRequiredCopied from request
    ↳ InfoQualifyRequiredCopied from request
    ↳ ResponseRequiredContains the fields below
        ↳ ResultRequiredEnum: Success, Failure
        ↳ ErrorConditionOptionalEnum: NotAllowed

ReferenceID values

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

The TRANSACTION_* ReferenceID values can only be used in DisplayRequests that are used together with PINRequest. They are not relevant and cannot be used in any other scenario. For the full flow, see PIN entry controlled by the ECR. Ask your Aera contact for the appendix that describes the full PIN message flow.