> ## Documentation Index
> Fetch the complete documentation index at: https://adyen-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Run Diagnostics

> How to verify the state of a payment terminal.

To verify the state of a payment terminal, you can run tests remotely or on the terminal itself.

## Remote tests

* In a Terminal API integration, [make a diagnosis request](https://adyen-preview.mintlify.site/point-of-sale/diagnostics/request-diagnosis.md). This checks the condition of the terminal components, and returns the battery charge level (if applicable) and the unconfirmed batch count. This count is the number of payments that the terminal hasn't been able to send to the Adyen host.

* In a cloud Terminal API integration, use your Customer Area or an API request to verify whether specific terminals have a live cloud (WebSockets) connection to our Terminal API.

#### Tests on the terminal

* Check the connection with the Adyen payments platform. You can do this, for example, on first-time use of the terminal, or when there seems to be something wrong with the terminal's network connection.

* Check the hardware components such as the chip card reader.

## What do you want to do?

> [card] [Make a diagnosis request](https://adyen-preview.mintlify.site/point-of-sale/diagnostics/request-diagnosis.md)
>
> Check the state of a terminal with a Terminal API `DiagnosisRequest`.

> [card] [Check cloud connection](https://adyen-preview.mintlify.site/point-of-sale/diagnostics/check-cloud-connection.md)
>
> Remotely verify the live WebSocket connection of a terminal.

> [card] [Run connection tests](https://adyen-preview.mintlify.site/point-of-sale/pos-troubleshooting/connection-tests.md)
>
> On the terminal, verify the connection with Adyen.

> [card] [Run hardware tests](https://adyen-preview.mintlify.site/point-of-sale/pos-troubleshooting/hardware-tests.md)
>
> On the terminal, check the state of its hardware components.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.