Webhooks
Handle Stripe Webhook
Changed onHandle incoming Stripe webhook events.
This endpoint receives webhook events from Stripe for:
- checkout.session.completed: Successful one-time payments
- invoice.paid: Successful subscription/invoice payments
- invoice.payment_failed: Failed payment attempts
The endpoint:
- Verifies the webhook signature to ensure authenticity
- Processes the event based on its type
- Stores changes in the database
- Returns 200 only AFTER database commit (per user requirement)
Note: This endpoint is public but protected by Stripe signature verification. Only requests signed with the correct webhook secret will be processed.
post/api/v1/webhooks/stripe
Request
- The document declares no server URL.
- Authnone declared
Response
Successful Response
unknown required
Changes
- info
endpoint added
- info