Create a studio offer
Requires offers:write, a production or Test Mode API key, the exact studio grant, and Idempotency-Key. The request supplies only policy terms and selectors; the server owns Stripe provisioning, totals, and eligibility.
Authorizations
Batch Relay scoped API key or an anonymous Test Mode session. Scope names document required capabilities. Anonymous sessions are sandbox-only and do not authorize studio, event, billing, or Live Mode operations.
Headers
1 - 200Untrusted optional analytics hint naming the calling client surface. It never affects authorization, routing, pricing, or behavior.
1 - 100Untrusted optional analytics hint naming the calling client version. It never affects authorization, routing, pricing, or behavior.
1 - 100Untrusted optional analytics hint naming the invocation mode. It never affects authorization, routing, pricing, or behavior.
1 - 100Path Parameters
Stable public studio ID beginning with stu_. The API never selects a studio implicitly; a local CLI profile name is not a studio ID.
5 - 256^stu_[A-Za-z0-9_-]+$Body
automatic, code "USD"percent, fixed 1 - 120x >= 180^[A-Z0-9_-]+$500x >= 01 <= x <= 100Optional; Convex assigns a stable server start during the idempotent write.
Response
Created studio offer
automatic, code "USD"percent, fixed pending, processing, succeeded, failed, uncertain, unsupported x >= 1Immutable candidate revision ID to pass to activate or schedule.
1draft, scheduled, active, paused, expired, exhausted, revoked, sync_error