Application Restart
Overview
The Application Restart Command is used to close and relaunch the Go Payment application on a Moneris Go terminal. This command serves as a lightweight refresh mechanism. This approach has been adopted by some merchants as part of their operational workflow, based on their unique business needs and usage patterns such as in unattended environments.
NOTE:
This command should be used thoughtfully, as it resets the application state. It is especially useful in environments where uptime and quick recovery are critical
Request Structure
| Element | Type | Description | Size | Required |
|---|---|---|---|---|
| apiVersion | String | API version number | V20 | Required |
| istConfigCode | String | Moneris provided integration configuration code | V50 | Required |
| dataId | String | Merchant defined unique identifier for the data object | V50 | Required |
| dataTimestamp | String | Date and time of the request (YYYY-MM-DD HH:MM:SS) | F19 | Required |
| data | Object | Object that contains all transaction requests | — | — |
| request | Array | Contains data applicable to transaction request | — | — |
| terminalId | String | Destination Terminal ID | F8 | Optional |
| action | String | "appRestart" | V50 | Required |
Request example
{
"apiVersion": "3.0",
"istConfigCode": "example_istConfigCode",
"dataId": "example_dataId",
"dataTimestamp": "1969-12-31 23:59:59",
"data": {
"request": [
{
"terminalId": "example_terminalId",
"action": "appRestart"
}
]
}
}Response Structure
| Element | Type | Description | Size | Required |
|---|---|---|---|---|
| apiVersion | String | API version number | V20 | Required |
| statusCode | String | Status code for the overall transaction request | V4 | Required |
| status | String | Description of the statusCode | V50 | Required |
| dataId | String | Merchant defined unique identifier for the data object | V50 | Required |
| dataTimestamp | String | Date and time of the request (YYYY-MM-DD HH:MM:SS) | F19 | Required |
| data | Object | Object that contains all transaction requests | — | — |
| response | Array | Contains data applicable to transaction request | — | — |
| action | String | "cancel" | V50 | Required |
| statusCode | String | Status code for individual request | V4 | Required |
| status | String | Description of the individual statusCode | V50 | Required |
| completed | String | "true" or "false" | V5 | Required |
| terminalId | String | Destination Terminal ID | F8 | Optional |
Response example
{
"apiVersion": "3.0",
"statusCode": "example_statusCode",
"status": "example_status",
"dataId": "example_dataId",
"dataTimestamp": "1969-12-31 23:59:59",
"data": {
"response": [
{
"statusCode": "example_statusCode",
"status": "example_status",
"completed": "true",
"action": "appRestart"
}
]
}
}Errors
If your response contains errors, visit the Errors page for a detailed description of each one.

