billing

Create Checkout

Create a Stripe Checkout Session. Returns {checkout_url} — redirect customer there.

ads_pro needs X-API-Key: the subscription binds to that key's payer_ref, and the ads plan is read from it. Its success and cancel URLs are fixed server-side.

post/billing/checkout

Request

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

Headers

X-API-Keystring nullable

Request body

tierstring required
currencystring
emailstring email nullable
agent_didstring nullable
payer_refstring nullable
quantityinteger

Seats. ads_pro: number of Amazon ad accounts (1..100); the buyer can still adjust it on the Stripe page. Every other tier: 1.

refstring nullable

Optional referral source tag (e.g. 'dsncon'). Stored on the subscription for attribution.

success_urlstring
cancel_urlstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.