Reference

Start checkout

Starts a Stripe Checkout that subscribes the organization to a plan.

POST
/orgs/{org}/billing/checkout

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

org*string

Request Body

application/json
  1. body
plan*|

The plan the subscription moves to when the period ends.

Value in"launch""scale"null
return_url?string
Formaturi

Response Body

Where to pay.

application/json
  1. response

A Stripe Checkout page to send the person to, or, with SKYWAKE_API_CHECKOUT=custom, a session the console confirms itself.

url*string
Example Request
curl -X POST 'https://example.com/v1/orgs/string/billing/checkout' \  -H 'Content-Type: application/json' \  -d '{  "plan": "launch"}'
Example Response
{  "url": "string"}