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

# API Reference Overview

> The PayHub API exposes resources covering the full merchant lifecycle. All endpoints require a valid API key passed in the `Authorization` header.

## Core Concepts

<CardGroup cols={2}>
  <Card title="Pagination" icon="list" href="/api-reference/pagination">
    How to page through list results.
  </Card>

  <Card title="Errors" icon="circle-x" href="/api-reference/errors">
    HTTP status codes and error response structure.
  </Card>
</CardGroup>

## Resources

<CardGroup cols={2}>
  <Card title="Agents" icon="briefcase" href="/api-reference/agents/index">
    Manage sales agents, their merchant assignments, documents, and notes.
  </Card>

  <Card title="Applications" icon="user-plus" href="/api-reference/leads/index">
    Create and advance merchant applications through the full underwriting and boarding workflow.
  </Card>

  <Card title="Merchants" icon="store" href="/api-reference/merchants/index">
    Manage active merchant accounts, pricing schedules, equipment orders, and documents.
  </Card>

  <Card title="Partners" icon="handshake" href="/api-reference/partners/index">
    Manage partner organizations, processor settings, and downstream pricing.
  </Card>

  <Card title="Reporting" icon="chart-line" href="/api-reference/dashboards/index">
    Pre-aggregated KPI metrics and summary data scoped to agents, merchants, and partners.
  </Card>

  <Card title="Tickets" icon="ticket" href="/api-reference/tickets/index">
    Create and manage support tickets, activity feeds, watchers, and document attachments.
  </Card>
</CardGroup>
