To ensure your terminals continue to perform well and are using up-to-date settings and software, several events happen automatically on the terminals:
- Maintenance calls: every couple of hours, the terminal contacts our platform to check for pending configuration changes or releases. The terminal does not implement or install anything yet, with a few exceptions.
- Rebooting: for security reasons, the terminal must clear its cache regularly. To achieve this, the terminal reboots once every 24 hours at the restart hour.
- Configuration changes: at the restart hour, the terminal reboots and applies the configuration changes found during maintenance calls. If WebSockets are enabled, configuration changes can also be pushed to the terminal and implemented almost instantly.
- Release updates: if the terminal is set to automatically update to new releases, any software update that the terminal discovered during a maintenance call is downloaded and installed when the terminal reboots at the restart hour.
These events do not interfere with accepting payments or other daily operations. Below we explain the events in more detail, and describe what you need to do.
Requirements
Before you begin, take into account the following requirements.
| Requirement | Description |
|---|---|
| Integration type | A Terminal API integration with payment terminals, or a standalone solution . |
| Setup steps | Ensure that your terminal is turned on and connected to the network during at least one maintenance interval (three hours) before the restart hour (at 6:00 AM by default). |
Maintenance calls
Every day, the terminal contacts our platform several times to check for updates. We refer to this as maintenance calls. During a maintenance call, the terminal is informed of any changes in the configuration. For example, terminal settings that you configured in your Customer Area. If the terminal is set to automatically update to new releases, it is also informed of new releases that we have made available.
You will not notice when maintenance calls happen, because:
- The terminal does not make maintenance calls while it is doing a payment or other operation.
- On average a maintenance call takes only 1.8 seconds.
- Any changes and software updates are not installed yet, with a few exceptions.
Terminals are scheduled to make a maintenance call regularly; by default every three hours. We refer to this period as the maintenance interval. When the terminal is busy at the time it is scheduled to make a maintenance call, it waits for a minute and tries again, and so on until it has succeeded in making a maintenance call. When the terminal has succeeded in making a maintenance call, it waits until the next scheduled maintenance call.
Rebooting at the restart hour
Rebooting means the terminal is power cycled: it turns off and on again. Then the software restarts. This process takes about two minutes. Power cycling clears the terminal's cache, which is important for security reasons.
When the terminal reboots, it also installs any release update that the terminal was informed of during a maintenance call and any configuration changes that have not been applied yet. Installing a new release can take up to 30 minutes.
To ensure the terminal's cache is cleared regularly and the terminal is updated, we have programmed the terminal to reboot once every 24 hours, at the so-called restart hour. By default, the restart hour is at 6:00 AM in the timezone of the terminal.
Set the restart hour
To ensure the terminal reboots during a period when the terminal is not in use, you can change the restart hour in your Customer Area. Considerations for changing the restart hour are:
- Your opening hours
- Operational events
For this task, you need to be the admin user.
To change the restart hour:
- Log in to your Customer Area.
- Select the merchant account, store, or terminal that you want to set the restart hour for.
- Go to Devices > Device settings > Device.
- In the Maintenance section, select one of the Restart hour values.
- At the bottom of the page, select Save.
When configuration changes take effect
Configuration changes can be:
- Terminal settings that you updated in your Customer Area or through API requests, including the installation or removal of Android apps and certificates, and the reassignment of terminals.
- Platform-wide changes initiated by Adyen, such as an update to the contactless CVM limits.
To receive configuration changes, the terminal must have internet access through your network. How soon a received configuration change takes effect, depends on whether WebSockets are enabled and whether the change requires a restart of the Adyen application on the terminal.
Configuration update with WebSockets enabled
If WebSockets are enabled and the terminal has an active WebSocket connection to our platform, configuration changes are pushed to the terminal without waiting for a scheduled maintenance call. This applies regardless of whether you use cloud communications, local communications, or the standalone solution.
A pushed configuration change takes effect:
- Immediately if the change does not require a restart of the Adyen application on the terminal.
- At the next maintenance call if the change requires a restart of the Adyen application. If you do not want to wait for the maintenance call, you can manually start an update on the terminal, or in your API call with the configuration change add a parameter to force an Adyen app restart.
Check if WebSockets are enabled
To verify if Adyen has enabled establishing a WebSocket connection between the terminal and Adyen:
-
In your Customer Area go to Devices > Device list.
-
Check the WebSocket column: a minus sign () indicates WebSockets are disabled for the terminal.
If the WebSocket column is not shown, select the settings icon and select the column.
-
Contact our Support Team if you want to enable WebSockets for terminals that currently have that setting disabled.
Configuration update at restart hour
The terminal downloads any new configuration changes when it makes a maintenance call to our systems. This happens automatically every 180 minutes. The configuration changes then take effect when the terminal reboots. This happens automatically at the restart hour, which is usually set to 6:00 AM.
There are a few exceptions when configuration changes do not wait for the restart hour:
- Changes initiated by us that must be applied as soon as possible. With these changes, we add an instruction to the terminal to restart after the maintenance call. Restarting takes about 30 seconds.
- Installing or uninstalling Android apps on Android terminals. The terminal carries out these changes immediately.
- Manually starting a configuration update on the physical terminal.
Manually start a configuration update
If you want configuration changes to take effect immediately, you can manually start a configuration update:
-
On the terminal, go to Settings > Configuration, enter your Admin & Settings passcode and select Update.
-
On a non-Android terminal that uses the old menu structure: go to the Admin menu and select Config > Update.
The terminal downloads the updated configuration and then restarts and applies the new settings.
Automatically force a configuration update
If WebSockets are enabled, and you use API calls to change the configuration of terminals, you can add a parameter to these API calls to force the terminal to restart the Adyen application. Other applications on the terminal are not restarted.
In this way, your configuration change is pushed to the terminal through the WebSocket connection, and applied immediately even when the change normally waits for the next maintenance call because it requires a restart of the Adyen application. This can be useful for unattended terminals attached to a vending machine, token dispenser, parking payment system, or similar.
To make a configuration change and force the Adyen app to restart:
-
Make a PATCH request to the
/terminalSettingsendpoint for the company account, merchant account, store or terminal.
In the request body, specify your configuration changes as well as a terminalInstructions object with:Parameter Data type Description adyenAppRestart Boolean Indicates whether the Adyen app on the payment terminal restarts automatically when the terminal receives the configuration changes specified in other parts of the request body. -
Check the response. This returns all terminal settings at the level where you made the request.
Release updates
By default, the Adyen software on the terminal is updated automatically. When there is a new release, the terminal learns about this during a maintenance call. When the terminal reboots at the restart hour, it downloads and installs the new software package.
We can also enable background downloading for you. Android terminals use this by default. With background downloading, the terminal downloads new software after the maintenance call. This reduces the chance that the software update fails because the internet connection is down at the reboot hour.
Apart from updating automatically, you can decide to participate in our beta program.
For more information about update strategies and the release cycle, see Update to a new release
What you need to do
It is important that:
- The terminal makes at least one maintenance call every day to receive information about any changes.
For this, the terminal must be turned on and have a network connection. - The terminal reboots every day.
To reboot automatically, the terminal needs to be turned on at the restart hour. To download updates when it reboots, the terminal also needs to have a network connection.
This means you must ensure that your terminal is turned on and connected to the network during at least one maintenance interval (three hours) before the restart hour (at 6:00 AM by default).
In practice, we recommend you keep your terminals turned on and connected to the network overnight.