Billing

Start a Stripe-hosted Checkout session for a paid plan

post/billing/checkout

Request

  • Base URL: https://api.nippy.host
  • URL: https://api.nippy.host/billing/checkout
  • Auth: bearer (a scheme the document does not define)

Request body

plan'basic' | 'pro' | 'max' required

Target paid plan (free is not a selectable target here)

interval'month' | 'year'

Billing interval; defaults to monthly when omitted

currency'usd' | 'gbp' | 'eur' | 'chf'

Explicit presentment currency for Checkout. Omit to auto-detect from the customer location (USD fallback). Ignored on plan swaps — a subscription currency is locked at creation.

returnTo'billing' | 'dashboard'

Surface an abandoned Checkout returns to. A completed Checkout always returns to the dashboard.

Response

urlstring required

Stripe-hosted URL to redirect to

Changes

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