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

# Stripe Webhook

`POST /v1/billing/webhook`

## Request

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

Handle Stripe webhook events.

IMPORTANT: This endpoint does NOT require authentication.
Instead, we verify the webhook signature using Stripe's signing secret.

Handles events:
- checkout.session.completed: User completed checkout, activate subscription
- customer.subscription.updated: Subscription details changed
- customer.subscription.deleted: Subscription cancelled
- invoice.paid: Invoice payment succeeded

## Response `200`

Successful Response

- object

---

[API](https://skmtc.dev/theagentc/apis/the-agent-c-api.md) · [All operations](https://skmtc.dev/theagentc/apis/the-agent-c-api/llms.txt) · [OpenAPI document](https://skmtc.dev/theagentc/apis/the-agent-c-api/revisions/1c9868b44584?raw)
