Receive external events (Stripe, GitHub, etc.) at a path.
| Kind | Keyword |
| Since | 0.1.0 |
| Repeatable | yes |
webhook <path> [secret env <VAR>]
| Name | Type | Required |
|---|---|---|
path |
path |
yes |
A webhook is an HTTP POST endpoint that authenticates requests via a shared secret (read from an env var) and dispatches to an on event <name> handler matching the event payload. Use this to process payment confirmations, VCS pushes, and any other inbound integration.
webhook /stripe/payment secret env STRIPE_SECRET
on event payment_intent.succeeded
query: UPDATE order SET status = 'paid' WHERE stripe_id = :event_id
⚠ Implementation touched after spec. Source code changed on
2026-05-20, but this entity's spec was last edited on2026-05-08. The description may be out of date.
| Spec last touched | 5da8498 (2026-05-08) |
| Source last touched | af278bb (2026-05-20) |
| Source files | internal/parser/parser.go |