Preview Price
Preview what a price configuration would charge for a given quantity.
Pure computation through the shared pricing engine — no rows are created. The same engine powers real charging, so this preview cannot disagree with what the customer is actually billed.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
account_id
Request
This endpoint expects an object.
billing_scheme
Pricing scheme to preview
quantity
Quantity of units to price (or projected metered usage)
unit_amount_atom
Per-unit amount in atoms (for per_unit pricing)
quantity_divisor
Package size — units per billable package
tier_amount_info
Tier configuration (for tiered pricing)
Response
Successful Response
quantity
The quantity that was priced
total_amount_atom
Total charge in atoms (smallest currency unit)
breakdown
Per-tier breakdown (empty for per_unit pricing)
Errors
422
Unprocessable Entity Error