question

shawjames avatar image
shawjames asked parquet76 edited

REST Pay Display API introduction

REST Pay Display API introduction
https://docs.clover.com/docs/rest-pay-intro


This function is exactly what I am looking for, to integrate my web-based POS to a Clover device for payment processing. I've been studying the docs and testing APIs, but I believe I am missing a step. This intro video mentions a RAID and Oauth Access code for your "app".

There is no mention of what needs to be done with the RAID or Oauth Access code. I assume this means I need to create a developer account, request approval for the account, and then create an App and Submit for approval - once approved, I need to install that APP on the device along with the REST Pay Display app.

Is this correct?


I was hoping this could be done with a simple API request, such as the API reference:


curl --request POST \

--url https://deviceiporhost:12346/connect/v1/device/ping\

--header 'X-Clover-Device-Id: MYDEVICE' \

--header 'X-POS-Id: MYPOS' \

--header 'accept: application/json' \

--header 'authorization: Bearer MYAPITOKEN'


However, when I try this with the correct IP displayed on the device, and the correct required fields , I get a "connection refused" response.


Can someone please confirm, to use the REST Pay API, I will need to install both a custom approved app AND the REST Pay Display app?


REST APIapp approvals
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
parquet76 avatar image
parquet76 answered parquet76 edited

All Clover semi-integrations require a Clover app, the app in this case isn't installed on the device it provides a mechanism for you to obtain an access token and provides Clover with information regarding who originated the payment, etc. Please see the Rest Pay API documentation: https://docs.clover.com/docs/rest-pay-development-basics.

Also, if you are trying to connect from a web browser you should be be using a cloud not direct network connection (the cert on the Clover device required for direct network connections will not be trusted by default by the browser), and Cloud Pay Display (not Rest Pay Display) see the docs for configuring a cloud connection: https://docs.clover.com/docs/configuring-a-cloud-connection.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community