Skip to content

Search API reference

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

Create a price

Add a price to a product.

POST/v1/prices

Add a price to a product.

Endpoint

http
POST /v1/prices

Request body

NameTypeRequiredDescription
productstringRequiredThe product, prod_....
currencystringRequiredusd.
typeenumRequiredone_time or recurring.
recurringobjectOptionalRequired for recurring: unit and count.
pricingobjectRequiredThe model and its amounts, as on the price object. Amounts in cents.
tax_behaviorenumOptionalexclusive (the default) or inclusive.
nicknamestringOptionalFor your team.

Example request

bash
curl -X POST https://api.sovgate.com/v1/prices \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: 3576c29f-4b2a-4c1d-9e3f-05ab43ba0da3" \  -H "Content-Type: application/json" \  -d '{  "product": "prod_103fbc184f1d732bf5d1a9f5",  "currency": "usd",  "type": "recurring",  "recurring": {    "unit": "month",    "count": 1  },  "pricing": {    "model": "per_unit",    "unit_amount": 2900  },  "nickname": "Monthly"}'

Example response

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