Publisher Plan Checkout

Start a Stripe Checkout session for an author Plus / Pro upgrade.

Auth: publisher access_token (same gate as the dashboard). Returns {"checkout_url": "..."} — the frontend redirects the browser; Stripe handles card collection + activation; the /v1/stripe/webhook fires customer.subscription.created and our payments_publisher.handle_publisher_subscription_event flips plan_tier on the publisher row.

503 if STRIPE_PRICE_AUTHOR_PLUS / _PRO Fly secrets aren't set yet (operator activation gate). 400 on tier other than plus|pro — Free is just "don't pay us", no checkout needed.

post/v1/publisher/{tenant_slug}/plan/checkout

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/publisher/{tenant_slug}/plan/checkout
  • Auth: none declared

Path parameters

tenant_slugstring required

Headers

x-storyflo-publisher-tokenstring nullable

Request body

tierstring required
success_urlstring required
cancel_urlstring required

Response

Successful Response

object required

Changes

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