Preview subscription
Previews the pricing impact of creating or updating a subscription without making changes. Returns estimated costs, taxes, and proration details.
Authorizations
Server API Key
Headers
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).
Body
Preview subscription pricing and invoice details before provisioning. Returns calculated totals, line items, taxes, and discounts based on the provided subscription configuration.
Customer ID
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.@-]*$Plan ID
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$Paying customer ID for delegated billing
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.@-]*$Resource ID for multi-instance subscriptions
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$Billing period (MONTHLY or ANNUALLY)
MONTHLY, ANNUALLY ISO 3166-1 country code for localization
255Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
x >= 0Billable features with quantities
One-time or recurring charges
Addons to include
Subscription start date
Billing and tax configuration
When to apply subscription changes
END_OF_BILLING_PERIOD, END_OF_BILLING_MONTH, IMMEDIATE Coupon or discount to apply
Trial period override settings
Billing cycle anchor behavior for the subscription
UNCHANGED, NOW Response
The subscription preview with pricing breakdown.
Response object
Pricing preview with invoices
