Generating the HMAC Signature
To create the HMAC signature, the payload converted to jsonString format must be encrypted with the SHA256 algorithm, using the HMAC secret private key as the signature. The generated signature must be in HEX format. Note that the secret itself is in HEX format; this must be taken into account during implementation, since some HMAC generator libraries do not expect this parameter in HEX format by default (this may vary by library).
HMAC signature example
66A300848188A93663FB2334A0258DB5DEBA442CA2258033645905F4FD96A7E0
Details
Detailed steps for HMAC generation: HMAC Authentication