x402_verify_payment
Verify an incoming crypto payment by transaction hash to confirm funds before granting access to a paid resource. Optionally validate sender and amount.
Instructions
Verify an incoming payment transaction. Use this to confirm payment was received before granting access to a paid resource.
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": {
"txHash": "<txHash>"
},
"name": "x402_verify_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | Transaction hash from X-Payment-Proof header | |
| expectedFrom | No | Expected sender address (optional) | |
| expectedAmount | No | Expected payment amount (optional extra validation) |