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.
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) |