Webhooks
Last updated
Last updated
Commerce service can notify your application about some kind of events that happens inside your company tenant. To notify your application, we use the pattern of REST Webhooks.
To start receiving our webhooks, you must first . Since your company has one webhook configuration enabled, you will start receiving our webhook events.
All of our webhooks are signed to confirm that your application is receiving a true webhook. This signature is sent in the request header named x-w3block-commerce-signature
.
To verify the signature follow the steps:
Compute a HMAC with the SHA-256 hash function of the request payload. Use your webhook configuration signature key in the signature creation.
Compare the signature in the header to the expected signature.
We can notify all of order events like creation and status changes to your application. See some examples above: