Getting a customer's card data

Your app may need to read and then use the data on a customer's card. To read a card, use the /v1/card/read endpoint.

📘

NOTE

Some data, like the track 1 and 2 information, is returned encrypted for PCI compliance. This endpoint returns only non-sensitive information like the customer's name and the card's expiration date.

Prerequisites

  • The POS is connected to the device using a network or cloud connection
  • The Clover device is in an idle state (that is, no payment is being taken)

Getting card data

To read a card with the Clover device, do the following:

  1. Send an empty POST request to the /v1/card/read endpoint. Be sure to include the required headers for the request you are making.

The customer is asked to present their card. After the card is read, a success message is returned.

  1. To return to the welcome screen, send a POST request to the /v1/device/welcome endpoint.

Did this page help you?