Create Pricing
Create Pricing
Authorizations
Bearer API Key authentication. Format: Authorization: Bearer {your_api_key}
Headers
The unique identifier of the request
Body
Create price request
Price name
Associated product ID
Product version ID
Billing type: one_time/recurring
Price description
Price type, one of the following: flat_price | package_price | based_on_usage
One-time payment price, required when billing_type is one_time
Whether trial period is enabled
Trial period configuration
Price plan, required when billing_type is recurring
Usage amount, required when price_type is based_on_usage or package_price
Usage unit, required when price_type is based_on_usage or package_price
Price features
Model type, one of the following: per_unit | tiers_price, required when price_type is based_on_usage
Billing threshold, required when model_type is per_unit
Trial type, one of the following: 0 - Free trial | 1 - Paid trial
Trial amount, required when trial_type is 1 - Paid trial
Status:
- draft: Draft
- active: Activated
- frozen: Frozen