v20

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-037924117.4 KB
Billing

Create Payment Intent

Create a Stripe PaymentIntent for depositing compute credits.

amount_cad is pretax wallet credit. Stripe Tax uses the account country/province (settings/profile) — no deposit province picker. IP is a fallback when the account has no location. Wallet is credited pretax only.

post/api/billing/payment-intent

Request body

customer_idstring required
amount_cadnumber required
descriptionstring

Response

Successful Response

{"stackTrail":"paths:/api/billing/payment-intent:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}