billing

Start a hosted Stripe checkout for a plan/interval

Body { plan, interval } → returns a hosted Stripe checkout url to open in a browser to complete payment. Upgrades the CURRENT org (server-resolved from your key/identity, NEVER the body). Always a hosted URL — an existing saved card is NEVER charged without the human confirming on Stripe. interval:"year" selects the annual plan. Discover valid combos with GET /v1/billing/plans. Requires billing:write.

post/v1/billing/checkout

Request

  • Base URL: https://api.cueframe.ai
  • URL: https://api.cueframe.ai/v1/billing/checkout
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.cueframe.ai/api/auth/mcp/authorize, token URL https://api.cueframe.ai/api/auth/mcp/token, scopes: billing:write)
    • API key in header PAYMENT-SIGNATURE

Request body

plan'credit_pack_10' | 'credit_pack_30' | 'credit_pack_100' required

Plan tier to subscribe to.

interval'month' | 'year' required

Billing interval: 'month' (monthly) or 'year' (annual, ~2 months free).

Response

Hosted Stripe checkout URL to open in a browser.

urlstring required

Hosted Stripe checkout URL to open in a browser to complete payment. Always present on success — an existing saved card is never charged without confirming here.

planstring required
intervalstring required
productIdstring required

Resolved billing catalog product id.

Changes

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