I have configured a webhook, when event occur in application the url is called but i m not getting any data in call.
According to its documentation
For added security, webhooks sent to OAuth-authorised applications are signed so they can be verified as originating from Vend and unaltered in transit. A hash-based message authentication code is used for the signature. If the webhook request contains a header as below, the application can verify the request.
X-Signature: signature=897hRT893qkA783M093ha903f,algorithm=HMAC-SHA256
To do this, generate a signature by hashing the webhook request body and compare it to the signature in the header for an exact match. Use the algorithm specified in the header and your application’s client_secret as the hash key.
Reference - https://docs.vendhq.com/tutorials/guides/webhooks/introduction
I have keys, but i am not sure how to generate a signature by hashing the webhook request body ?
Any thoughts ?
Thankyou