x402 test purchase
x402_test_purchaseUse when you test an x402 or MPP client, wallet, SDK, facilitator or CI: a test target for x402/MPP clients, use it in your integration tests. Returns the paid x402 request for your input (GET /x402/test, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge.
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": "x402_test_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry | No | dry=1: free list of every accepted rail, nothing charged | |
| msg | No | Any text; echoed back in echo.query. Any other query parameter or a POST body (hashed) works too |