x402_test_purchase · x402 test purchase
read-onlyUse 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.
Input schema
{
"type": "object",
"properties": {
"msg": {
"type": "string",
"maxLength": 500,
"description": "Any text; echoed back in echo.query. Any other query parameter or a POST body (hashed) works too"
},
"dry": {
"type": "boolean",
"description": "dry=1: free list of every accepted rail, nothing charged"
}
},
"required": []
}