Get Started
Server quickstart
Start a sandbox payment gateway and inspect the payment flow.
Run the bundled gateway demo to test the server side of pay without writing a provider spec first.
Agent summary
- Use top-level
--sandbox;pay server demorequires it. - The demo writes
pay-demo.yamlin the current directory. - Open the debugger only for inspection; do not invent transaction details that are not shown.
Start the demo
pay --sandbox server demoCall a metered endpoint from another terminal:
pay --sandbox curl http://127.0.0.1:1402/api/v1/reports/usageThe debugger UI is served on the gateway port and shows the challenge, payment proof, retry, and final response.