billing

Paywall Checkout

Changed on

Mint the checkout for a plan: Usage ($0 today, minutes and texts) by default, or Production (plan="production", size 300/600/900 — the base is charged when the card goes on and comes back as prepaid usage).

TEAM ACCESS ONLY, DELIBERATELY — unlike /test-checkout above, which keeps the billing-owner requirement because its caller CHOOSES the offer. Here the offer is fixed server-side and the call mints an unpaid session: no charge happens until a person enters a card into fields Stripe draws. The agent draws this screen during onboarding with role='agent' / ['agent.run'], so requiring billing.manage would mean granting every harness worker the capability to manage billing.

concession is accepted and changes nothing: there is no discount below the plan, and a caller that asks for one gets the same plan.

post/v1/teams/{team_id}/billing/paywall/checkout

Request

  • Base URL: https://api.stormy.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.stormy.ai/v1/teams/{team_id}/billing/paywall/checkout
  • Auth: none declared

Path parameters

team_idstring uuid required

Headers

authorizationstring nullable
x-darwin-tokenstring nullable

Request body

concessionboolean
plan'usage' | 'production'
size'300' | '600' | '900' nullable
embeddedboolean
card_fieldboolean

Response

Successful Response

object required

Changes