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 exact paid x402 request for your input (GET /x402/test, $0.001 per call), with the response schema and an example; call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge.
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 |