Skip to main content
This API allows you to create and manage prices for your products. Prices define the cost and billing structure (one-time or recurring) for your products, enabling customers to make cryptocurrency payments.

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

Retrieves a paginated list of all prices in your account.
integer
default:"1"
Page number for pagination. Results are returned 25 items per page.
Response

Get price

Retrieves a specific price by ID.
string
required
The price’s ID (e.g., price_abc123def456).
Response (recurring)
Response (one-time)

Create price

Creates a new price for a product in your account.
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

Updates a price’s active status. Only the 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

Deletes a price from your account.
This action is irreversible and will also delete associated subscriptions and line items.
string
required
The price’s ID (e.g., price_abc123def456).
Returns 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.