Billing

Api Create Payment Intent

Create a Stripe PaymentIntent for depositing compute credits.

Returns client_secret for front-end Stripe Elements confirmation. On payment_intent.succeeded webhook the wallet is credited automatically.

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"}

Changes