Skip to Content

Billing

Get an add-on quote

Previews what setting this many packs would charge now, without changing anything, and whether it ends a running free trial (the plan is then charged now too).

POST
/billing/add-ons/{id}/quotes

Authorizations

Authorizationstringheaderrequired

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

Path Parameters

idstringrequired

The add-on's id, from add_ons in Get billing.

Body

application/json
packsintegerrequired

How many packs to pay for from now on; 0 removes the paid packs.

Required range: 0 <= x <= 100

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.