Estimate the recurring invoice
Estimates the recurring invoice for a plan and a number of seats. Requires being a member. With a current subscription, the estimate replaces its plan with the one asked for. A plan billed per environment minute takes no seats, and the estimate leaves out the usage billed at the end of the period. Answers 502 when Stripe fails.
/organizations/{organizationId}/billing/previewAuthorizationBearer token (JWT) · headerrequiredAn access token issued by this service (RFC 9068), in the Authorization header as Bearer <token>.
organizationIdstring<uuid>requiredapplication/jsonplanstringA plan name; the default plan when omitted.
seatsintegerLicensed environments, required by a plan priced per seat. A plan billed per environment minute ignores it.
The estimate.
currencystringrequiredsubtotalinteger<int64>requiredtaxinteger<int64> | nullrequiredNull when Stripe computed no tax; taxes may then be finalized at checkout.
totalinteger<int64>requiredThe request failed.
errorstringrequiredStable machine-readable code.
invalid_requestunauthorizedforbiddennot_foundconflictgoneunavailableinternalmessagestringrequiredHuman-readable explanation.