question

jms avatar image
jms asked ·

PAKMS Key persistence

Hello,

According to the following post, it seems that the PAKMS key generated by the endpoint

https://apisandbox.dev.clover.com/pakms/apikey is the same for a given merchant+app combination. Hence to avoid unnecessary clover api invocations, I am planning to save this and reuse.

However, the response to the PAKMS apiKey request gives me some pause. A field called 'modifiedTime' is present in the apiKey response. Does this imply that the key could change in the future?

If it does change, how would I get to know that it has changed?


e-commerce api
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
David Marginian avatar image
David Marginian answered ·

The key can be revoked on our end, etc. If this were to happen, the payment would not work. If you are concerned about this you could store both the token and the modified time.

Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community