Generate Signature Payment API

Signature transaction is a security feature that allows the merchant to identify the transaction script from faspay system

The signature for tokenization registration API generated by these steps:

  1. stringToSign = "##" + strings.ToUpper(username) + "##" + strings.ToUpper(password) + "##" + strings.ToUpper(merchant_tranid) + "##" + amount + "##" + "0" + "##"

  2. hash sha256 stringToSign in binary

  3. encode to base64

Sample Generate Signature :

stringToSign = "##" + "MPGS_PURCHASE" + "##" + "ABCDE" + "##" + "TKN106" + "##" + "10000.00" + "##" + "0" + "##"

Last updated