KintsugiKintsugi

Start a hosted billing checkout

POST/billing/checkout

Creates a one-time hosted checkout URL that subscribes the org to the given plan. Organization-Id, Connection-Id, or Entity-Id selects the org. SCALE and PREMIUM check out at the org's preset price. A SCALE checkout answers 400 while the Scale preset is closed. GROWTH checks out the legacy Starter plan at the standard metered price. STARTER checks out the current Starter plan. An org that cannot buy it yet gets the legacy Starter plan (GROWTH) instead, so its plan can read GROWTH after checkout. An org staged on the Scale preset checks out GROWTH or STARTER at its Scale price. If the org just started a checkout for the same plan and price, this returns that checkout again. Requires an owner or admin of the organization, or the organization's own API key.

Authorization

Api-KeystringRequired

Your secret API key. Include it with every request.

Headers

Api-Versiondate

Release date, as YYYY-MM-DD. Defaults to 2026-07-21.

Organization-Idstring

Target organization id (Organization-Id selector).

Connection-Idstring

Target connection id; resolves to its organization.

Entity-Idstring

Platform entity id; resolves to a connection's organization.

Entity-Sourcestring

Optional source to disambiguate an Entity-Id.

Body

billingPlanPublicCheckoutPlanEnumRequired

One of GROWTH (the legacy Starter plan), STARTER, SCALE or PREMIUM: the plan tier to check out into. STARTER checks out the legacy Starter plan for an org that cannot buy the current one yet.

Available options:GROWTHSTARTERSCALEPREMIUM

Response

idstringRequired

Billing hosted page id.

urlstringRequired

One-time hosted checkout URL. Treat as a secret.

statestringRequired

Hosted page lifecycle state, e.g. created.

expiresAtstringRequired

When the checkout URL expires.

201

Successful Response

400

The request was invalid.

401

Authentication failed or was missing.

403

The credential is not permitted for this request.

404

The requested resource was not found.

409

The request conflicts with existing state.

422

Validation Error

cURL
POST /billing/checkout
-H "Api-Key: ***"
-H "Api-Version: 2026-10-06"
{
"billingPlan": "GROWTH"
}
Response
{
"id": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10",
"url": "https://www.example.com",
"state": "CA",
"expiresAt": "2026-07-28T12:00:00Z"
}
Start a hosted billing checkout (2026-10-06) | Kintsugi API Reference