Get Started
Get Started
Install pay and choose the right first workflow for clients, agents, or servers.
Start with sandbox mode. It uses an ephemeral local sandbox wallet and avoids real funds while you verify the payment loop.
Agent summary
- Use
pay --sandbox curl ...for the smallest client proof. - Use
pay --sandbox claudeorpay --sandbox codexwhen the agent should discover and call paid APIs. - Use
pay --sandbox server demowhen testing the gateway side. - Prefer linked docs pages over guessing flags from memory.
First commands
brew install pay
pay --version
pay --sandbox curl https://payment-debugger.vercel.app/mpp/quote/AAPLChoose a path
- Client quickstart: call a paid API from a shell.
- Agent quickstart: run an agent with Pay MCP tools.
- Server quickstart: start a local payment gateway.