Skip to main content
POST
Create plan checkout
plan must be exactly pro, growth or scale. No quantity, customer ID or card details are needed. Invalid/missing plan values return 422. An already-active plan returns 409 (validation_failed); buy packs for more credits without changing that plan. The result contains checkout_url, item, price_usd (formatted with a dollar sign), credits and note. Creating checkout consumes no credits and does not charge a card. Open the hosted link to pay. Monthly credits refill on the first of each month UTC; switching plans ends the old subscription when confirmed. Wait for payment confirmation, then read usage. Checkout HTTP 200 alone does not change your plan. Payment-provider failures can return 502; unavailable checkout returns 503.

Authorizations

Authorization
string
header
required

Enricho API key (enr_...)

Body

application/json

Send JSON with Content-Type: application/json.

plan
enum<string>
required

Exact lowercase self-serve plan SKU.

Available options:
pro,
growth,
scale

Response

Success envelope.

success
boolean
required
result
object
required
message
string
required