Discussions

Ask a Question
Back to All

Webhook Verification working for withdraw events but not for payment events

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?

Questions? Contact us