Generated files
Fill the form and press Generate.
—
Downloads are flattened (for example .well-known_x402). Rename each file to the path shown on its tab before serving it.
Where the files go
Serve each file at the exact path below on the same origin as the paid endpoint. Static files are enough: no backend, no dependency, no build step.
Six small files. .well-known/x402 is a file, not a directory. Keep the JSON indentation; it is easier to diff.
Some servers hide /.well-known/. Add an exact location so it returns the file with application/json.
curl -i https://your-host/.well-known/x402 must return 200 and JSON. Repeat for the other five.
When the files are right and the listing still fails
Discovery files are necessary, not sufficient. The 402 challenge, the declared https resource, the Bazaar extension, the asset and the payTo must all agree. That diagnosis is a paid endpoint: listing-doctor ($0.05 per call, USDC on Base). Its own discovery files are generated by this same tool.