POST /api/public/v1/billing/getQuote
Changed onPrices a selection of the business's own plan, period and add-ons and returns the total, its lines and a quoteId that confirms exactly that. No Stripe Price id is returned. Refused as planNotOffered, intervalNotOffered, addonNotOffered, addonIncompatible, addonRedundant, addonDuplicate or quantityUnsupported when the selection is not sold, and as quantityUnsupported when baseQuantity is above one while the pricing-multi-license flag is off, with FORBIDDEN as demoOrganization for a demo business, and as for billing.getOffer: Refused with PRECONDITION_FAILED as organizationBrandUnknown or organizationRegionUnknown when the business has no recognized brand or region, as priceUnusable when a configured Stripe price cannot back a subscription or the offer's prices name different products or currencies and no period remains usable, as catalogTermsConflict when the deployed catalog redefines a published plan or add-on version, as pilotCouponUnavailable when a staff discount or one of the business's discount grants applies to a selection and its Stripe coupon is missing, spent or no longer matches the terms it was accepted on, and as billingNotConfigured when the offer names prices but billing is not configured. For a classified test organization, billed in the Stripe Sandbox: refused with FORBIDDEN as sandboxNotAllowed unless the caller is a verified Fortune OS employee holding the billing-sandbox experiment, and with PRECONDITION_FAILED as billingNotConfigured while the Sandbox is not configured.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
added the required property
discountAmountOffto the response with the status
- info
- info
added the required property
amountDueTodayto the response with the status - info
added the required property
discountPercentOffto the response with the status
- info