> ## Documentation Index
> Fetch the complete documentation index at: https://studio.assembly.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Prices

> Represents a price for a product; each product can have many unique prices supporting one-time or recurring billing intervals.

This resource represents a price for a product. Each [product](/docs/api-reference/resources/products) can have many unique prices.

<br />

## Properties

**id** `string`
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`

| Type        | Description                                                                                                                                                             |
| :---------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `oneTime`   | Used for one-time product pricing.                                                                                                                                      |
| `recurring` | Used with subscriptions to determine the billing period of the subscription. The `interval` along with `intervalCount` properties specifies what the billing period is. |

<br />

**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 `type` is `recurring`.

**intervalCount** `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=month` and `intervalCount=3`, the subscription bills every 3 months.
* **Note:** This is only present when `type` is `recurring`.

<br />

```json Example Price Object theme={null}
{
    "id": "C-wch-eSg",
    "createdAt": "2024-09-11T13:59:58.845233992Z",
    "object": "price",
    "amount": 60000,
    "currency": "usd",
    "interval": "month",
    "intervalCount": 3,
    "productId": "2cf93cf0-45fa-485f-b584-03c2c38a3999",
    "type": "recurring",
    "updatedAt": "2024-09-11T13:59:58.845233992Z"
}
```
