x402fix

v0.1.0
co.youraitools/x402fix Checked 2 days ago Published 1 month ago

x402 endpoint doctor: grades a paid route A-F unpaid, with paste-ready fixes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_x402_endpoint Is my x402 endpoint correct?

x402 endpoint doctor: probes a paid x402 URL unpaid (GET, HEAD, empty POST, CORS; never pays) and grades it A-F: 402 behavior, v2 PAYMENT-REQUIRED header and v1 body, accepts (USDC asset, EIP-712 domain, Solana feePayer, amounts, payTo), multichain consistency and the Bazaar declaration. Use it after deploying or changing a paid route. Free preview by default (grade, score, status, counts). With X402FIX_X402_PRIVATE_KEY set, returns the paid check report (numbered fix list, CDP facilitator validate verdict, payee checks, generated extensions.bazaar block and multichain accepts) from https://ap…

ParameterTypeDescription
url *stringFull https URL of the paid x402 route
methodstringMethod the route uses (default: from its Bazaar declaration)