Screen a payment before paying
screen_paymentScreens a payment counterparty before you pay, checking address sanity, dynamic payTo swaps, transport safety, and your spending policy. Returns allow, review, or block with reasons.
Instructions
Screen a counterparty an agent is about to pay. Runs entirely offline: address sanity, dynamic-payTo comparison, transport check, and your spending policy. Returns allow / review / block with reasons. Advisory: the caller decides. Set FRISK_API_KEY to add hosted reputation signals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Asset symbol, e.g. USDC. | |
| amount | No | Amount the agent is about to pay. | |
| endpoint | No | URL that quoted the payment. Used to check transport safety. | |
| maxPerCall | No | Spending ceiling for a single call. | |
| strictness | No | 0 is permissive, 1 is paranoid. Defaults to 0.3. | |
| counterparty | Yes | The address the agent intends to pay, e.g. an 0x EVM address. | |
| allowedAssets | No | Assets the agent is permitted to pay in. | |
| observedPayTo | No | The payTo address the endpoint actually returned for this request. If it differs from the counterparty, that is the dynamic-payTo swap. |