> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stripe webhook handler

> Stripe webhook receiver. This endpoint does NOT require org_id from auth; Stripe signs the payload so the request is self-authenticating…

Stripe webhook receiver. This endpoint does NOT require org\_id from auth;
Stripe signs the payload so the request is self-authenticating.

**Required scope:** `write`

### Response

No response body. Webhook processed.

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | Webhook processed                                  |
| `401` | Invalid signature                                  |
| `403` | Forbidden — the key/token lacks the required scope |
| `429` | Rate limited — see Retry-After / X-RateLimit-Reset |
| `503` | Billing not configured                             |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.nsr.stateset.com/api/v1/billing/webhooks/stripe' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>
