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_unavailableorescrow_misconfigured. - Streams:
stream_unavailableorstream_misconfigured; configured legacy mutations returnSTREAM_ABI_CONFIG_CONFLICT. - ERC-8183 jobs:
erc8183_unavailablewhen the external protocol address is absent. - x402 resources:
x402_unavailable; Gateway buyer/balance operations usegateway_mainnet_unavailableat their availability gate.
Rate limits
The shared limiter defines per-minute tiers: default50, 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:Troubleshooting
An invoice is PENDING or expired
An invoice is PENDING or expired
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.A funded request timed out
A funded request timed out
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.
An agent lookup returns not found
An agent lookup returns not found
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.
An outbound webhook has no signature
An outbound webhook has no signature
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.
