Skip to main content
When you register a webhook endpoint in the Channel Manager API, you will start receiving events in your webhook endpoint. These events are sent as HTTP POST requests with a JSON payload that contains information about the event. The standard structure of the webhook event object is as follows:
  • request.headers['x-webhook-id']: The unique identifier of the event.
  • request.headers['x-webhook-signature']: The signature of the event. This value is generated using the sign_secret value you received when you registered your webhook endpoint.
  • request.body.id: The unique identifier of the event.
  • request.body.event: The name of the event. Example payment.success.
  • request.body.payload: The data related to the event. This can be different for each event type.