Please review our guide to asking questions and provide as much detail as possible. For instance, what process were you using before? When did your approach no longer work? What specifically are you seeing that makes you say "it no longer works"?
I am following the process highlighted in the Developer Pay API guide (https://docs.clover.com/build/developer-pay-api/)
* I send an HTTP GET request to the URL 'https://apisandbox.dev.clover.com/v2/merchant/{mId}/pay/key' whilst providing the proper API key in the 'Authorization' header
* I receive a response in the form of
{
"modulus" : string,
"exponent" : string,
"prefix" : string
}
* According to the documentation, I should be receiving the following:
{
"pem" : String
"prefix" : String
"modulus" : String
"exponent" : String
"id" : String
}
* I am following the guide to a T and do not get the fields back which it states I will. Why?
The installation is meaningful for web apps.
In your OAuth flow, before receiving your access_token, you need a code. The code gathers what permissions are asked for by the app (your current installation/ version of the app). This code informs what permissions the access_token requested will ultimately have.
If you log into your developer account and update the permissions settings on your app, this does not update the access_tokens received by any current installation of the app.
That is why reinstalling the app is necessary when permissions have been updated.
1 Person is following this question.