@flarehq/sdk, @flarehq/react or flarehq-python. The application does not contain those client libraries. Older installation commands and methods such as checkout.createSession, FlareCheckout and webhooks.constructEvent are not supported integration instructions.
Use the documented REST API and your language’s HTTP client. Circle and wallet SDKs used internally by the server are not a public FlareHQ SDK.
Server-side example
This request creates a PENDING invoice; it does not submit a payment. Use the verified merchant’s API key and finish the merchant’s wallet setup first. The server resolves the payout wallet from that merchant, not arecipient field supplied by your client.
successUrl, cancelUrl, arbitrary metadata and SDK-style recipient are not supported by this handler.
Browser integration
The customer pays directly to the merchant wallet; FlareHQ never holds checkout funds. Redirect to the returned/checkout/{reference} URL or embed /checkout/embed/{reference}. Keep your API key on your server. A FlareHQ publishable-key/secret-key pair and React checkout package are not supported.
Do not infer payment from a redirect or a webhook. Read the actual status and transaction evidence, compare the frozen invoice with your order, and fulfill once using durable application state.
Network and feature availability
Network selection is a deployment configuration, not a request’s SDKenvironment argument or an API-key prefix. Mainnet is chain 5042; testnet is 5042002. Mainnet escrow and ERC-8183 job actions are unavailable, legacy per-second stream mutations are retired, and x402 is disabled. See payment availability.

