---
title: "Create a product"
method: POST
path: "/v1/products"
tags: ["Products"]
---

# Create a product

`POST /v1/products`

Create a new product in your catalog. Products can be referenced when creating payments to pre-fill amount and description.

## Headers

- `X-Idempotency-Key` string, required

## Request body

- CreateProductRequest
  - `externalId` string — Your own product ID.
  - `name` string, required — Product name.
  - `description` string — Product description.
  - `amount` number — Default price.
  - `metadata` object

## Response `201`

Product created.

- object
  - `product` Product
    - `id` string, uuid
    - `name` string
    - `description` string
    - `amount` number
    - `externalId` string
    - `isActive` boolean
    - `createdAt` string, date-time

## Other responses

- `400` — Validation error.
- `401` — Missing or invalid authentication token.
- `409` — Idempotency conflict. The key was already used with a different payload.

---

[API](https://skmtc.net/yuvexpay/apis/yuvexpay-api.md) · [All operations](https://skmtc.net/yuvexpay/apis/yuvexpay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yuvexpay/yuvexpay-api/versions/0d036504e049/schema)
