POST /v1/transactions/analyze at
https://api.fraudeg.com/api, review these points. The production dashboard is
https://fraudeg.com. See Environments.
/analyze/sandbox still exists on the production API. Use it for a one-off test
against the mature model; live traffic goes to /analyze, without /sandbox.
1. Use the production API key
Replace any pre-official-integration key with the one you generated athttps://fraudeg.com (see Create your API key). All production
traffic carries that key in X-Api-Key.
2. Handle the 5 values of decision.type
Your integration needs a branch for each one —
APPROVE, CONDITIONAL_APPROVE, STEP_UP_AUTH, HOLD, BLOCK — not just for
APPROVE/BLOCK. See Transaction decisions.
3. Generate a real X-Idempotency-Key per transaction
In testing it is common to reuse the same key. In production, every real transaction needs
its own (16 to 128 url-safe characters) — and a retry of the same transaction has to
reuse the same key.
4. Handle the two 409s and the 422
Do not treat the two
409s as the same case. See Idempotency.
Next step: POST /analyze.