Skip to content

Stripe Webhook

POST
/api/billing/webhook
curl --request POST \
--url http://localhost:8000/api/billing/webhook

Stripe webhook. On a completed checkout, credit the workspace’s ledger.

Idempotent: keyed on the Stripe session id so a redelivered event won’t double-credit.

Successful Response

Media typeapplication/json
Examplegenerated
example