x402 paid test
get_x402_testUse when an agent needs proof that an x402 endpoint takes a real payment. Returns PASS, FAIL or INCONCLUSIVE with the receipt after paying it once from our own wallet, up to $0.05, in Base or Solana USDC. A 503 or 404 is not charged. Costs 1 USDC per call (x402, USDC on Solana, Base, Polygon, Arbitrum or Arc).
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": {
"url": "<url>"
},
"name": "get_x402_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | the x402 endpoint to pay once, URL-encoded: https only, a public host, port 443; the paid request goes to exactly this URL | |
| method | No | HTTP method to pay with, default GET (a POST is sent with an empty body) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | the get_x402_test payload; a real captured example is free at https://x402.ochinimus.app/api/sample/get_x402_test | |
| tool | Yes | the tool that produced this payload |