Verify a signed x402 Doctor answer (free)
verify_receiptFree: check the signed receipt that every paid x402 Doctor answer carries (diagnose, preflight, batch, deep, fix, delivery check; HTTP or MCP), for example to prove later which verdict you got before paying an endpoint. Pass the whole answer as response. Returns valid, the signer and whether it is an x402 Doctor signer; with route and input also whether the receipt is for exactly that request. A changed verdict or receipt fails. Read-only, nothing is stored. Same as POST /api/v1/verify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | The tool arguments you sent (MCP), or the query parameters as strings (HTTP) | |
| route | No | The request it answered: "mcp <tool name>" for an MCP answer (e.g. "mcp x402_preflight"), "GET /api/v1/preflight" for an HTTP one | |
| response | Yes | The whole paid answer as you received it, including its receipt |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | true: signed by an x402 Doctor signer, unchanged, and (when route and input are given) for that request | |
| reason | No | Why it is not valid | |
| signer | No | The address that signed it | |
| known_signer | No | Whether that address is a current, retired or certified x402 Doctor signer | |
| input_matches | No | Only with route and input: whether the receipt is for exactly that request | |
| signer_status | No | current, retired or certified |