Fix plan for an x402 endpoint ($0.05 via x402)
x402_fixPaid ($0.05 USDC via x402 on Base or Solana): diagnoses your x402 endpoint, then returns per problem the concrete change as code for your stack (express, next, hono, node, python, generic), filled in with your own payTo, amount, network and route. Same as GET /api/v1/fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid | |
| stack | No | Your server stack (default: detected) | |
| method | No | HTTP method of the paid route (default: GET, then POST) |