---
title: "Stripe webhook: drive the hosted license lifecycle on subscription events"
method: POST
path: "/onprem/v1/stripe/webhook"
tags: ["onprem", "onprem", "__public__"]
---

# Stripe webhook: drive the hosted license lifecycle on subscription events

`POST /onprem/v1/stripe/webhook`

## Response `200`

Success

- SuccessResponseDictStrBool
  - `success` true, required — Flag for it request was successful
  - `data` object, required — Response data
  - `meta` ResponseMeta
    - `requestId` string — Unique request identifier for tracing
    - `timestamp` string, date-time — Response timestamp (UTC)
    - `durationMs` integer, nullable — Request processing time in milliseconds

## Other responses

- `400` — Validation Bad Request
- `401` — Auth Invalid Token
- `403` — Forbidden Insufficient Permissions
- `422` — Validation Failed
- `426` — Business Quota Exceeded
- `500` — Internal Error

---

[API](https://skmtc.dev/definite/apis/defapi.md) · [All operations](https://skmtc.dev/definite/apis/defapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/definite/defapi/revisions/5ea378187147/schema)
