Verifying connectivity

Before sending a transaction, your POS may need to check that the device is connected and ready to receive a transaction. Use the /v1/device/ping endpoint to check that the connection is live.

Prerequisites

There are no prerequisites for using this endpoint.

Checking the connection

Complete the following step to check the connection to the Clover device.

  • Send an empty POST request to the /v1/device/ping endpoint. Be sure to include the required headers for the request you are making.

If the device is connected, the response indicates that state.

{
    "connected": true
}

Did this page help you?