Billing

Create Payment Intent

Changed on

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

  • Base URL
    https://xcelsior.ca
  • URL
    https://xcelsior.ca/api/billing/payment-intent
  • Auth
    HTTP bearer

Request body

customer_idstring required
amount_cadnumber required
descriptionstring

Response

Successful Response

unknown required

Changes

    • breaking

      the request property's minLength was increased from 0 to 1

    • warning

      the request property's exclusiveMinimum was set to 0.00

    • warning

      the request property's maxLength was set to 128

    • warning

      the request property's maxLength was set to 500

    • warning

      the request property's max was set to 10000.00