Check x402 Payment Intent Against Policy
check_payment_intentEvaluate a proposed x402 payment against per-transaction and rolling daily spend caps before signing, blocking payments that would exceed configured policy limits.
Instructions
Evaluates a proposed x402 protocol payment against a per-transaction spend cap and a rolling daily cumulative spend cap, shared with trade intents. Call this BEFORE signing or sending any x402 payment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resourceUrl": "<resourceUrl>",
"usdValue": "<usdValue>"
},
"name": "check_payment_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usdValue | Yes | Estimated USD value of the payment | |
| resourceUrl | Yes | The x402-protected resource URL being paid for |