The price object
string
Unique identifier with
price_ prefix (e.g., price_abc123def456).integer
The price amount in cents (e.g.,
2999 for $29.99).string
The associated product’s ID.
boolean
Whether the price is active. Defaults to
true on creation.object
Recurring billing configuration.
null for one-time prices.string
When the price was created (ISO 8601).
string
When the price was last updated (ISO 8601).
One-time price example
Recurring price example
List prices
integer
default:"1"
Page number for pagination. Results are returned 25 items per page.
Response
Get price
string
required
The price’s ID (e.g.,
price_abc123def456).Response (recurring)
Response (one-time)
Create price
string
required
The product’s ID (e.g.,
prod_abc123def456). Must belong to your account.integer
required
The price amount in cents (e.g.,
2999 for $29.99). Must be 0 or greater.object
Object containing recurring billing configuration. Omit for one-time prices.
Create a one-time price
Create a monthly recurring price
Create a quarterly recurring price
Response
Validation errors
Amount is required
Amount must be non-negative
Interval is required for recurring prices
Interval count is required
Interval count must be a positive integer
Update price
active attribute can be modified after creation.
string
required
The price’s ID (e.g.,
price_abc123def456).boolean
Whether the price is active. Set to
false to deactivate.Response
Delete price
string
required
The price’s ID (e.g.,
price_abc123def456).204 No Content on successful deletion.
Recurring billing intervals
Prices can be configured for recurring billing with flexible intervals:Recurring billing examples
Weekly subscription ($9.99/week)
Quarterly subscription ($49.99 every 3 months)
Annual subscription ($99.99/year)
Integration example
Sandbox support
The API respects sandbox scoping. If your API token is associated with a sandbox, you can only access prices for products created in that sandbox.