Check x402 payment flow
check_payment_flowVerifies an agent's x402 payment flow against a free Base Sepolia testnet endpoint. Call with no arguments first to get back the payment-required challenge (price, network, payTo). Sign it with your x402 client, then call again passing paymentSignature as the encoded PAYMENT-SIGNATURE header value to get back a verified/failed receipt.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_payment_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentSignature | No | Encoded PAYMENT-SIGNATURE header from a signed x402 payment payload. Omit to receive the payment-required challenge instead. |