Start buying credit
Starts buying amountUsd of credit, from 2,000, and returns the checkout url to send the browser to: Stripe Checkout in payment mode (which handles 3-D Secure and Apple Pay), or the plane’s own stand-in in test mode. The card paid with is saved for auto-reload and becomes the card on file. The browser comes back to returnUrl with ?purchase=success&session_id=… (then call completeCreditPurchase) or ?purchase=cancelled. The credit is granted once the payment succeeds, never twice, whether the console’s return or Stripe’s webhook lands first. Bought credit never expires. Owners only. Console session only: an API key gets 403 console-only.