question

farisk2010 avatar image
farisk2010 asked David Marginian commented

Integrate .Net API with clover

I want to get the access token in production env without any user interation. I actually want to integrate clover system api data with another system. In order to gain access to the api token it requires access code which we get throught the redirect url. But i want to get the access code directly without any user interactions ie, I already have merchant id , app secret, app id etc.

REST APIsemi-integrationsAPI TokenAuthaccess token
10 |2000 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
David Marginian avatar image
David Marginian answered David Marginian commented

Step 1 (https://docs.clover.com/docs/using-oauth-20#step-1-request-merchant-authorization) of the OAuth flow cannot be skipped. Otherwise any app could gain access to any merchant's data.

6 comments
10 |2000 characters needed characters left characters exceeded

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

If merchant has authorization, how will i get the access code through api , without getting it from the browser url.

0 Likes 0 ·

You can securely store the token on your end after the initial authorization.

0 Likes 0 ·
farisk2010 avatar image farisk2010 David Marginian ♦♦ ·

So you want me to manually take the value and save it , so there is no way to get it programatiically

0 Likes 0 ·
Show more comments

I want to integrate my web api with clover to get order details etc. But i want to get the access code / auth token directly. when i call oauth api i am getting the return as an html page. But i want the access code / auth token directly without any issues.

0 Likes 0 ·

We redirect to your app, how you handle the redirect is up to you.

0 Likes 0 ·

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