Payload Hashing

If the desired endpoint requires a hash of the payload they receive to verify authenticity, you may generate the hash value by constructing your Detokenize payload and posting it to the environment-appropriate URL listed below.

Test: https://test-api.tokenex.com/TransparentGatewayAPI/Hash?Type=XXX

Production: https://api.tokenex.com/TransparentGatewayAPI/Hash?Type=XXX

Our system will detokenize the payload, then hash it in its entirety using the hashing algorithm specified in the Type querystring parameter. Acceptable Type values are:

  • MD5
  • SHA1
  • SHA256
  • SHA384
  • SHA512

Results will be returned in both the body and the headers of the Response.

HeaderBodyDescription
tx_hashValueHashValueThe hashed value of the detokenized payload
tx_refNumberRefNumberThe TokenEx Reference Number for the transaction