Skip to content

Stripe webhook handler

POST
/webhooks/stripe
curl --request POST \
--url https://example.com/api/webhooks/stripe \
--header 'Content-Type: application/json' \
--data '{}'

Handles checkout.session.completed, subscription events. Idempotent via event ID.

Media type application/json
object

Success

Media type application/json
object
ok
required
boolean

Signature verification failed