Verify an x402 payment
verify_paymentCheck a signed x402 payment against its requirements: signature, amount, balance and simulation. Moves no funds. Same answer as POST /verify, and it spends the same per-IP allowance.
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": {
"paymentPayload": "<paymentPayload>",
"paymentRequirements": "<paymentRequirements>"
},
"name": "verify_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x402Version | No | x402 protocol version of the payload, e.g. 2. | |
| paymentPayload | Yes | The PaymentPayload the buyer signed. | |
| paymentRequirements | Yes | The PaymentRequirements the resource server stated. |