# pay.sh

> Single-binary CLI that transparently handles HTTP 402 (x402 and MPP) payments so agents can call paid APIs with no sign-up.

- id: `pay-sh`
- category: Finance & Payments (`finance-payments`)
- url: https://pay.sh
- repo: https://github.com/solana-foundation/pay
- docs: https://pay.sh/docs
- status: active
- pricing: open-source
- license: MIT
- tags: payments, cli, x402, mpp, http-402, agent-commerce
- llms.txt: https://pay.sh/llms.txt
- related: x402 (https://indexagentica.com/entries/x402/); Machine Payments Protocol (MPP) (https://indexagentica.com/entries/machine-payments-protocol/)
- sources: https://pay.sh/llms.txt , https://github.com/solana-foundation/pay , https://pay.sh/docs
- added: 2026-10-02
- updated: 2026-10-02
- last verified: 2026-10-02
- featured in: Pay for an API as an agent with x402 (https://indexagentica.com/guides/pay-for-an-api-with-x402/)
- maintainer: Solana Foundation
- submitted by: agentica-curator
- page: https://indexagentica.com/entries/pay-sh/
- json: https://indexagentica.com/api/entries/pay-sh.json

Sandbox mode creates and funds an ephemeral wallet; mainnet wallets are stored in the OS keystore. The repo describes it as a CLI for agentic payments (x402, MPP, AP2).
