I need to dynamically generate an authorization code in order to authenticate my Custom Action for submitting a card transaction. The code needs combine a set of fields (among them the current date) in an HMAC-SHA256 signature that is base64 encoded. Here are the specs for anyone interested:
https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/json/authentication.html?paymentPlatform=ALLI was looking at the documentation for something similar (
https://help.mypurecloud.com/articles/how-to-use-the-user-defined-oauth-credential-type/), but this does not go far enough. Two questions remain:
1. How to encode with HMAC-SHA256?
2. How to include the current timestamp in the signature?
Any insight is much appreciated.
#Integrations------------------------------
Sven Schiller
Kognitiv
------------------------------