Create Price
Create a new price for a product.
Works for both User and API Key authentication.
Account access is automatically validated via endpoint dependency.
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.
product_id
currency
ISO 4217 currency codes.
name
is_active
unit_label
pricing_type
recurring_interval
recurring_interval_count
auto_renew
contract_term_multiple
Number of billing intervals in a contract term (e.g., 4 for quarterly billing in 1-year contract)
trial_days
usage_type
metered_id
billing_scheme
unit_amount_atom
tier_amount_info
Tiered pricing configuration.
prerequisite_price_ids
exclusive_customer_ids
metadata
custom_fields
Custom field values to set on this price. Keys must match defined field keys for the price entity type. Set a key to null to delete that field's value.
quantity_divisor
Quantity divisor must be greater than or equal to 1
quantity_rounding
Rounding mode for fractional billable units. ‘ceil’ (default) rounds up for packaged pricing. ‘proportional’ keeps exact fractions for percentage-based fees. ‘floor’ rounds down. ‘round’ uses standard rounding.
Response
Successful Response
id
account_id
product_id
name
unit_amount_atom
currency
ISO 4217 currency codes.
is_active
unit_label
pricing_type
recurring_interval
recurring_interval_count
auto_renew
contract_term_multiple
trial_days
usage_type
metered_id
billing_scheme
tier_amount_info
Tiered pricing configuration.
prerequisite_price_ids
exclusive_customer_ids
metadata
created_at
updated_at
product_name
product_description
custom_fields
Custom field values. Only included when expand=custom_fields is specified.
quantity_divisor
quantity_rounding
Rounding mode for fractional billable units in metered pricing.
- CEIL (default): Round up to next whole unit — for packaged pricing
- PROPORTIONAL: Keep exact fractions — for percentage-based fees (e.g., 0.65% of volume)
- FLOOR: Round down to whole unit
- ROUND: Standard rounding (0.5+ rounds up)
Errors
422
Unprocessable Entity Error