Skip to main content
POST
Checkout

Authorizations

Authorization
string
header
required

Clerk session JWT for the web app (active organization required), or an organization-scoped SEAOTTER access key (so_…) from POST /api/v1/api-keys for programmatic / docs try-it / MCP use. The same so_… value is both Authorization: Bearer so_… and SEAOTTER_API_KEY.

Body

application/json
plan
enum<string>
default:hobby
Available options:
hobby,
startup,
business,
enterprise,
starter,
pro
client_reference_id
string | null

Affiliate / referral id (Stripe client_reference_id)

Maximum string length: 200
promotion_code
string | null

Optional Stripe promotion code to apply at checkout

Maximum string length: 64
attribution
Attribution · object | null

First-touch UTM / ad click IDs (utm_*, gclid, rdt_cid, fbclid) merged into Stripe Checkout + subscription metadata

Response

Successful Response

url
string
required

Stripe Checkout URL

id
string
required

Stripe Checkout Session id