billing

Create Checkout Session

Start a subscription. Works signed in or anonymous.

Signed-in callers get their existing Stripe customer reused so upgrades land on the same customer record; anonymous callers (marketing pages) enter their email at Checkout and are linked by the webhook afterwards.

post/api/billing/checkout

Request

  • Base URL: https://api.getle.ad (the document declares no server; this is the origin it was published from)
  • URL: https://api.getle.ad/api/billing/checkout
  • Auth: none declared

Request body

planstring required
billingstring
currencystring nullable
ref_codestring nullable
emailstring nullable
success_pathstring nullable
cancel_pathstring nullable
attributionobject nullable
tos_accepted_atstring nullable
blocksinteger
funnel_domainstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.