Check in the Customer Area
In your Customer Area, you can view the terminals list or the terminal details to verify whether terminals have a live cloud connection to Terminal API:- In your Customer Area, go to In-person payments > Payment devices, and select the Terminals tab.
- Check the WebSocket column. This uses cloud symbols to indicate the cloud connection status of each terminal, or a minus sign (**) if WebSockets aren’t enabled. If the WebSocket column isn’t shown, select the settings icon **and select the column. There is a delay between the actual status and the status shown in the list. You may want to check an individual terminal as described below.
-
Select the terminal from the list.
The page Settings > About this terminal appears. If you do not see the field Cloud connection, WebSockets aren’t enabled for the terminal. -
At Cloud connection, select Check connection.
An icon indicates the result, and a message pops up, either:
Terminal is connected.
Terminal is disconnected. This indicates the terminal is turned off, or there is a problem with the
terminal’s cloud connection.
Check using an API request
You can check the cloud connection status of your payment devices using the Cloud device API Cloud device API. This allows you to:- Check if a specific device has a cloud connection.
- Get a list of devices that have a cloud connection. It is still possible to use the old way of receiving a list of terminals that have a live cloud connection. However, we strongly recommend that you use Cloud device API to check the cloud connection.
Check the cloud connection status of an individual device
You can check if a specific payment device or app installation ID (in an IPP Mobile solution) has an active cloud connection using the/merchants/{merchantAccount}/devices/{deviceId}/status endpoint.You need to authenticate your Cloud device API requests with an API key that has the Cloud device API role
-
Make a GET status request, specifying the following path parameters.
Check connection status of a device
-
In the response, check the
statusparameter to see if the device is OFFLINE or ONLINE. Response for connection status of an individual device.
Get a list of devices that have a cloud connection
You can retrieve a list of payment devices (or app installation IDs in a Mobile solution) that have an active cloud connection for a specified merchant account. You can optionally filter this list by store.You need to authenticate your Cloud device API requests with an API key that has the Cloud device API role
-
Make a GET connectedDevices request, specifying:
- As a path parameter:
Get list of payment devices -
You receive a response with an array of device IDs for all devices that are associated with the specified merchant account or store and have an active cloud connection. Offline devices are not included.
Response with list of devices with active cloud connection.
Old API request to check cloud connection
This is the old way of checking for the cloud connection using an API request. We strongly recommend that you use the new way of checking the cloud connection. The/connectedTerminals endpoint returns a list of terminals that have a live cloud connection. You can get thisinformation for a merchant account, a store, or a specific terminal. The endpoint to use differs for test and live terminals:
- For test terminals:
https://terminal-api-test.adyen.com/connectedTerminals - For live terminals:
https://terminal-api-live.adyen.com/connectedTerminals
-
Make a POST request to the test or live
/connectedTerminalsendpoint, specifying:Here are some example requests: Get connected terminals under a merchant accountGet connected terminals under a storeCheck a specific terminal -
You receive a response with:
uniqueTerminalIds: an array with the POIIDs of the terminals that have a live cloud connection. If you checked a specific terminal, the sameuniqueTerminalIdfrom the request is returned.
If theuniqueTerminalIdsarray from the response is empty, this can indicate:- No terminal found with a live cloud connection.
- WebSockets are not enabled.
Check on the terminal
To verify on the physical terminal whether it has a live cloud connection to Terminal API, run a Terminal API connection test:- Check the icons in the top row of the terminal display: there should be a cloud icon.
- Select Settings > Diagnostics.
- Select Terminal API: the items API enabled, WebSocket enabled, and WebSocket connection should all
have a green check mark
.
Restore the cloud connection
If the result from your check indicates the terminal doesn’t have a live cloud connection to Terminal API:-
Check that WebSockets are enabled.
If disabled, go to your Customer Area and enable WebSockets under In-person payments > Terminal settings > Integrations. - If you checked remotely, verify that the terminal wasn’t turned off at the time.
- If the terminal is turned on, restart the terminal.