risk_score
Score a transaction's fraud risk before authorizing payment. Combines counterparty signals, amount anomalies, sanctions screen, and rail/category heuristics to recommend allow, review, or decline.
Instructions
Score a transaction's fraud risk BEFORE authorizing payment.
Call right before an agent pays. Combines counterparty signals + amount anomalies + sanctions screen + rail/category heuristics. Recommendation is one of: allow / review / decline. 'decline' = abort the payment. rail in: x402, ap2, acp, tap. category in: digital_goods, services, physical. Returns: {score: 0-100, recommendation, reasons: [...], screen_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rail | No | x402 | |
| amount | Yes | ||
| category | No | digital_goods | |
| currency | No | USDC | |
| counterparty_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |