Stripe Webhook
Handle Stripe webhook events.
Verifies the Stripe-Signature header against STRIPE_WEBHOOK_SECRET. On checkout.session.completed or invoice.paid:
- Upserts the tenant by email.
- Provisions a Neon DB if not already done.
- Creates an API bearer token and sends a welcome email.
Returns {"status": "ok"} on success or if the event type is ignored. Returns 400 on signature verification failure.
post/webhooks/stripe
Request
- Base URL: https://usemeridian.us (the document declares no server; this is the origin it was published from)
- URL: https://usemeridian.us/webhooks/stripe
- Auth: none declared
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.