question

flute avatar image
flute asked flute commented

Open a TAB from REST API + Have it show on the POS Mini Device

We’re using the REST api to communicate with the devkit PoS device. From the REST api, is it possible to open a tab for a user and have it sync and reflect on the POS device?

According to your docs, I need to create an order and pre-authorize a payment, which I’ve tried but ran into these errors:

‘Invalid payment’ when using CASH as tender
‘We currently don't allow you to add native credit or debit payments’ when using CREDIT CARD as tender

Here is my flow:

1. Create Order
2. Create Payment
3. Create Authorization (using the payment object from #2)

Thanks
REST APIDevKitAuth
10 |2000

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

Raymond Lee avatar image
Raymond Lee Deactivated answered flute commented
Hi @flute,

Unfortunately we currently do not support pre-authorization through REST API at this time. So it is currently not possible.

Sorry for the inconvenience,
Raymond
1 comment
10 |2000

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

flute avatar image flute commented ·
Thanks for you answer. Is there anyway todo it remotely? For example, from android SDK or iOS SDK?
0 Likes 0 ·
Raymond Lee avatar image
Raymond Lee Deactivated answered
Yes, it is possible to do it remotely through our Remote Pay API, which will let you communicate with a Clover device remotely. You can find our list of Remote Pay SDKs on our Clover GitHub repositories here: https://github.com/clover/

For Android, you can find the repository here: https://github.com/clover/remote-pay-android
and here is an example of creating a pre-auth on it: https://github.com/clover/remote-pay-android/blob/...

For iOS, you can find the repository here: https://github.com/clover/remote-pay-ios
and it has the same preauth function: https://github.com/clover/remote-pay-android/blob/...

Hope that helps,
Raymond
10 |2000

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