Docs

Preview Price

POST /products/preview

POST/products/preview

Prices a core purchase of a given seat count for a postal code and country, once for card and once for bank account, in cents. Changes nothing. Seats must be at least 1, with no upper limit, and the bank account price includes the bank account discount, when one is configured, only above 5 seats. Postal code and country (a two-letter code) are both required and are used only to work out tax; a value Stripe cannot use returns 400. Needs only the user's sign-in token, no organization token, so the create-organization wizard can price seats before the organization exists.

Request Body

FieldTypeRequiredDescription
seatsintegerOptional
postalCodestringOptional
countrystringOptional

Response

FieldTypeDescription
currencystring| null
cardPreviewPriceResponsePriceLines
bankAccountPreviewPriceResponsePriceLines

PreviewPriceResponsePriceLines

FieldTypeDescription
subtotalinteger
discountinteger
taxinteger
totalinteger