---
title: "Stripe Webhook"
method: POST
path: "/billing/webhook"
tags: ["billing", "billing-credits"]
---

# Stripe Webhook

`POST /billing/webhook`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/billing/webhook`
- Auth: none declared

Stripe webhook handler.

Handles:
- ``checkout.session.completed`` — credit top-ups
- ``invoice.paid`` — subscription renewals (adds period credits)

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
