I have worked with APIs in the past and have worked with OAuth2.0 as well. But normally I do not have much difficulty in getting so much as the example code to work as I am right now.
I setup a sandbox merchant and integration but have not been able to get so much as the try it example https://docs.clover.com/clover-platform/reference/merchants-1 to run.
curl --request GET \ --url 'https://sandbox.dev.clover.com/v3/merchants/PP55MZA3PJXD1?access_token=61a50800-xxxx-xxxx-xxxx-5a64b9f2a025' \ --header 'accept: application/json'
I am only getting 401 unauthorized errors.
I retrieved the merchant id and token from below. (Using token not code method for testing in my dev market integration)
https://{my_integration_url_here}?merchant_id=PP55MZA3PJXD1&employee_id=xxxxxxxxxx&client_id=xxxxxxxxxxxxx#access_token=61a50800-xxxx-xxxx-xxxx-5a64b9f2a025
Could my issue be that my developer account is still pending approval?
All applicable permissions were applied and I even removed and reconnected the test merchant to the app.
I have tried this many different ways with no change in the results.
Please assist.