Guides
Log In
Guides

Display Message

Overview

The Display Message Command is used to present a plain text message on a Moneris Go terminal screen for the cardholder or end user. This functionality is typically used to provide instructions, confirmations, or other contextual information during the transaction flow.

Once displayed, the message remains visible on the terminal until one of the following occurs:

  • A new command is issued by the POS system
  • The specified timeout period elapses
  • The POS session times out.

This command is especially useful in guiding customers through custom workflows, alerting them to wait states, or providing reassurance during longer processing times.


📘

NOTE

The message content is defined by the POS and can be customized to suit the merchant’s business flow or customer experience strategy.


Request Structure

ElementTypeDescriptionSizeRequired
apiVersionStringAPI version numberV20Required
istConfigCodeStringMoneris provided integration configuration codeV50Required
dataIdStringMerchant defined unique identifier for the data objectV50Required
dataTimestampStringDate and time of the request (YYYY-MM-DD HH:MM:SS)F19Required
dataObjectObject that contains all transaction requests
requestArrayContains data applicable to transaction request
idempotencyKeyStringUnique transaction identifier to avoid duplicate requestV50Required
terminalIdStringDestination Terminal IDF8Optional
actionString"displayMessage"V50Required
displayMessageStringMessage to be displayedV512Required
timeoutStringEnable the message to be displayed for a set period of timeV2Optional

Request example

{
  "apiVersion": "3.0",
  "istConfigCode": "example_istConfigCode",
  "dataId": "example_dataId",
  "dataTimestamp": "1969-12-31 23:59:59",
  "data": {
    "request": [
      {
        "idempotencyKey": "example_idempotencyKey",
        "action": "displayMessage",
        "displayMessage": "example message",
        "timeout": "10"
      }
    ]
  }
}

Response Structure

ElementTypeDescriptionSizeRequired
apiVersionStringAPI version numberV20Required
statusCodeStringStatus code for the overall transaction requestV4Required
statusStringDescription of the statusCodeV50Required
dataIdStringMerchant defined unique identifier for the data objectV50Required
dataTimestampStringDate and time of the request (YYYY-MM-DD HH:MM:SS)F19Required
dataObjectObject that contains all transaction requests
responseArrayContains data applicable to transaction request
idempotencyKeyStringUnique transaction identifier to avoid duplicate requestV50Required
actionString"displayMessage"V50Required
statusCodeStringStatus code for individual requestV4Required
statusStringDescription of the individual statusCodeV50Required
completedString"true" or "false"V5Required

Response example

{
  "apiVersion": "3.0",
  "statusCode": "example_statusCode",
  "status": "example_status",
  "dataId": "example_dataId",
  "dataTimestamp": "1969-12-31 23:59:59",
  "data": {
    "response": [
      {
        "idempotencyKey": "example_idempotencyKey",
        "statusCode": "example_statusCode",
        "status": "example_status",
        "completed": "true",
        "action": "displayMessage"
      }
    ]
  }
}

Errors

If your response contains errors, visit the Errors page for a detailed description of each one.