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

# Get supported currencies

> Returns the list of currencies supported by the platform and the default currency.
Use this when creating products or configuring pricing to ensure you use a supported currency.




## OpenAPI

````yaml /openapi.yaml get /v1/config/currencies
openapi: 3.1.0
info:
  title: Kyren Pay API
  description: >
    The Kyren Pay API enables merchants to accept payments from customers
    worldwide.

    Integrate checkout sessions, manage products, track orders, and handle
    webhooks.


    **Data types**: The API uses the following types for request/response data:

    - **string**: For text, identifiers, and **all amount/price fields** (e.g.
    `price`, `amount`, `platformFee`, `available`)
      to avoid floating-point precision issues. Use decimal format like `"9.99"`.
    - **integer**: For counts, pagination, and timestamps

    - **timestamp**: Unix timestamp in milliseconds (integer) for all time
    fields (e.g. `createdAt`, `paidAt`, `expiresAt`).
      Time parameters (e.g. `startDate`, `endDate`) also use Unix milliseconds.
  version: 1.0.0
  contact:
    name: Kyren Pay Support
    email: support@kyren.top
    url: https://kyren.top
servers:
  - url: https://api.kyren.top
    description: Production
  - url: https://staging-api.kyren.top
    description: Staging, available only with credentials issued by Kyren
security:
  - ApiKeyAuth: []
tags:
  - name: Config
    description: Retrieve platform configuration such as supported currencies.
  - name: Products
    description: Create and manage products that represent the goods or services you sell.
  - name: Checkouts
    description: Create checkout sessions to collect payments from your customers.
  - name: Orders
    description: View and manage orders created from completed checkout sessions.
  - name: Balance
    description: View your account balance and transaction history.
  - name: Epay Compatibility
    description: >
      Compatibility endpoints for existing integrations built on 易支付 API
      conventions.

      These endpoints use form/query parameters with `pid + sign` verification
      (MD5), not `x-api-key` header auth.
paths:
  /v1/config/currencies:
    get:
      tags:
        - Config
      summary: Get supported currencies
      description: >
        Returns the list of currencies supported by the platform and the default
        currency.

        Use this when creating products or configuring pricing to ensure you use
        a supported currency.
      operationId: getCurrencies
      responses:
        '200':
          description: Supported currencies and default currency
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrenciesResponseWrapper'
              example:
                code: 0
                message: success
                data:
                  currencies:
                    - code: USD
                      label: USD
                    - code: CNY
                      label: CNY
                    - code: HKD
                      label: HKD
                  defaultCurrency: USD
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    CurrenciesResponseWrapper:
      type: object
      properties:
        code:
          type: integer
          example: 0
        message:
          type: string
          example: success
        data:
          $ref: '#/components/schemas/CurrenciesResponse'
    CurrenciesResponse:
      type: object
      properties:
        currencies:
          type: array
          items:
            $ref: '#/components/schemas/CurrencyOption'
          description: List of supported currencies
        defaultCurrency:
          type: string
          description: The default currency code used when none is specified
    ErrorResponse:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
        error:
          type: object
          properties:
            field:
              type: string
            reason:
              type: string
    CurrencyOption:
      type: object
      properties:
        code:
          type: string
          description: Three-letter ISO currency code (e.g. USD, CNY, HKD)
        label:
          type: string
          description: Display label for the currency
  responses:
    Unauthorized:
      description: Unauthorized — missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 401
            message: Unauthorized
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >
        Your API key. Public production API-key endpoints accept `kyren_live_*`
        keys. Staging credentials are environment-specific and must be used only
        with the staging environment for which Kyren issued them.

````