Generate signature other service
To generate another service on Faspay account you can use that format below :
Signature = encrypt method rule HMAC (StringToSign, faspay_secret)
Parameter | Type |
---|---|
method | POST / GET(based on service API) |
path | define URL service that will be used (list of service API) |
timestamp | datetime (Y-m-d H:i:s). Sample : 2018-10-09 14:24:00 |
token | base64_encode (CLIENT_KEY:CLIENT_SECRET:ACCESS_TOKEN) |
AccessToken is a token that is already owned by the partner in accordance with the service token that will be used | |
request_body | for this service, set request body to empty string |
StringToSign | "[method]:[path]:[timestamp]:[access_token]:[request_body]" |
*) without [] and "" | |
faspay_secret | will given by faspay |
Last updated