Properties
idstring
Unique id of the record.
createdAt string
The date this item was created in RFC3339 format.
updatedAt string
The date this item was updated in RFC3339 format.
object string
The object type of this resource.
productId string
The ID of the associated product.
amount int
Total amount in cents for this price.
currency string
The 3 letter currency code representing the currency of this price.
type string
interval
string | null
The frequency at which a subscription can be billed with this price. One of day, week, month or year.
- Note: This is only present when
typeisrecurring.
int | null
The number of billing intervals for this price, as defined by the interval attribute. Specifies how often a subscription is charged within the given interval.
- For example, if
interval=monthandintervalCount=3, the subscription bills every 3 months. - Note: This is only present when
typeisrecurring.
Example Price Object