Skip to main content
Asynchronous mode uses the same engine as /analyze. What changes is how the decision comes out: the path responds 202 when it accepts the request, and the decision arrives as a signed webhook. See Integration modes to choose.

What you need

  • An API key with the TRANSACTIONS_WRITE scope (Authentication).
  • A webhook endpoint subscribed to transaction.analysis.completed, transaction.analysis.rejected, and transaction.analysis.failed. It is configured in the dashboard: Config › Webhooks (Webhooks).
  • One X-Idempotency-Key per transaction (Idempotency).

The flow

  1. POST /v1/transactions/analyze/async with your transaction and your key. You get a 202 with the transaction_id.
  2. Fraudeg scores the transaction.
  3. A webhook reaches you: completed with the decision, rejected if there is something to fix, failed if it failed on our side.
  4. Once a day, reconcile with GET /v1/transactions/{id}/analysis.
The 202 only says the request was accepted. Save the transaction_id: it is the one the webhooks carry and the one you use to check the status. Reference: POST /analyze/async. The synchronous paths (/analyze, /analyze/sandbox) never send these webhooks: their decision travels in the response.

The notifications

Each 202 ends in exactly one webhook: completed with the decision, rejected if there is something to fix, or failed if it failed on our side. Payloads, deduplication, and resends in Transaction events; signature and retries in Signature and delivery.

Reconcile

We do not guarantee delivery. Once a day, go through the transaction_ids you accepted that have no result in your system and query GET /v1/transactions/{id}/analysis. DECIDED carries the decision; REJECTED and FAILED carry the code. The status is kept for 72 hours. Next step: Analysis status.