Getting 401 when calling below api using postman from my local computer
curl --request GET \ --url https://apisandbox.dev.clover.com/v3/merchants/{mId} \ --header 'accept: application/json' \ --header 'authorization: Bearer {auth_token}'
Getting 401 when calling below api using postman from my local computer
curl --request GET \ --url https://apisandbox.dev.clover.com/v3/merchants/{mId} \ --header 'accept: application/json' \ --header 'authorization: Bearer {auth_token}'
@David Marginian still getting same issue
The public token is your PAKMS key (should be used only for card tokenization). The private key is your access token and what you need to use in your Authorization header for API calls. Note: it is prohibited to use merchant tokens in production for multi-merchant integrations.
can you please clarify this point "Note: it is prohibited to use merchant tokens in production for multi-merchant integrations."
If you are building an integration and many Clover merchants will be using your integration you should not be using Merchant tokens. Your integration should be an "App" and be available in our App Market and you should be obtaining an OAuth token (https://docs.clover.com/docs/using-oauth-20).
@David if i want to send order to clover using iphone app. I will not able to do it. If not how can i accomplish this
You need to create a Clover app (integration) and get it approved in our App Market. A merchant would install (connect to) your integration and you would obtain an OAuth token (https://docs.clover.com/docs/using-oauth-20). You would then secure store the OAuth token and use it for subsequent payments via your app.
1 Person is following this question.