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

# Check API dependencies

> Runs the deeper service health check, including production dependencies. This operation consumes protected API capacity.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/health
openapi: 3.0.3
info:
  title: UniFi Public API
  version: 1.0.0
  description: >-
    Production API operations organized around the UniFi payment lifecycle.
    Internal administration, worker, dashboard, support, scheduling, and Falcon
    orchestration routes are intentionally excluded.
servers:
  - url: https://api.payunifi.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Health
    description: Check API process availability and dependency health.
  - name: Deposit
    description: Resolve deposit addresses for a UniFi wallet.
  - name: Wallet
    description: Read stablecoin balances across wallets and chains.
  - name: Preflight
    description: >-
      Check balances, allowances, and estimated fees before submitting a
      payment.
  - name: Pay
    description: Create managed-wallet, merchant, and self-custodial payments.
  - name: History
    description: Track payment sessions, receipts, finality, and history.
paths:
  /v1/health:
    get:
      tags:
        - Health
      summary: Check API dependencies
      description: >-
        Runs the deeper service health check, including production dependencies.
        This operation consumes protected API capacity.
      operationId: getHealth
      responses:
        '200':
          description: The API and required dependencies are healthy.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthResponse'
              example:
                status: 200 OK
                data: API server is healthy
                server_uptime: 1789992000
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    HealthResponse:
      type: object
      required:
        - status
        - data
        - server_uptime
      properties:
        status:
          type: string
        data:
          type: string
        server_uptime:
          type: integer
          format: int64
          description: Unix timestamp in seconds.
  responses:
    BadRequest:
      description: The request is invalid or cannot be completed in the current state.
      content:
        text/plain:
          schema:
            type: string
    Unauthorized:
      description: >-
        The bearer credential is missing, invalid, or not authorized for this
        user.
      content:
        text/plain:
          schema:
            type: string
    NotFound:
      description: The requested resource does not exist.
      content:
        text/plain:
          schema:
            type: string
    Conflict:
      description: The operation conflicts with the resource's current state.
      content:
        text/plain:
          schema:
            type: string
    RateLimited:
      description: The credential has exceeded its current request allowance.
      content:
        text/plain:
          schema:
            type: string
    ServerError:
      description: The API could not complete the request.
      content:
        text/plain:
          schema:
            type: string
    Unavailable:
      description: A required dependency is temporarily unavailable.
      content:
        text/plain:
          schema:
            type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: Use a UniFi API key generated from the web app and stored server-side.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.