Get Started
Client quickstart
Make a sandbox paid API request from the command line.
Use the sandbox first. The API returns HTTP 402, pay builds the proof, and the retried request returns the paid response.
Agent summary
- Start with a single
pay --sandbox curlcall. - Keep the original gateway URL unchanged.
- Add
--verboseonly when debugging payment details. - Use
--output jsonwhen another program or agent needs structured status.
Run the request
curl https://payment-debugger.vercel.app/mpp/quote/AAPL
pay --sandbox curl https://payment-debugger.vercel.app/mpp/quote/AAPLBuilt-in client
Use pay fetch when no external curl binary should be required:
pay --sandbox fetch https://payment-debugger.vercel.app/mpp/quote/AAPLVerbose Mode
pay --sandbox --verbose curl https://payment-debugger.vercel.app/mpp/quote/AAPL