question

brajeshk2 avatar image
brajeshk2 asked David Marginian Deactivated commented

Not able to call authorize REST API to get authorize token using Oauth.

URL:- https://sandbox.dev.clover.com/oauth/authorize?client_id={clientid}

Method: Get

Getting Staus: 200 OK

Buth not receving response as authorize code to generate access token for calling other cover API.


Please help how to generate token using Oauth in sandbox environemnt.

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.

1 Answer

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

Please see the OAuth documentation - https://docs.clover.com/clover-platform/docs/using-oauth-20. The authorize endpoint (Step 1) doesn't return the code, it is used to redirect the merchant to login to their account.

2 comments
10 |2000

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

brajeshk2 avatar image brajeshk2 commented ·

Hi David,

Thanks for reply.

Can you provide us how i can get can access token(which end point need to call) using REST API?


Please help me.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ brajeshk2 commented ·

Please take the time to read the documentation - https://docs.clover.com/clover-platform/docs/using-oauth-20. You need to follow Steps 1-4.

0 Likes 0 ·

Welcome to the
Clover Developer Community