Guides
Log In
Guides

Echo Command

Overview

Once the restaurant system has successfully performed an authentication handshake, it must send an echo request message to the RMS every 30 seconds to keep the connection alive. If the RMS fails to receive the echo command, the connection will be dropped. The Moneris RMS allows only one connection per merchant ID. Additional server connection attempts using an active merchant ID will be rejected.


Request Structure

ELEMENTTYPEDESCRIPTIONSIZEREQUIRED
actionStringTransaction type - “echo”V24Required
apiTokenStringAPI Token of requestorV50Required
cloudApiVersionStringAPI version numberV20Required
merchantIdStringMerchant ID of requestorV13Required
requestIdStringRequest identifierV50Required
requestTimestampStringDate and time of the requestF19Required


{
   "action": "echo",
   "apiToken": "P14i5WS4P0uhgbrnN7BZ",
   "cloudApiVersion": "1.0",
   "merchantId": "0030112345678",
   "requestId": "I9000001-1555449670-037",
   "requestTimestamp": "yyyy-mm-dd hh:mm:ss"
}

Response Structure

ELEMENTTYPEDESCRIPTIONSIZEREQUIRED
actionStringTransaction type - “authenticate”V24Required
cloudApiVersionStringAPI version numberV20Required
merchantIdStringMerchant ID of requestorV13Required
requestIdStringRequest identifierV50Required
responseTimestampStringDate and time of the requestF19Required
statusStringStatus codeF3Conditional
statusDescStringStatus code descriptionV50Conditional


{
   "action": "echo",
   "cloudApiVersion": "1.0",
   "merchantId": "0030112345678",
   "requestId": "I9000001-1555449670-037",
   "responseTimestamp": "yyyy-mm-dd hh:mm:ss",
   "status": "200",
   "statusDesc": "OK"
}