Skip to main content
A webhook is a callback function based on the HTTP protocol. It allows a remote API to establish event-oriented communication with our API.
  • In our system, an event corresponds to a change in the order status. When an event occurs, our system notifies you by calling the URL you provided.

How Our Webhook Works

  1. Subscription to Events: The remote API (client) subscribes to events on our API by providing a callback URL where events will be sent.
  2. Event Triggering: When an event occurs within our system, a POST request is sent to the client’s callback URL with details about the event.
  3. Payload: The payload of the POST request contains information about the status of the order.
  4. Response Handling: The client’s server processes the incoming webhook payload and responds with a status code to acknowledge receipt.

Steps to Set Up a Webhook

1

Register a Webhook

Provide the callback URL where events will be sent. Create Webhook
2

Handle Incoming Requests

Ensure your server can handle POST requests and process the incoming event data.
3

Acknowledge Receipt

Respond to the webhook POST request with a 2xx status code to acknowledge successful receipt.

Example Webhook Payload