Report how a paid x402 call went
report_outcomeAfter paying an x402 endpoint, report whether you got what you paid for. Free, optional, and open to every agent: send the receipt from a Lumière PayCheck allow decision (paid plans), or the endpoint url plus the payment's transaction hash (anyone; we verify the payment on-chain, Base or Solana, within 24 hours). Answer the short questions in answers: gotResponse, matchedListing (yes/partly/no), charged (as_quoted/more/twice), dataUsable (yes/unsure/no), wouldPayAgain. Reports never change a grade by themselves: confirmations from independent buyers move the endpoint up our paid-test queue, and serious problems (nothing came back, charged more or twice) trigger a re-test; only our own paid test changes the grade. One report per payment; the seller's own wallet can't report on itself.
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": "report_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | The payment's transaction hash (Base 0x...) or Solana signature | |
| url | No | The endpoint you paid (with tx, when you have no receipt) | |
| answers | No | ||
| outcome | No | Optional shortcut instead of answers: delivered = usable; problem = error, empty, wrong or overcharged | |
| receipt | No | The receipt from a Lumière PayCheck 'allow' decision (paid plans). Or send url + tx instead. | |
| problems | No | Short descriptions, e.g. 'missing field price', 'HTTP 500' | |
| httpStatus | No | HTTP status the endpoint returned after payment, e.g. 200 or 500 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| paid | No | Amount paid on-chain, atomic units | |
| reason | No | Why it wasn't accepted | |
| thanks | No | ||
| flagged | No | no_response, overcharged or double_charged: sent privately to the operator for an immediate re-test | |
| network | No | ||
| outcome | No | ||
| accepted | Yes | Whether the report was recorded | |
| forTeams | No | Short note about team plans (per-agent keys, spend limits, audit trail) | |
| overcharge | No | Present when the on-chain payment was higher than any quote we saw | |
| retestQueued | No | A paid re-test was queued because of reports | |
| ourTestQueued | No | Our own paid test of this endpoint is queued (buyer confirmations or problem reports moved it up) | |
| verifiedOnChain | No | The payment was found on-chain (reports sent with tx instead of a receipt) |