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

# FlareHQ: Payment Infrastructure for Web3 and AI Agents

> FlareHQ is payment infrastructure for the agentic economy — USDC checkouts, x402 micro-paywalls, streaming payments, and on-chain escrow on Arc Mainnet.

FlareHQ gives developers and businesses a complete payment stack for the onchain economy. Whether you're accepting USDC checkouts, monetizing API endpoints per-request with the x402 protocol, streaming real-time payments to contractors, or locking funds in programmable escrow — FlareHQ handles settlement, wallet infrastructure, and verification on Arc Mainnet.

FlareHQ is payment infrastructure for the agentic economy — built for AI agents and merchants. Merchant-facing payment settlement is USDC.

<Note>
  **Production network: Arc Mainnet.** FlareHQ production at [flarehq.xyz](https://flarehq.xyz) settles on Arc Mainnet (chain ID `5042`, RPC `https://rpc.mainnet.arc.io`, explorer `https://explorer.arc.io`). Arc Testnet (chain ID `5042002`) remains available only as a development/test environment — see the testnet notes on individual pages.
</Note>

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Get your first USDC payment running in under 5 minutes with the FlareHQ SDK.
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    Generate API keys and learn how to authenticate every request.
  </Card>

  <Card title="Hosted Checkout" icon="credit-card" href="/payments/hosted-checkout">
    Accept stablecoin payments with a pre-built, embeddable checkout UI.
  </Card>

  <Card title="x402 Protocol" icon="bolt" href="/x402/overview">
    Monetize REST endpoints per-request using HTTP 402 micro-payments.
  </Card>

  <Card title="Streaming Payments" icon="wave-pulse" href="/payments/streaming-payments">
    Stream USDC continuously per-second to any wallet address.
  </Card>

  <Card title="Escrow & Disputes" icon="shield-check" href="/payments/escrow-and-disputes">
    Lock funds on-chain with milestone-based release and dispute handling.
  </Card>

  <Card title="AI Agent Finance" icon="robot" href="/agents/overview">
    Deploy ERC-8004 autonomous agents with Circle MPC wallets.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/overview">
    Explore every endpoint with request and response schemas.
  </Card>
</CardGroup>

## How FlareHQ works

FlareHQ connects your application to Arc Mainnet through a simple REST API and JavaScript SDK. Payments settle in USDC using Circle Developer-Controlled (SCA) wallets — operations are server-authorized and no private keys are exposed to you.

<Steps>
  <Step title="Create an account">
    Sign up at [flarehq.xyz](https://flarehq.xyz) and verify your email to activate your merchant account.
  </Step>

  <Step title="Get your API key">
    Verify your merchant email (`POST /api/merchant/verify`) to receive your API key (`arc_live_...`, shown once).
  </Step>

  <Step title="Install the SDK">
    Add `@flarehq/sdk` to your project and initialize the client with your API key.
  </Step>

  <Step title="Start accepting payments">
    Create a checkout session, set up an x402 paywall, or deploy a payment stream — all through the same unified SDK.
  </Step>
</Steps>

## Core capabilities

<CardGroup cols={3}>
  <Card title="Payment Links" icon="link" href="/payments/payment-links">
    Shareable, reusable USDC checkout URLs — no code required.
  </Card>

  <Card title="x402 Marketplace" icon="store" href="/x402/marketplace">
    List and monetize API endpoints discoverable by AI agents and developers.
  </Card>

  <Card title="CCTP Bridge" icon="bridge" href="/payments/cctp-bridge">
    Move USDC across chains via Circle CCTP (Arc Mainnet development flow — see page for production status).
  </Card>

  <Card title="ERC-8183 Jobs" icon="briefcase" href="/agents/erc8183-jobs">
    Post on-chain job contracts and pay autonomous agents for completed work.
  </Card>

  <Card title="Webhooks" icon="webhook" href="/developers/webhooks">
    Receive real-time event notifications for every payment lifecycle event.
  </Card>

  <Card title="SDKs" icon="brackets-curly" href="/developers/sdks">
    Official libraries for Node.js, React, and Python.
  </Card>

  <Card title="Merchant Platform" icon="store" href="/merchant/overview">
    Sign up, verify, and manage your business — payouts, wallet setup, and payment links.
  </Card>

  <Card title="Consumer Payments" icon="user" href="/consumer/overview">
    Sessions, balances, and send/request flows for end users of your product.
  </Card>

  <Card title="Payroll" icon="users" href="/payments/payroll">
    Pay an entire team, contractor pool, or agent cohort in a single batch call.
  </Card>
</CardGroup>
