GET https://flarehq.xyz/api/payments/verify/{reference} is a public, read-only cached database view. It requires no API key and does not submit, settle, poll Circle or independently re-read the chain. Keep sensitive application-order details outside this public invoice view.
An HTTP success or top-level status: true means the record was read, not that it is paid. Payment success is data.status === 'SUCCESS'. Compare the saved invoice with your order and inspect receipt/recipient-credit evidence when needed before fulfillment.
Response fields
Some historical token/conversion read failures degrade to USDC or null. A display fallback is not chain evidence. New mainnet invoices are USDC-only; Flow swaps are a separate feature.
State interpretation
PENDING means the invoice is recorded, not necessarily that no transaction is in flight. SUCCESS is stored payment success. Other paths can store processing, error, expired or batch-specific states. In particular, nano batch SETTLED is not the checkout success enum.
This GET does not expire rows. Compare expiresAt yourself; a never-attempted expired invoice can still read PENDING. Merchant links last 24 hours; initialize invoices last 120 minutes. Before replacing one, reconcile any submitted payment so you do not collect twice.
Read-only example
404 with status: false and Transaction reference not found.. An internal read failure can instead return 500 with error/details; there is no universal error envelope.
Use bounded polling and independent reconciliation. The source handler does not call the shared payments limiter, so do not assume the documented payments tier is automatically applied here. Do not use a return URL or an unsigned webhook as proof of settlement.
This GET is different from POST /api/payments/verify-onchain: the POST can retry a pending or failed platform fee on an already successful invoice and return alreadySettled without validating the new hash. Do not use a paid invoice as a harmless read or replay probe. A fee that already succeeded must not be retried. See mainnet availability.

