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

# Stripe Webhook

> Receive Stripe subscription lifecycle events.

<Warning>
  This endpoint is intended for Stripe. Client integrations normally do not call it directly.
</Warning>

## Request

Stripe sends the event JSON body and a `stripe-signature` header.

## Response

Returns a processing result such as `{"status":"success","action":"subscription_updated"}`.

## Supported events

* `checkout.session.completed`
* `customer.subscription.updated`
* `customer.subscription.deleted`
* `invoice.paid`
* `invoice.payment_failed`

### Example response

```json theme={null}
{
  "status": "success",
  "action": "subscription_updated"
}
```
