Report an x402 payment outcome
report_x402_paymentAfter your agent pays an x402 seller with any wallet, report what came back. Needs the resource URL, the settlement transaction hash and the outcome. Free, no account, no key; the report counts only with on-chain proof.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The x402 resource URL that was paid for | |
| outcome | Yes | What came back: ok (the response was usable for its purpose), non_delivery (an error, an empty body or nothing usable after paying), wrong_goods (a usable response, but not what was asked for), overcharge (charged more than the quoted or listed price), duplicate (two settlements for one purchase) | |
| tx_hash | Yes | The settlement transaction hash on Base: the `transaction` field of the seller's PAYMENT-RESPONSE or X-PAYMENT-RESPONSE header (base64 JSON) | |
| http_status | No | The HTTP status of the paid response, if known | |
| quoted_usdc | No | The price the 402 quoted, in USDC, if known |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payer | Yes | The paying wallet, read from the transaction (never from the report) | |
| pay_to | Yes | ||
| reason | Yes | Why a report was rejected; null otherwise | |
| status | Yes | verified: counted once folded in (minutes); pending: checked on Base again within minutes; duplicate: this transaction was already reported; rejected: not counted, see reason | |
| sentence | Yes | The result in one sentence | |
| amount_usdc | Yes | USDC moved, read from the transaction | |
| verification_url | Yes |