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

No prerequisites for using this endpoint.

Steps

To check the connection to the Clover device:

  1. Send an empty POST request to the /v1/device/ping endpoint.
  2. Required. Include the required headers for your request.
    If the device is connected, the response indicates that state.
{
    "connected": true
}

Did this page help you?