Prices
List prices
GET
/pricesHeaders
AuthorizationstringRequiredHTTP Basic auth: your API key as the password, with an empty username. See Authentication.
Query parameters
limitintegerObjects per page. Defaults to 10.
starting_afterstringA cursor. Returns objects created after the object with this ID. Mutually exclusive with ending_before.
ending_beforestringA cursor. Returns objects created before the object with this ID.
productstringOnly this product's prices.
referencestringactivebooleancurrencystringReturns
A page of prices.
resourcestringdataarray of objectsShow 16 child attributesHide child attributes
idstringresourcestringproductstringreferencestring or nulltypestringrecurring for a price with a schedule.
scheduleobject or nullShow 2 child attributesHide child attributes
Option 1objectHow often a recurring price bills.
Show 2 child attributesHide child attributes
intervalstringRequiredinterval_countintegerOption 2nullsubscription_optionsobject or nullShow 2 child attributesHide child attributes
enginestringconnectionstring or nullcurrencystringThree-letter ISO currency code, in lowercase.
unit_amountintegertax_behaviorstringexclusive adds tax to the amount, and inclusive includes it.
versionintegercurrent_versionintegerThe latest version. Differs from version when you ask for an earlier one.
activebooleanmetadataobjectYour key-value pairs. Up to 50 keys of 40 characters, with string values of up to 500 characters.
createdstringtest_modebooleanhas_morebooleanErrors
400The request is invalid.
401The API key is missing or wrong.
403The key's permissions don't allow this route.
Was this page helpful?