---
title: "Retrieve a price"
method: GET
path: "/api/v1/prices/{id}"
tags: ["Catalog"]
---

# Retrieve a price

`GET /api/v1/prices/{id}`

## Request

- Base URL: `https://merchant.zahlo.eu`
- URL: `https://merchant.zahlo.eu/api/v1/prices/{id}`
- Auth: API key in header `x-api-key`

Retrieve a price. Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

## Path parameters

- `id` string, required

## Response `200`

Successful response

- Price
  - `id` string, required
  - `object` 'price', required
  - `productId` string, required
  - `nickname` string, nullable
  - `active` boolean, required
  - `currency` string, required
  - `unitAmountMinor` integer, nullable: Null for a pay-what-you-want price.
  - `customUnitAmount` object, nullable: Pay what you want: the payer enters the amount on the payment link page (minor units). Set instead of unitAmountMinor; one-time prices only; payment links only (API checkout sessions reject it).
    - `minimum` integer, nullable
    - `maximum` integer, nullable
    - `preset` integer, nullable: The amount the page suggests.
  - `type` 'one_time' | 'recurring', required
  - `recurring` object, nullable
    - `intervalMonths` integer
    - `trialDays` integer, nullable
    - `usageType` 'licensed' | 'metered'
  - `lookupKey` string, nullable
  - `metadata` object: Up to 50 key-value pairs; keys up to 40 characters, values strings up to 500 characters.

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `404`: Resource not found
- `409`: Request conflicts with existing state

---

[API](https://skmtc.dev/zahlo/apis/zahlo-merchant-api.md) - [All operations](https://skmtc.dev/zahlo/apis/zahlo-merchant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zahlo/apis/zahlo-merchant-api/revisions/8fcbef981e0d?raw)
