question

dwelsh360 avatar image
dwelsh360 asked dwelsh360 commented

Remote Pay API docs

Hi,

Is there any documentation around using the actual clover endpoints to run payments on the terminal? We would prefer to not use the provided sdk's or npm modules, is that possible?

Use case: Clover mini installed at client location, payments initiated from a back end server that is off premise.

Thanks

5 comments
10 |2000

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

Mark Mullan avatar image Mark Mullan commented ·

Hi @DWelsh360,

Why would you not use the SDKs?

0 Likes 0 ·
dwelsh360 avatar image dwelsh360 commented ·

They are not really compatible with the framework that we have. It could work, but writing directly to the API's would be much better for us.

0 Likes 0 ·
Mark Mullan avatar image Mark Mullan commented ·

Got it - thanks for the insight. The direct answer to your question is no - you aren't able to take control of a Clover device through an API directly, bypassing usage of the SDK.

The longer answer, that I'm curious about, is why? What specifically about your framework makes the remote-pay-cloud sdk/npm package incompatible? We're all ears about how we can make the sdk as tech-agnostic as possible.

Thanks,

Mark

0 Likes 0 ·
dwelsh360 avatar image dwelsh360 commented ·

HI Mark,

NPM is an issue because we don't currently use it and installing additional software will create issues for us in terms of support and troubleshooting as it's outside of our application. We can probably get the SDK to work but I can't seem to find any examples of using the SDK with the Cloud Pay Display app. The SDK seems skewed towards USB or web sockets connecting directly to the device. Hopefully I'm wrong and I'm just missing something here.

Thanks

0 Likes 0 ·
Mark Mullan avatar image Mark Mullan commented ·

re: examples, you can find a POS example here and unit examples here that you can git clone and run locally. Neither requires USB. Have you tried these yet?

The remote-pay-cloud SDK itself has a very small list of dependencies (see its package.json) and is required for a handful of reasons.

Does this help?

0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community