x-flarehq-signature verification contract, webhook signing-secret issuance or verified constructEvent SDK for these messages.
An incoming POST is not proof of payment. It can be spoofed, missing or duplicated.
Configure a destination
- Invoice/payment-link and some other create handlers accept
webhookUrl. Follow each endpoint’s actual fields rather than assuming every entity supports it. - Merchant notification preferences use
/api/merchant/notifications/preferences, includingwebhookEnabled,webhookUrland muted events. The dispatcher only uses the preference/override URL when that merchant has enabled webhooks. - There is no universal endpoint-registration, signing-secret or event-log replay dashboard. Do not rely on older Settings → Webhooks → Event Log instructions.
Two payload families
Direct route notifications are flat objects withevent plus route-specific fields. For example, an on-chain settlement handler sends:
event.id, event.type, metadata, recipient or timestamp common to all notifications.
Merchant preference notifications instead use the dispatcher envelope:
Events found in source
These names are implementation observations, not a promise that every mainnet event can currently fire.
The retired per-second stream handlers do not emit the old create/stop/withdraw/completed lifecycle. Mainnet escrow and ERC-8183 job streams remain unavailable. Read payment availability.
Reconcile before fulfillment
- Parse a bounded notification body and look up the entity in your own saved orders. Never fetch a URL supplied by the notification.
- Queue a reconciliation task durably. Fetch payment status from the fixed FlareHQ origin using the saved reference, not the untrusted amount or recipient.
- Require the expected status, amount, currency, frozen recipient and actual receipt/recipient-credit evidence. The verification endpoint’s top-level
status: truemeans the query succeeded; payment success isdata.status === 'SUCCESS'. - Fulfill once using a transactional order transition. Deduplicate by your entity/reference and verified settlement identity, not a nonexistent universal webhook event ID.
- Reconcile pending orders independently of notifications. HTTP success or a webhook failure does not determine whether money moved.
GET /api/payments/verify/{reference} reads cached database state; it does not itself re-read or settle the chain. Use owner-authorized records and the actual receipt when stronger settlement proof is needed.
Delivery and retries
Some handlers await their notification fetch; others fire it without waiting. Neither implementation has a durable retry schedule, stored delivery-attempt log or manual replay API. A non-2xx receiver response is not guaranteed to produce a retry. Only acknowledge after your own reconciliation task is durably accepted. Do not depend on a promised one/five/thirty-minute redelivery schedule, and do not retry a fund-moving operation just because its notification did not arrive.Inbound platform webhooks are different
POST /api/webhooks/circle verifies Circle’s signed inbound webhook, and POST /api/telegram/webhook uses Telegram’s configured secret-token boundary. Those controls do not sign FlareHQ’s outbound notifications to your server.

