Stella emits HMAC-SHA256-signed webhook events for every meaningful state change. You point us at a URL, pick events, and your system gets pinged on every order, customer, inventory, or product change. The wire format is Stripe-style:Documentation Index
Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt
Use this file to discover all available pages before exploring further.
t=<unix>,v1=<hex> in the
X-Stella-Signature header, signed payload is <timestamp>.<rawBody>.
Register an endpoint
In the dashboard at Settings → Webhooks:- Click Add endpoint.
- URL — your receiver (
https://kasa.com/api/stella/webhooks). - Pick events. The v1 taxonomy:
order.created,order.paid,order.fulfilled,order.cancelled,order.refundedcustomer.created,customer.updatedinventory.updatedproduct.updated
- Save. The signing secret (
whsec_…) is shown once — copy it.
Verify a delivery
Pseudocode (real implementation: see@stella/webhooks):
Use
@stella/webhooks (PR #81) once published — the manual
implementation above is just to show the wire format.Retry policy
Failed deliveries (any non-2xx, or timeout > 30s) are retried with exponential backoff:failed and shown
red in the dashboard’s delivery log. You can replay it from there.
Delivery log
Every event surfaces:- Event type, merchant ID, payload hash
- Each attempt’s status, response body, response time, ACAO header
- Replay button per delivery
Idempotency on your end
Every event carries anevent_id that’s stable across replays. Your
receiver should: