I am trying to get pakmskey using code from here (https://docs.clover.com/reference#getapikey) This api does not taking anyextra param like my appID, secretkey so how this is going to give me apitoken?
Attachments: Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.
The PAKMS key is a key used to tokenize credit card data. In order to obtain the PAKMS key you need to obtain (https://docs.clover.com/docs/using-oauth-20) and pass (https://docs.clover.com/docs/using-api-tokens) an OAuth token.
Sir, I am obtaining oAuth token. I just cant figure it out that where to pass that code or access_token. In pakms api documentation, api is not taking any param.
I try again with your answer still getting the 401 Unauthorized
Sir, when I set my Default oAuth response to testing only it gives me some kind of access_token in address bar. I suppose that is my bearer token for oAuth.Now when I am passing that in pakms api it always give me 401 authorized can you help me please regarding this issueI am trying to configure ecommerce sdkthank you
The permissions required for the PAKMS endpoint and all other EComm endpoints are discussed here - https://docs.clover.com/docs/ecommerce-app-permissions.
If your app doesn't have the required permissions you will need to add them and then uninstall/reinstall your app, instructions and more information on resolving 401s here - https://community.clover.com/articles/23744/resolving-401-unauthorized-responses-when-making-a.html.
Please don't post sensitive information, I have deleted your post. Is your app in sandbox, or in production? What is your app id?
2 People are following this question.
Unable to apply Discount
E-commerce API Errors
Clover Ecomm Payment with Tip shows as Partially Paid
Ecom APi Permission issue
Hosted Checkout responds with "Unauthorized"