---
title: "Stripe Webhook"
method: POST
path: "/v1/stripe/webhook"
---

# Stripe Webhook

`POST /v1/stripe/webhook`

## Request

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

Stripe webhook for subscription events. Verifies the signature
via STRIPE_WEBHOOK_SECRET, then routes:

  checkout.session.completed       → mark sub active, set next_renewal
  invoice.payment_succeeded        → bump next_renewal forward
  invoice.payment_failed           → mark failed
  customer.subscription.deleted    → mark cancelled

## Response `200`

Successful Response

- object

---

[API](https://skmtc.dev/storyflo/apis/storyflo-inference-router.md) · [All operations](https://skmtc.dev/storyflo/apis/storyflo-inference-router/llms.txt) · [OpenAPI document](https://skmtc.dev/storyflo/apis/storyflo-inference-router/revisions/c3a1a735ac7a?raw)
