Webhook validation
For signature verification, it is essential to use the raw body of the request. If you are using a framework, ensure that it does not alter the raw body, as any manipulation will cause the verification process to fail.Key Points
- Raw Body Requirement: Ensure the raw body of the request is used for verification. Avoid any transformations by your framework that might alter it.
- Signature Header: The signature is retrieved from the X-Orq-Signature header.
- Exception Handling: Implement exception handling to manage invalid request bodies and signature verification failures.
Webhook Events Webhook Best Practices