Quickstart with your agent
Paste one prompt into your coding agent. It figures out where you are and walks you through everything.
Read https://agentcash.dev/merchants.md and follow the guide to make my API discoverable and payable by agents. Do everything automatically. Only ask me if you need input you can't determine yourself. Don't register my API on x402scan or any other registry until the implementation is finished and live — then show me what would be listed and wait for me to approve it.Test your API
Run discovery against your origin to see what x402scan resolves before you register.
When the agent finishes
- Your
/openapi.jsonshould describe each payable route withx-payment-infoand a402response. - The runtime should challenge unpaid requests with a valid x402 payment response.
- The agent should stop and ask before registering. Review the origin and routes it plans to list, then approve — registering publishes a listing agents will call and pay for.