pay.sh
Single-binary CLI that transparently handles HTTP 402 (x402 and MPP) payments so agents can call paid APIs with no sign-up.
Tags
Description
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).
Agent access
Related
- x402: Open standard for internet-native payments built on HTTP 402, letting APIs and agents pay per request across crypto and fiat networks.
- Machine Payments Protocol (MPP): Open standard for machine-to-machine payments over HTTP 402, co-developed by Tempo and Stripe; charge per API request, tool call or content.
Guides & comparisons
- Pay for an API as an agent with x402 (Guide): How an agent pays per request for an HTTP API or MCP tool with x402 v2, from reading the 402 response to signing a USDC payment with spend caps, on testnet first.
Sources
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)