type field in the payload tells you whether busy mode is being activated or revoked. When activated, the payload also includes the UTC timestamps for when busy mode starts and when it is scheduled to expire.
Delivery Direction
This webhook is sent by Wasl to your server — you do not call this endpoint yourself.Payload Fields
string
Indicates the busy mode event type. One of:
BUSY_MODE_ACTIVATED— Wasl has entered busy mode and is not accepting orders.BUSY_MODE_REVOKED— Busy mode has been lifted and Wasl is accepting orders again.
string
UTC datetime string for when busy mode becomes active. Only present when
type is BUSY_MODE_ACTIVATED.string
UTC datetime string for when busy mode is scheduled to expire. Only present when
type is BUSY_MODE_ACTIVATED.string
A secret token for verifying that the request originated from Wasl. Always validate this before processing the payload. See the Webhooks Overview for details.
Example Payloads
Busy Mode Activated
Busy Mode Revoked
When you receive a
BUSY_MODE_ACTIVATED event, pause all order submissions to Wasl immediately. Resume only when you receive a BUSY_MODE_REVOKED event or the expired_at time has passed — whichever comes first. Do not assume busy mode always ends via the revocation webhook.Handling the Event
After validating thewebhook_token, a typical handler will:
- Check the
typefield. - For
BUSY_MODE_ACTIVATED:- Set a flag in your system to block new order submissions.
- Store
expired_atso you can resume automatically if no revocation event arrives. - Optionally notify your operations team.
- For
BUSY_MODE_REVOKED:- Clear the busy mode flag to allow order submissions to resume.
- Return HTTP 200 to acknowledge receipt.