Stripe Webhook
Handle Stripe webhook events.
Flow:
- Verify signature (400 on failure).
- Atomic idempotency check: insert into billing_events keyed by stripe_event_id. If the row already existed, treat as a replay and return 200 without running handlers.
- Dispatch to per-event-type handler.
- Mark event processed.
The reconciliation logic itself lives in module-level handle* helpers so unit tests can drive them directly.
post/api/billing/webhook
Request
- Base URL: https://api.crowelogic.com (the document declares no server; this is the origin it was published from)
- URL: https://api.crowelogic.com/api/billing/webhook
- Auth: none declared
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.