Skip to main content
POST
Create Checkout

Authorizations

Authorization
string
header
required

A floo_ API key.

Headers

X-Floo-Org-Id
string<uuid>

Organization to act in; defaults to the one joined most recently.

Body

application/json

Request to upgrade a plan or open billing portal.

If plan is None, opens the Stripe Customer Portal (must have existing customer). If plan is set, creates a Checkout Session for new customers or Portal for existing.

plan
enum<string> | null
Available options:
paygo,
team

Response

Successful Response

Response for plan upgrade — either a checkout URL or instant upgrade confirmation.

url
string | null
upgraded
boolean
default:false
plan
string | null