Skip to Content

Billing

Get a credit top-up quote

Previews what buying this many credit packs would charge now, without changing anything, and whether it ends a running free trial.

POST
/billing/credit-top-ups/quotes

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
packsintegerrequired

How many credit packs to buy now.

Required range: 1 <= x <= 50

Response

application/json

Success

ends_trialbooleanrequired

True when this purchase ends a running free trial, so the plan is charged now too.

plan_charge_usdnumber | nullrequired

What ending the trial charges for the plan now, in US dollars; null when no trial ends.

purchase_charge_usdnumberrequired

What the add-on packs or credits charge now, in US dollars.

due_now_usdnumberrequired

The total charged now, in US dollars.