Skip to main content
POST
Create a plan, phone rental or prepaid top-up checkout

Authorizations

__Secure-better-auth.session_token
string
cookie
required

Better Auth session with selected organization. Mutations also require the trusted Origin header.

Headers

Idempotency-Key
string
required

Reuse for the same logical action and identical body; changed input returns 409.

Required string length: 1 - 200

Body

application/json
kind
string
required
Allowed value: "plan"
plan
enum<string>
required
Available options:
developer,
scale

Response

Successful JSON response

The response is of type object.