> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ionicfi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a price



## OpenAPI

````yaml /openapi/catalog.yaml get /prices/{id}
openapi: 3.0.3
info:
  title: Ionic Catalog API
  version: '2026-05-01'
  description: >
    Products and prices — the catalog that powers payment links, subscriptions,
    and checkout.


    A product represents a sellable item. Each product carries one or more
    prices that define

    billing amounts and cadences. Prices have immutable `unit_amount` and
    `currency` after

    creation; only `active`, `nickname`, and `metadata` can be updated.


    All monetary amounts are integers in the currency's minor unit (for example
    cents for USD).

    Timestamps are Unix epoch seconds. Identifiers are opaque, prefixed strings:
    products are

    `prod_…` and prices are `price_…`.


    Authentication uses a merchant secret key (`sk_…`) as a bearer token. Read
    endpoints

    require the `products:read` permission; write endpoints require
    `products:write`. The mode

    of the key (test or live) scopes which resources it can see and mutate,
    reflected by each

    resource's `livemode` field.


    Errors are returned as `{ "error": { "code": "...", "message": "..." } }`.
servers:
  - url: '{baseUrl}/v1'
    variables:
      baseUrl:
        default: https://api.ionicfi.com
        description: API base URL for your environment.
security:
  - secretKey: []
tags:
  - name: Products
    description: Create, retrieve, update, and manage catalog products.
  - name: Prices
    description: >-
      Billing amounts attached to products. Amount and currency are immutable
      after creation.
paths:
  /prices/{id}:
    parameters:
      - $ref: '#/components/parameters/PriceId'
    get:
      tags:
        - Prices
      summary: Retrieve a price
      operationId: catalog_prices_retrieve
      responses:
        '200':
          description: The price.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Price'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/PriceNotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - secretKey:
            - products:read
components:
  parameters:
    PriceId:
      name: id
      in: path
      required: true
      description: The price id (`price_…`).
      schema:
        type: string
  schemas:
    Price:
      type: object
      required:
        - active
        - created_at
        - currency
        - id
        - livemode
        - merchant_id
        - metadata
        - nickname
        - object
        - product_id
        - type
        - unit_amount
        - updated_at
      properties:
        id:
          type: string
          description: Price id (`price_…`).
        object:
          type: string
          enum:
            - price
        product_id:
          type: string
          description: Parent product (`prod_…`).
        merchant_id:
          type: string
        unit_amount:
          type: integer
          format: int64
          description: Billing amount in minor units.
        currency:
          type: string
          description: Three-letter ISO currency code.
        type:
          type: string
          enum:
            - one_time
            - recurring
          description: Price type.
        recurring:
          allOf:
            - $ref: '#/components/schemas/Recurring'
          nullable: true
          description: Cadence for recurring prices; null for one-time prices.
        active:
          type: boolean
        nickname:
          type: string
          description: Display label for this price variant.
        metadata:
          type: object
          additionalProperties:
            type: string
        livemode:
          type: boolean
          description: '`true` for live mode, `false` for test mode.'
        created_at:
          type: integer
          description: Unix epoch seconds.
        updated_at:
          type: integer
          description: Unix epoch seconds.
    Recurring:
      type: object
      required:
        - interval
        - interval_count
        - usage_type
      properties:
        interval:
          type: string
          enum:
            - day
            - week
            - month
            - year
          description: Billing interval unit.
        interval_count:
          type: integer
          description: >-
            Number of interval units between billings (e.g. `3` with `month` =
            every 3 months).
        usage_type:
          type: string
          enum:
            - licensed
            - metered
          description: >-
            `licensed` charges a fixed amount per period; `metered` aggregates
            usage reported between billing dates.
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: A stable, machine-readable error code.
            message:
              type: string
  responses:
    BadRequest:
      description: The request was malformed or failed validation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INVALID_REQUEST
              message: invalid request body
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The key lacks the required permission, or the merchant is not active.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    PriceNotFound:
      description: No price with that id is visible to this key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: PRICE_NOT_FOUND
              message: price not found
    RateLimited:
      description: Too many requests. Honour the `Retry-After` header before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: |
        The API could not return a successful response. For a mutating request,
        retrieve the resource before retrying because the operation may have
        completed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    secretKey:
      type: http
      scheme: bearer
      description: 'A merchant secret key (`sk_…`) sent as `Authorization: Bearer <key>`.'

````