question

hardikadroja510 avatar image
hardikadroja510 asked bryanvargas commented

API Token generation issue

refrance link

https://docs.clover.com/docs/using-oauth-20


1699008939547.png


we are genrating api token using steps that are mention in above link
we need AUTHORIZATION_CODE for get api token.


right now we are geting below error in setp1.

{"message":"Site URL not configured for developer app ZD38BXXXXXXXX"}

can you please help us to solve this error and get the AUTHORIZATION_CODE.

Thanks.

REST APIaccess token
1699008939547.png (13.5 KiB)
10 |2000

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

bryanvargas avatar image
bryanvargas answered

This is not the correct place for a site url, that is only for webhooks. If your app type is REST Clients there is a section specific for the site URL in the App Settings> REST Configuration

More information can be found here: https://docs.clover.com/docs/merchant-interaction

10 |2000

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

bryanvargas avatar image
bryanvargas answered

You need to add a SITE URL to your app through the developer dashboard.

10 |2000

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

hardikadroja510 avatar image
hardikadroja510 answered

we already added site url,see the below image
1699253849438.png


we added site url in APP -> APP SETTING -> webhook url

is this correct palce where we added site url? or is this worng then please suggest correct location.

Thanks.


1699253849438.png (17.2 KiB)
10 |2000

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

hardikadroja510 avatar image
hardikadroja510 answered bryanvargas commented

We don't have option of REST Configuration in App Setting
1699352756957.png



can you please suggest how to get REST Configuration option?


Thanks.


1699352756957.png (111.3 KiB)
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.

bryanvargas avatar image bryanvargas ♦♦ commented ·

Your app type is not listed to be a REST CLIENT, add REST CLIENT to your app type. We have a tutorial in our docs that visually shows this: https://docs.clover.com/docs/using-oauth-20#watch-the-tutorial

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