question

ashokg avatar image
ashokg asked David Marginian Deactivated commented

Create access_token on production

Hi all,


We are trying to create access_token to use rest APIs of clover,

we are able to generate from sandbox but not on production.

Please suggest

Thanks

API Token
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

We can't help you if you don't provide any details. What are the steps you are taking? What is the error you are receiving? What is your app Id?

10 |2000

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

ashokg avatar image
ashokg answered David Marginian Deactivated commented


https://clover.com/oauth/token?client_id={we have this}&client_secret={and this}&code= {but we are trying to this.}


we are trying to get the Authorization _code to call the APIs, for the production.. but did not get the way to get it.


please advice.

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.

David Marginian avatar image David Marginian ♦♦ commented ·

You are trying to get the code? Have you read our OAuth documentation? https://docs.clover.com/docs/using-oauth-20. The first step in the process is merchant authorization. The merchant needs to authorize your application to access to their data. This is done when the merchant installs your app from the Clover App Market. After the merchant has performed this step, we will redirect to your site url and the code will be populated.

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