Verify x402 Payment Required
verify_x402_payment_requiredPaid wire-bound x402 v2 preflight. Give FOXIFY the merchant's actual PAYMENT-REQUIRED challenge, exact intended HTTP request and independent caller authority; FOXIFY derives payment facts and returns advisory ALLOW, REVIEW or DENY evidence. Costs $0.05 USDC on Base.
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": {
"payment_required": "<payment_required>",
"intended_request": "<intended_request>",
"authorization": "<authorization>"
},
"name": "verify_x402_payment_required"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Optional caller agent context. | |
| accept_index | No | Explicit accepted-payment index when the challenge contains multiple eligible exact-USDC options. | |
| authorization | Yes | Independent caller authority. Merchant PAYMENT-REQUIRED facts never authorize themselves. | |
| intended_request | Yes | Exact HTTP request bound to the merchant x402 challenge. | |
| payment_required | Yes | Raw x402 v2 PAYMENT-REQUIRED header value or its decoded object. |