question

Pavel avatar image
Pavel asked Miguel Deactivated answered

Make REST API calls without manual login

I'm developing Java Server application which runs periodic job to get orders reports per MerchantID (calling /v3/merchants/{merchantID}/orders).
Is there a way to get access token without manual merchant login?
Clover Doc ( https://docs.clover.com/build/oauth-2-0/) does not answer this question. Described procedure requires Merchant login and click on app icon which is not applicable during cron job.
Maybe there is a way to get code/access token without passing this procedure?
OAuth
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

Miguel avatar image
Miguel Deactivated answered
In order to generate OAuth API tokens, the merchant is required to log in to keep merchant's data secure. There's not a way to generate OAuth API token without having the merchant log in.
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