Generate signature token
To generate signature token, you can use this formula :
Signature = encrypt method rule HMAC(StringToSign, faspay_secret)
Parameter | Type |
---|---|
method | GET |
path | define URL service that will be used (list of service) |
timestamp | datetime (Y-m-d H:i:s). Sample : 2018-10-09 14:24:00 |
token | base64_encode (CLIENT_KEY:CLIENT_SECRET) |
request_body | for this service, set request body to empty string |
StringToSign | " [method]:[path]:[timestamp]:[access_token]:[request_body]:[request_body] ” |
*) without [] and "" | |
faspay_secret | will given by faspay |
Last updated