Create a new price
Create a new price with the specified configuration
Authorizations
Enter your API key in the format x-api-key <api-key>*
Body
RECURRING
, ONETIME
FLAT_FEE
, PACKAGE
, TIERED
MONTHLY
, ANNUAL
, WEEKLY
, DAILY
, QUARTERLY
, HALF_YEARLY
x >= 1
ARREAR
, ADVANCE
USAGE
, FIXED
VOLUME
, SLAB
Response
Amount stored in main currency units (e.g., dollars, not cents) For USD: 12.50 means $12.50
RECURRING
, ONETIME
FLAT_FEE
, PACKAGE
, TIERED
MONTHLY
, ANNUAL
, WEEKLY
, DAILY
, QUARTERLY
, HALF_YEARLY
BillingPeriodCount is the count of the billing period ex 1, 3, 6, 12
Currency 3 digit ISO currency code in lowercase ex usd, eur, gbp
Description of the price
DisplayAmount is the formatted amount with currency symbol For USD: $12.50
EnvironmentID is the environment identifier for the price
ID uuid identifier for the price
ARREAR
, ADVANCE
LookupKey used for looking up the price in the database
MeterID is the id of the meter for usage based pricing
PlanID is the id of the plan for plan based pricing
published
, deleted
, archived
VOLUME
, SLAB
TrialPeriod is the number of days for the trial period Note: This is only applicable for recurring prices (BILLING_CADENCE_RECURRING)
USAGE
, FIXED