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.
Header | Body | Description |
---|---|---|
tx_hashValue | HashValue | The hashed value of the detokenized payload |
tx_refNumber | RefNumber | The TokenEx Reference Number for the transaction |
Updated about 4 years ago