Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Show the API key for a completed checkout (once)

GET
/billing/claim
curl --request GET \
--url 'https://example.com/billing/claim?session_id=example'
session_id
required
Session Id

The Checkout session id Stripe redirected with.

string

The Checkout session id Stripe redirected with.

Successful Response

Media typetext/html
string

Redirect to the Stripe-hosted page

Unknown tier or seat count out of range

Media typetext/html
ErrorResponse
object
error
required
ErrorDetail
object
type
required
Type
string
message
required
Message
string
key
additional properties
any

Stripe did not return a URL

Media typetext/html
ErrorResponse
object
error
required
ErrorDetail
object
type
required
Type
string
message
required
Message
string
key
additional properties
any

Self-serve billing is not configured

Media typetext/html
ErrorResponse
object
error
required
ErrorDetail
object
type
required
Type
string
message
required
Message
string
key
additional properties
any