POST
/
prices

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-01-01

Body

application/json
productId
string
required

The ID of the Product for which this Price provides pricing

name
string
required

The customer-facing name of this Price

currency
enum<string>
required

The pricing currency

Available options:
ARS,
AUD,
BRL,
CAD,
CHF,
CNY,
COP,
CZK,
DKK,
EUR,
GBP,
HKD,
ILS,
JPY,
KRW,
MXN,
NOK,
NZD,
PLN,
SEK,
SGD,
THB,
USD,
UYU,
ZAR
structure
object
required
billingFrequency
enum<string>
required

The recurrence of charging this price.

Available options:
ONE_TIME,
MONTHLY,
QUARTERLY,
YEARLY
billingType
enum<string>
required

How to bill this price: in-arrears or in-advance.

Available options:
IN_ARREARS,
IN_ADVANCE
externalIds
object[]
required

IDs in external integrations

parameters
object[]

Parameters required for usage calculation

listPriceId
string

The list price ID, if this price variant was created from a list price

usageCalculationPeriod
object

The period over which usage is aggregated.

Response

201 - application/json
id
string
required

Unique Price ID

sequenceAccountId
string
required

The Sequence Account to which this Price belongs

productId
string
required

The ID of the Product for which this Price provides pricing

name
string
required

The customer-facing name of this Price

currency
enum<string>
required

The pricing currency

Available options:
ARS,
AUD,
BRL,
CAD,
CHF,
CNY,
COP,
CZK,
DKK,
EUR,
GBP,
HKD,
ILS,
JPY,
KRW,
MXN,
NOK,
NZD,
PLN,
SEK,
SGD,
THB,
USD,
UYU,
ZAR
structure
object
required
billingFrequency
enum<string>
required

The recurrence of charging this price.

Available options:
ONE_TIME,
MONTHLY,
QUARTERLY,
YEARLY
billingType
enum<string>
required

How to bill this price: in-arrears or in-advance.

Available options:
IN_ARREARS,
IN_ADVANCE
createdAt
string
required

Created at

updatedAt
string

Updated At

externalIds
object[]
required

IDs in external integrations

parameters
object[]
required

Parameters required for usage calculation

listPriceId
string

The list price ID, if this price variant was created from a list price

usageCalculationPeriod
object

The period over which usage is aggregated.