Stripe Webhook
Handle Stripe webhook events for billing
This endpoint handles:
- checkout.session.completed: Customer completed checkout, create billing period
- invoice.paid: Invoice was paid successfully
- invoice.payment_failed: Payment failed
- customer.subscription.updated: Subscription status changed
- customer.subscription.deleted: Subscription was cancelled
Args: request: FastAPI request object (for raw body access) db: Database session
Returns: Success acknowledgment
post/api/webhooks/stripe
Request
- Base URL: https://api.latted.com (the document declares no server; this is the origin it was published from)
- URL: https://api.latted.com/api/webhooks/stripe
- Auth: HTTP bearer
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 20 revisions of this API.