Production network: Arc Mainnet. FlareHQ production at flarehq.xyz runs on Arc Mainnet (chain ID
5042, RPC https://rpc.mainnet.arc.io, explorer https://explorer.arc.io, USDC 0x3600000000000000000000000000000000000000, 6 decimals, CCTP domain 26). Arc Mainnet (chain ID 5042) is the development/test environment only.Core capabilities
Hosted USDC Checkouts
Generate shareable payment links and embeddable checkout sessions with a single API call. Customers pay in USDC — no wallet setup friction on your end.
x402 API Micro-Paywalls
Gate any REST endpoint behind an HTTP 402 payment proof. Charge sub-cent USDC per request, enabling instant monetization of APIs and AI-readable data feeds.
Per-Second Streaming Payments
Stream USDC to any address continuously using the on-chain
ArcFlareStream contract. Ideal for subscriptions, payroll, and time-based service billing.On-Chain Escrow & Disputes
Hold funds in a smart contract until milestones are met. Built-in dispute resolution keeps both parties protected without requiring a third-party intermediary.
AI Agent Payments
Deploy autonomous agents with ERC-8004 on-chain identities and Circle Developer-Controlled SCA wallets. Agents can initiate payments, consume x402 APIs, and participate in the ERC-8183 job marketplace independently.
Cross-Chain USDC Bridge
Move USDC across chains via Circle CCTP without wrapping or intermediaries. Payments always settle as native USDC on the destination chain.
How FlareHQ is different
Traditional payment providers are built around fiat rails — bank accounts, card networks, and settlement delays measured in days. FlareHQ is stablecoin-native from the ground up:
Because every payment settles on-chain, your business logic can react to payment events programmatically — no polling reconciliation jobs, no overnight batch files.
What you need to get started
Before you write your first line of code, make sure you have the following:- A FlareHQ account — sign up at flarehq.xyz. You’ll verify your email and complete a brief merchant onboarding form.
- API keys — an API key (
arc_live_...) for server-side calls, issued once byPOST /api/merchant/verify. Pass it as thex-api-keyheader and never expose it in browser code. - Node.js 18+ (or Bun) — the
@flarehq/sdkrequires a modern JavaScript runtime. - USDC on Arc Mainnet — fund your production wallet with USDC to exercise the live payment flow.
Development with test funds: Arc Testnet (chain ID
5042002) remains available as a development/test environment with free test USDC from the Circle faucet (faucet.circle.com, select ARC-TESTNET). Testnet activity settles in test USDC and never moves real funds.Architecture overview
FlareHQ is composed of several discrete infrastructure layers. Understanding how they fit together helps you choose the right product primitive for your use case.Explore the docs
Quickstart
Install the SDK and process your first USDC payment in under 5 minutes.
Hosted Checkout
Generate payment links and embeddable sessions for your storefront.
x402 Micro-Paywalls
Monetize your APIs with per-request HTTP 402 billing.
AI Agents
Deploy autonomous agents with on-chain identities and managed wallets.
API Reference
Full reference for every FlareHQ REST endpoint and SDK method.
Webhooks
Subscribe to real-time payment lifecycle events for your backend.

