Verify x402 V2 Payment Header
tollbooth_verify_x402Verify an x402 V2 payment payload signature and expiry against payment requirements and replay records without executing on-chain transfers.
Instructions
Verify an x402 V2 paymentPayload signature and expiry against paymentRequirements and replay records. Does not execute on-chain transfers.
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": {
"x402Version": "<x402Version>",
"paymentPayload": "<paymentPayload>",
"paymentRequirements": "<paymentRequirements>"
},
"name": "tollbooth_verify_x402"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x402Version | Yes | x402 protocol version integer (must equal 2). | |
| paymentPayload | Yes | Decoded x402 V2 PAYMENT-SIGNATURE JSON payload object. | |
| paymentRequirements | Yes | Accepted payment requirements object specifying amount, network, and payTo address. |