Create a price

Creates a price with product

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required

The currency symbol

string
enum

The interval at which to bill for this price. Only required for subscriptions

Allowed:
number

It is used to determine the frequency at which the subscription is billed. Only required for subscriptions

int64

The unit amount in 8 decimals, represented as a whole integer. If not provided, the unit amount will be calculated from unit_amount_decimal.

int64

The default amount to fill in the amount field for this price on checkout. Only if unit amount is not provided

customUnitAmountSuggestions
array of strings

Amount suggestions for this price. Only if unit amount is not provided

customUnitAmountSuggestions
metadata
object

A set of key-value pairs that you can attach to an object. It can be useful for storing additional information about the object in a structured format.

string
enum

The visibility of the price. If dashboard, the price is visible in the dashboard

Allowed:
string

A nickname for the price, not displayed to customer. Only visible in the dashboard

string
enum
required
Defaults to one_time

The type of the price. If price has interval and type is not provided then price type is set to default price type configured in settings

Allowed:
uuid

Product's id to create a price for

productData
object

The product data to create a product and a price for

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json