Discussions
Webhook Verification working for withdraw events but not for payment events
7 days ago by Hitesh Gupta
Hi Support,
I am following this documentation to verify the webhooks in Nodejs.
https://apidocs.tryspeed.com/reference/verify-signatures
It is working fine for withdraw events but not for payment events. I am generating a HMAC-SHA256 signature
by combining ${webhookId}.${webhookTimestamp}.${requestBody}
It returns me same value as webhook-signature
in header of webhook for withdraw events. But for payment events, same function is used but output is different.
Is there a different way to validate the payment webhook events?