I'm trying to follow the procedure outlined here:
https://docs.clover.com/docs/making-rest-api-calls
I have a sandbox merchant and API token, but when I try to mimic this curl command:
curl --request GET \ --url https://apisandbox.dev.clover.com/v3/merchants/{mId} \ --header 'accept: application/json' \ --header 'authorization: Bearer {auth_token}'
I receive this response:
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
curl: (6) Could not resolve host: application
curl: (3) URL using bad/illegal format or missing URL
My exact curl command (with sandbox merchant and sandbox API token redacted) is:
curl --request GET --url https://apisandbox.dev.clover.com/v3/merchants/XXXXXXXXXXXXX --header 'accept: application/json' --header 'authorization: Bearer{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}'
I thought I would be able to query for merchant (or other authorized information); have I misunderstood some part of this process? Please let me know.