Stripe webhook receiver
Receives Stripe webhook events (customer.subscription.updated, customer.subscription.deleted — covers both Portal-driven and API-driven subscription changes) and syncs subscription state into the billing record. Verified via the Stripe-Signature header against a Stripe-issued signing secret — not part of the console’s bearer-JWT or connector HMAC auth models.
POST
/billing/webhooks/stripeAuthorization
Stripe-SignatureAPI key · headerrequiredStripe's own webhook signature scheme (timestamp + HMAC-SHA256 over the raw body, keyed by the Stripe-issued webhook signing secret). Verified via the Stripe SDK, not Sarvex's connector HMAC scheme.
Request body
requiredapplication/jsonobjectResponses
200
Event processed (or ignored, if not a handled type).
400
Request body failed validation.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequireddetailsobject | null401
Missing or invalid credentials.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequireddetailsobject | null