Skip to main content
POST
Start a Premium checkout
  • Premium starts once Stripe confirms payment.
  • An account already on Premium gets its Settings page instead, and one with a subscription gets the billing portal.
  • An open checkout for the other interval is kept unless replace_existing is true; the link is then a Settings page that asks to replace it.
  • Callers: an API key, an MCP OAuth token or a Dashboard session.
  • Permission: any signed-in member, for their own records; an API key also needs billing:manage.
  • Effect: Creates or changes something.
  • Errors: billing_unavailable, not_configured, and the errors any request can get.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
interval
enum<string>

Default monthly

Available options:
monthly,
yearly
replace_existing
boolean

Replace an open checkout for the other interval instead of answering a page that asks to (default false)

Response

The page to open

url
string
required

The page to open in a browser