---
search:
  tags:
    - prices
    - POST
seo:
  description: Reference for the POST /v1/prices endpoint in the Vortex Payments API.
sidebar:
  label: POST /v1/prices
  badge: POST
title: POST /v1/prices
type: openapi-operation
---
`POST /v1/prices`

**curl**

```bash
curl "https://api.vortex.nyc/v1/prices?environment=sandbox&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"priceId":"price_core_monthly","productId":"prod_core","name":"Core monthly","priceType":"fixed_recurring","currency":"USD","billingInterval":"month","billingIntervalCount":1,"unitAmount":4900}'
```

**TypeScript**

```ts
import { createPrice, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await createPrice({
  client: vortex,
  query: { environment: "sandbox", merchantAccountId: "..." },
  body: {"priceId":"price_core_monthly","productId":"prod_core","name":"Core monthly","priceType":"fixed_recurring","currency":"USD","billingInterval":"month","billingIntervalCount":1,"unitAmount":4900},
});
```

**Request body** (`application/json`, required)

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `productId` (string, required)
- `name` (string, required)
- `priceType` (string, required)
- `currency` (string, required)
- `priceId` (string | null)
- `billingInterval` (string | null)
- `billingIntervalCount` (number | null)
- `unitAmount` (number | null)
- `meterId` (string | null)
- `tiers` (object[] | null)
- `packageAmount` (number | null)
- `packageSize` (number | null)
- `metadata` (object | null)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "productId": "string",
  "name": "string",
  "priceType": "fixed_recurring",
  "currency": "string",
  "priceId": "string",
  "billingInterval": "day",
  "billingIntervalCount": 0,
  "unitAmount": 0,
  "meterId": "string",
  "tiers": [
    {
      "unitAmount": 0,
      "upTo": 0
    }
  ],
  "packageAmount": 0,
  "packageSize": 0,
  "metadata": {
    "property1": "string",
    "property2": "string"
  }
}
```

**Responses**

- `201` — Success

Response example, 201:

```json
{
  "data": {
    "priceId": "string",
    "productId": "string",
    "name": "string",
    "priceType": "fixed_recurring",
    "currency": "string",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "billingInterval": "day",
    "billingIntervalCount": 0,
    "unitAmount": 0,
    "meterId": "string",
    "tiers": [
      {
        "unitAmount": 0,
        "upTo": 0
      }
    ],
    "packageAmount": 0,
    "packageSize": 0,
    "archivedAt": "string"
  },
  "requestId": "string"
}
```
