billing

Stripe Webhook

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
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

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.