Skip to main content
billingChange
Test-only billing; owner session required for mutations, owner/admin for reads. Fixed test catalogue; enrollment ceiling controls source access. Checkout returns do not activate grants. Retry unresolved mutations with the same request UUID. UTC credit cycles, no usage refill, overage off, no Terminal billing or data rights granted. POST /v1/account/billing/change

Authentication

AccountSession

Parameters

Request body

Responses

Full request and response schemas: OpenAPI. Authentication · Prices and coverage · Errors and credits.

Authorizations

Authorization
string
header
required

Clerk session JWT, or one-hour CLI-only local session. No cookie authentication.

Headers

X-Oddswire-Account
string<uuid>

UUID of an account where the signed-in user is a member; defaults to their oldest account.

Body

application/json
product
string
required
request_key
string
required
amount_minor
integer
invoice_id
string
plan
string
trial
boolean

Response

Account ledger response; no-store. Key secrets appear only once on creation/rotation. Lists contain at most 100 recent entries, active keys first.

data
object[]
required
meta
object
required
missing
object[]
required