billing
Receive a Stripe webhook event
Receives a Stripe webhook event and, for checkout.session.completed, posts the matching credit to the organization's ledger and marks the checkout session complete. Not bearer-authenticated: the request is authenticated by Stripe's Stripe-Signature header, verified against the raw request body and the endpoint's webhook signing secret. Credit posting is idempotent — replaying the same event id posts the credit only once. Returns 200 for any verified event (handled or not) so Stripe stops retrying; a signature failure returns 400.
post/api/v0/stripe/webhook
Request
- Base URL: https://api.harmont.dev
- URL: https://api.harmont.dev/api/v0/stripe/webhook
- Auth: none required
Response
The event was verified and recorded
Changes
No recorded changes to this operation across all 1 revision of this API.