billing
Stripe Webhook
Handle Stripe webhook events.
IMPORTANT: This endpoint must:
- Receive raw body (not parsed JSON)
- Verify the Stripe signature
- Return 200 quickly (within 5-10 seconds)
Events handled:
- checkout.session.completed: User completed payment
- customer.subscription.updated: Plan changed
- customer.subscription.deleted: Subscription canceled
- invoice.payment_failed: Payment failed
post/api/webhooks/stripe
Request
- Base URLhttps://api.usecrow.ai (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: Stripe-Signature
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Stripe-Signaturestring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 4 revisions of this API.