How to validate webhook calls by using the signingSecret
value.
X-Satws-Signature
header is sent to help verify it. Syntage generates a signature using a hash-based message authentication code (HMAC) with SHA-256 using the signingSecret
as key. To verify the hash you can do the following steps:
,
character as the separator. The value for the prefix t
corresponds to the timestamp and s
corresponds to the signature.
"1656569160"
- The character .
(dot) - The actual JSON payload (that is, the request body)