Skip to main content
Scores one transaction in real time. Target latency: p99 < 500 ms on the hot path. Authentication: X-API-Key. Requires fraud_detection_consent=true on your client.

Request body

See Transaction fields reference for full details. Required fields:

Optional fields

Enrich scoring (device, geo, merchant, balances). Not required, but they improve rules and model features. Full reference: Transaction fields.
Do not send plaintext PII. Use SHA-256 hashes for user_token, ip_hash, and account tokens.
See Thresholds and decisions and SHAP features.

More request examples

Typical errors

  • 403 — Fraud consent not granted
  • 409 — Duplicate transaction_id within 24 h window
  • 422 — Validation (invalid enum, amount ≤ 0, hash not 64 characters)
  • 504 — Scoring timeout

See also