Determines the hold action, review tier, and resolution path for a flagged order from fraud score, known fraud patterns, address/country mismatch, and inventory holds. For e-commerce operators triaging exception-flagged orders.
Parity returns a Exception action — one of: Auto approve, Manual review, Cancel fraud risk, Hold inventory, Hold address.
| Output | Type | |
|---|---|---|
| Exception action | string | — one of: Auto approve, Manual review, Cancel fraud risk, Hold inventory, Hold address, Escalate fraud team |
| Hold reason | string | — one of: None, Fraud score, Address mismatch, Inventory |
| Review tier | string | — one of: None, Ops agent, Fraud analyst |
| Action required | string |
| Input | Type | |
|---|---|---|
| Order id | string · required | |
| Fraud score | numeric · required | |
| Fraud score threshold | numeric · required | |
| Order value usd | numeric · required | |
| Billing address matches shipping | boolean · required | |
| Card country matches ship country | boolean · required | |
| First order this customer | boolean · required | |
| Payment method | string · required | |
| Inventory hold active | boolean · required | |
| Address validation failed | boolean · required |
Compiled, deterministic, and auditable — the logic is confirmed once by a human, then runs byte-identically every time. No spreadsheets, no code.