/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_WRITEscope (Authentication). - A webhook endpoint subscribed to
transaction.analysis.completed,transaction.analysis.rejected, andtransaction.analysis.failed. It is configured in the dashboard: Config › Webhooks (Webhooks). - One
X-Idempotency-Keyper transaction (Idempotency).
The flow
POST /v1/transactions/analyze/asyncwith your transaction and your key. You get a202with thetransaction_id.- Fraudeg scores the transaction.
- A webhook reaches you:
completedwith the decision,rejectedif there is something to fix,failedif it failed on our side. - Once a day, reconcile with
GET /v1/transactions/{id}/analysis.
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
Each202 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 thetransaction_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.