Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

The price object

What a product costs: one-time or recurring, flat, per package, in tiers or chosen by the customer.

A price belongs to a product and says what it costs. One product can have many prices, such as monthly and yearly. Whatever sold a price keeps the price it sold at, so a price's amount never changes: archive it and add a new one.

Attributes

NameTypeDescription
idstringUnique identifier, starting price_.
objectstringAlways price.
livemodebooleantrue in live mode.
productstringThe product it prices, prod_....
currencystringusd. Fixed once the price exists.
typeenumone_time or recurring (charged every period, on a subscription).
recurringobject or nullFor a recurring price: unit (day, week, month or year) and count. A period is one year at most.
pricingobjectHow it charges: model is per_unit (with unit_amount), package (unit_amount, package_size, and rounding up or down for a part package), graduated or volume (with tiers, each up_to, unit_amount and flat_amount; the last has no up_to), or customer_chooses (one-time only: minimum, maximum and suggested).
tax_behaviorenumexclusive: tax is added on top. inclusive: the price includes it.
nicknamestring or nullFor your team, such as "Launch price".
statusenumactive or archived.
createdtimestampWhen it was created.
archived_attimestamp or nullWhen it was archived.

Example

json
{  "id": "price_d2fcc8475d89f661d674185c",  "object": "price",  "livemode": false,  "product": "prod_103fbc184f1d732bf5d1a9f5",  "currency": "usd",  "type": "one_time",  "recurring": null,  "pricing": {    "model": "per_unit",    "unit_amount": 4000  },  "tax_behavior": "exclusive",  "nickname": null,  "status": "active",  "created": "2026-11-20T09:30:00Z",  "archived_at": null}

Endpoints

EndpointWhat it does
POST /v1/pricesAdd a price to a product.
GET /v1/prices/{id}Get a price by its ID.
POST /v1/prices/{id}Change a price's nickname. Its amount never changes.
POST /v1/prices/{id}/archiveStop a price being added to anything new.
GET /v1/pricesList your prices, newest first.