Delivery Direction
This webhook is sent by Wasl to your server — you do not call this endpoint yourself.Payload Fields
string
The unique Wasl order number for this delivery.
string
Your unique vendor identifier on the Wasl platform.
string
The unique identifier of the branch associated with this order.
string
Your internal order ID as provided at order creation. Use this to match the event to your records.
string
The full name of the customer who received the delivery.
string
The customer’s phone number, including country code.
string
The UTC datetime string for when the order was originally created on the Wasl platform.
string
The final delivery fee charged for this order, returned as a numeric string (e.g.
"4.620"). Parse to a float or decimal type before storing or displaying.string
The total delivery distance in kilometres as recorded at completion, returned as a numeric string (e.g.
"34.9990"). Parse to a float or decimal type before use.string
A secret token for verifying that the request originated from Wasl. Returns
null if no webhook token has been configured in your account. See the Webhooks Overview for details.Example Payload
Payload
Handling the Event
After validating thewebhook_token (if configured), a typical handler will:
- Look up the order using
vendor_order_id. - Update the order’s final delivery fee and distance with the values from the payload.
- Mark the order as completed in your system.
- Trigger any downstream processes — such as invoicing, customer notifications, or reporting.
- Return HTTP 200 to acknowledge receipt.