API Reference
API Reference

Create Pricing

Create Pricing

Body Params

Create price request

string
required

Price name

string
required

Associated product ID

string
required

Product version ID

string
required

Billing type: one_time/recurring

string

One-time payment price, required when billing_type is one_time

string
required

Price description

boolean

Whether trial period is enabled

trial_period
object

TrialPeriod - Trial period configuration

price_plan
object

Pricing plan for create price

string
required

Price type, one of the following: flat_price | package_price | based_on_usage

string

Usage amount, required when price_type is based_on_usage or package_price

string

Usage unit, required when price_type is based_on_usage or package_price

features
array of objects

Price features

features
string

Model type, one of the following: per_unit | tiers_price, required when price_type is based_on_usage

string

Billing threshold, required when model_type is per_unit

int32

Trial type, one of the following: 0 - Free trial | 1 - Paid trial

string

Trial amount, required when trial_type is 1 - Paid trial

string

Status:

  • draft: Draft
  • active: Activated
  • frozen: Frozen
Headers
string
required
Defaults to 008e3967-a1b5-48bb-be14-d5bff5092e61

The unique identifier of the request

Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json