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
--no-dnawhen another program or agent needs JSON-oriented, non-interactive output.
Run the request
curl https://debugger.pay.sh/mpp/quote/AAPL
pay --sandbox curl https://debugger.pay.sh/mpp/quote/AAPLBuilt-in client
Use pay fetch when no external curl binary should be required:
pay --sandbox fetch https://debugger.pay.sh/mpp/quote/AAPLNext checks
pay --sandbox --verbose curl https://debugger.pay.sh/mpp/quote/AAPL
pay --no-dna --sandbox curl https://debugger.pay.sh/mpp/quote/AAPL