Skip to main content
Yonne sends a signed HTTP POST to your registered webhook URL whenever an order changes state. This page lists every event type and shows the exact payload shape you’ll receive. See Webhook Setup & Security for how to register your endpoint and verify signatures.

Supported events


Event envelope

Every event uses the same outer envelope:

Events

order.driver_assigned

Fires when a driver accepts and is assigned to the order. This is the first event that includes a populated courier object.
Suggested action: Update your order status to show a driver has been found. Use tracking_url to notify your customer so they can follow the rider in real time.

order.picked_up

Fires when the driver marks the order as collected from your pickup location.
Suggested action: Mark the order as “In Transit” in your system and send an estimated delivery notification to your customer.

order.delivered

Fires when the driver marks the order as successfully delivered to the customer.
Suggested action: Mark the order as complete, release any escrow, and trigger a post-delivery review request to your customer.

order.failed

Fires when the order exhausted all driver dispatch attempts and no driver was found. The courier field is null for this event.
Suggested action: Mark the order as failed in your system, notify the customer, and trigger any retry or refund logic your business requires.

order.status_changed

A legacy fallback event that fires on any status transition not covered by the specific events above. Treat it as a general-purpose status update.

Handling unknown event types

New event types may be added to this catalog over time. Your handler should log and ignore events it doesn’t recognise rather than throwing an error — this prevents future additions from breaking your integration.

Retry behavior

If your endpoint returns a non-2xx status or times out, Yonne retries with exponential backoff (1 min → 15 min → 60 min, up to 3 retries). Design your handler to be idempotent — receiving the same event twice should not cause duplicate side effects. See Webhook Setup & Security for the full retry table and deduplication pattern.