verify_payment
USDC payment verification API: did a USDC payment from payer to payee for an exact amount land on Base (or Base Sepolia)? Returns the matching on-chain transfer for your invoice. Verify payment. Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.
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": {
"payer": "<payer>",
"payee": "<payee>",
"amount": "<amount>",
"invoice": "<invoice>"
},
"name": "verify_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payee | Yes | 0x address | |
| payer | Yes | 0x address | |
| amount | Yes | USDC decimal, e.g. 0.01 | |
| invoice | Yes | [\w.:-]{1,64} | |
| network | No | base | base-sepolia | |
| lookback_blocks | No | optional int |