Digital signature - Tranglo

Digital signature

Partners MUST use a digital signature to connect to the gloRemit API. Digital signatures are used for partner authentication and non-repudiation.

A sales partner sending a message must generate a digital signature for the remittance message and submit the signature together with the message to the gloRemit API.

Tranglo implements the HMAC SHA-256 algorithm for digital signature generation. A unique secret key will be generated for each partner through the gloRemit Portal. This secret key shall be used directly as the HMAC SHA-256 secret key for digital signature generation.

Establishment of Digital Signature

The message sender shall perform the following steps to generate the digital signature:

  1. Concatenate all required message component values into a single string.
  2. Use the concatenated message string and the secret key generated through the GloRemit Portal as inputs for the HMAC SHA-256 algorithm.
  3. Convert the resulting hash value into a 64-character hexadecimal string.
  4. The resulting signature shall be used as the Signature value in the rspSign parameter for all GloRemit methods.

Required Message Component

The following message components concatenated for hashing to form digital signature. Please concatenate the value of the parameters as listed below.

Parameter NameValue
Get_Validation MethodRequest
  • UID
  • transID
  • sIDNum
  • bAccType
  • bAccNum
  • bIssuerCode
  • Do_Transfer Method Request
  • UID
  • transID
  • trxValue (Format: #.## - 2 decimal points without commas)
  • sCurr
  • sIDNum
  • sFirstName
  • sLastName
  • bCurrency
  • bIDNum
  • bFirstName
  • bLastName
  • bAccType
  • bAccNum
  • bIssuerCode
  • Get_Forex Method Request
  • UID
  • currFrom
  • currTo

  • Get_TransferStatus MethodRequest
  • UID
  • GTN
  • TransID (if any)

  • Do_BillInquiry MethodRequest
  • UID
  • transID
  • sIDNum
  • bAccNum
  • bIssuerCode

  • Do_BillPayment MethodRequest
  • UID
  • transID
  • trxValue (Format: #.## - 2 decimal points without commas)
  • sCurr
  • sIDNum
  • sFirstName
  • sLastName
  • bCurrency
  • bAccNum
  • bIssuerCode

  • Do_ChangeName
  • UID
  • Transid
  • bFirstName
  • bLastName

  • Get_ChangeNameStatus
  • UID
  • changeid

  • Do_Cancellation
  • UID
  • GTN
  • transID

  • Get_PayoutCode
  • UID
  • countrycode
  • requestid