Create a Stripe Checkout session for adding prepaid advertising funds to an organization. The caller must hold the BILLING role or be an owner of the organization. Returns the Stripe-hosted Checkout URL — redirect the end user there. Funds land on Organization.ad_balance once Stripe fires checkout.session.completed.
Documentation Index
Fetch the complete documentation index at: https://docs.closient.com/llms.txt
Use this file to discover all available pages before exploring further.
Request body for opening a prepaid ad-balance Checkout session.
UUID of the organization the action targets. The caller must be a member of this organization (read endpoints) or hold the BILLING role / be an owner (write endpoints) — the API returns 403 otherwise.
22^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$Amount to add to the organization's prepaid ad balance, in the smallest currency unit (cents for USD). Minimum is 500 (USD $5.00); the API returns 400 for smaller amounts. Stripe Checkout enforces its own per-payment-method ceilings on top of this floor.
x >= 500Absolute URL Stripe redirects the customer to after a successful payment or subscription start. May contain Stripe session-id placeholders such as {CHECKOUT_SESSION_ID} for downstream confirmation flows.
Absolute URL Stripe redirects the customer to if they abandon Checkout. Should land on a page that explains how to retry — Stripe does not automatically resume an abandoned session.
OK
Response for POST /billing/checkout and POST /billing/resolver/checkout.
Stripe-hosted Checkout URL the caller should redirect the end user to. Single-use; expires after 24 hours per Stripe's session policy.