Skip to main content
POST
Create a Stripe checkout session

Authorizations

Authorization
string
header
required

Authentication using either a FormBnB session JWT (issued by /auth) or an API key (prefixed with sk_). Both token types are passed as Bearer tokens in the Authorization header.

Body

application/json
plan
enum<string>
required

The subscription plan to checkout

Available options:
starter,
pro
interval
enum<string>
default:month

Billing interval

Available options:
month,
year

Response

Checkout session created successfully

url
string<uri> | null
required

Stripe checkout session URL