billing

Start a prepaid top-up.

Changed on

Starts a one-time Stripe Checkout to add prepaid credit; the wallet is credited when Stripe's webhook confirms payment. Requires the billing:write scope.

post/v1/billing/checkout-session

Request

Response

Start a one-time Stripe Checkout to add prepaid credit. Request body: {"amount_usd": <1..=2000>}. Returns {"url": <stripe-hosted checkout url>}; redirect the browser there. The wallet is credited only when Stripe's webhook confirms payment.

Changes