Stripe webhook receiver
POST /api/webhooks/stripe
POST
/api/webhooks/stripe
Receives Stripe subscription lifecycle events. Public — authenticated via the Stripe signature header, not session/API key.
Responses
Section titled “ Responses ”Successful response
object
success
Whether the request succeeded.
boolean
data
Endpoint-specific response payload.
message
string
Example
Operation completed error
string
Example
Error messageInvalid request
object
success
boolean
error
string
Example
Error messageInternal server error
object
success
boolean
error
string
Example
Error message