Skip to content

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

Start a subscription (redirects to Stripe Checkout)

GET
/billing/checkout
curl --request GET \
--url 'https://example.com/billing/checkout?tier=standard&seats=1&quantity=1'
tier
Tier

standard, zero-retention, or pack-10.

string
default: standard

standard, zero-retention, or pack-10.

seats
Seats

Seats to start with; changeable in Checkout.

integer
default: 1

Seats to start with; changeable in Checkout.

quantity
Quantity

Packs to buy (pack tiers); changeable in Checkout.

integer
default: 1

Packs to buy (pack tiers); changeable in Checkout.

Redirect to the Stripe-hosted page

Successful Response

Unknown tier or seat count out of range

Media typeapplication/json
ErrorResponse
object
error
required
ErrorDetail
object
type
required
Type
string
message
required
Message
string
key
additional properties
any
Example
{
"error": {
"documents_used": 200,
"message": "Monthly document quota reached: 200 of 200 documents used this month. The cap resets on 2026-08-01. Email sales@easting.ai to raise it.",
"monthly_cap": 200,
"resets_on": "2026-08-01",
"type": "quota_exceeded"
}
}

Stripe did not return a URL

Media typeapplication/json
ErrorResponse
object
error
required
ErrorDetail
object
type
required
Type
string
message
required
Message
string
key
additional properties
any
Example
{
"error": {
"documents_used": 200,
"message": "Monthly document quota reached: 200 of 200 documents used this month. The cap resets on 2026-08-01. Email sales@easting.ai to raise it.",
"monthly_cap": 200,
"resets_on": "2026-08-01",
"type": "quota_exceeded"
}
}

Self-serve billing is not configured

Media typeapplication/json
ErrorResponse
object
error
required
ErrorDetail
object
type
required
Type
string
message
required
Message
string
key
additional properties
any
Example
{
"error": {
"documents_used": 200,
"message": "Monthly document quota reached: 200 of 200 documents used this month. The cap resets on 2026-08-01. Email sales@easting.ai to raise it.",
"monthly_cap": 200,
"resets_on": "2026-08-01",
"type": "quota_exceeded"
}
}