Skip to main content
FlareHQ does not use one universal response envelope. Many endpoints return success/error; payment verification uses status/message/data; x402 challenges are protocol headers; some errors contain only error, code, reason or details. Check HTTP status and the route’s actual body. HTTP 200, success: true or top-level status: true does not by itself prove payment or upstream delivery. A verification query can succeed while data.status is PENDING. Some balance views return zero-filled values after a read failure.

Common HTTP statuses

Timeout behavior and error codes vary by route. There is no universal five-minute x402 proof rule or guarantee that every chain revert is 502.

Mainnet availability errors

  • Escrow: escrow_unavailable or escrow_misconfigured.
  • Streams: stream_unavailable or stream_misconfigured; configured legacy mutations return STREAM_ABI_CONFIG_CONFLICT.
  • ERC-8183 jobs: erc8183_unavailable when the external protocol address is absent.
  • x402 resources: x402_unavailable; Gateway buyer/balance operations use gateway_mainnet_unavailable at their availability gate.
Authentication can run before the availability response on some buyer routes. Mainnet x402 remains disabled even with a verifier address configured; do not bypass the gate. See payment availability.

Rate limits

The shared limiter defines per-minute tiers: default 50, payments 30, agent 10, keys 5, escrow 20, stream 20, nano 100, withdraw 5 and session 10. These apply where a route invokes that limiter; path prefixes do not prove every endpoint has the same bucket. The limiter keys on a supplied API key, otherwise a connection identity. Upstash is used when configured; its bounded memory fallback is process-local. Only the Upstash rejection path supplies Retry-After and rate-limit headers. Production deployment behavior was not load-tested under authenticated traffic here.

Safe response handling

This read-only example checks the verification endpoint’s real shape:
Do not log API keys, cookies, raw signatures or private configuration. Retain the reference, safe error code, Circle transaction ID and actual transaction hash privately for reconciliation.

Troubleshooting

Initialized invoices have a 120-minute expiry; merchant payment links have a 24-hour expiry. Check the stored expiresAt and payment status. A cached read may still say PENDING after expiry; the merchant link view exposes a derived display status. Before replacing an invoice, inspect any submitted payment so you do not collect twice.
Inspect the saved attempt, Circle status, receipt, matching database record and recipient credit. Retry only through that endpoint’s documented resume/idempotency behavior. A blanket exponential retry of a POST can duplicate a payment or deployment.
Verify Registry ID, ERC-8004 token ID, SCA address and network separately. Do not redeploy as the default fix: registration might already exist but await identity indexing. Use the owning merchant’s deployment recovery path where applicable.
That is current behavior, not a raw-body HMAC failure. No implemented FlareHQ outbound signing secret or verified constructEvent helper was established. Treat it as a hint and reconcile with your saved order and verified settlement evidence.