POST /api/stripe/webhook
Route source: app/api/stripe/webhook/route.ts. Access: Stripe signature.
POST
/api/stripe/webhookAccess
Stripe-Signature header
Request
Request body in the handler contract: none.
Synthetic curl example
curl -i -X POST 'https://portal.rfi-irfos.com/api/stripe/webhook' \
-H "Stripe-Signature: $SYNTHETIC_SIGNATURE" \
-H 'Content-Type: application/json' \
--data-binary @request.jsonResponse
The handler returns JSON. Response fields are defined in the linked route source.
200 400 413 500 503
The linked source file contains the authoritative field validation and response structure.
Error codes
400· Request or input validation failed413· Request body exceeds the size limit500· Internal handler error503· Service or database is unavailable
Code evidence
app/api/stripe/webhook/route