Buy a credit pack
Billing
Buy a credit pack
Buy a one-time credit pack (billing D). Available to ANY tier - a free-tier
account gets a Stripe customer minted on demand, same as checkout. The
+topup lands in credit_ledger when Stripe fires checkout.session.completed
(mode=payment) at the webhook; the ledger stays authoritative.
POST
Buy a credit pack
Returns a Stripe redirect URL
Creates a one-time payment session for a credit pack and returns{ "url": "..." } — redirect the customer there to pay. Credits land on the workspace’s balance asynchronously once Stripe confirms the payment. Available to any tier.