verify function will return the payload.
You can get the signature from the X-Vartiq-Signature header. If you provided your own signature header name, you can use that instead.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Verify your webhook
verify function will return the payload.
You can get the signature from the X-Vartiq-Signature header. If you provided your own signature header name, you can use that instead.
const verifiedPayload = vartiq.verify(payload, signature, webhookSecret);
verifiedPayload, err := client.Verify(payload, signature, webhookSecret)
verified_payload = vartiq.verify(payload, signature, webhook_secret)
const signature = crypto.createHmac("sha256", webhookSecret).update(payload).digest("hex");
signature := hmac.New(sha256.New, []byte(webhookSecret)).Sum(payload)
signature = hmac.new(webhook_secret.encode(), payload.encode(), hashlib.sha256).hexdigest()
$signature = hash_hmac("sha256", $payload, $webhookSecret);