Solana and Google Cloud Launch pay.sh to Enable AI Agents to Pay for APIs

icon币界网
Share
Share IconShare IconShare IconShare IconShare IconShare IconCopy
AI summary iconSummary

expand icon
Solana and Google Cloud have launched pay.sh, a service that enables AI agents to pay for APIs using Solana-based stablecoins. This AI and crypto development represents a step toward autonomous transactions, eliminating the need for API keys or manual registration. The platform supports Google Cloud APIs such as Gemini and Vertex AI, along with over 50 community APIs. Pay.sh serves as a coordination layer for discovering, authorizing, and settling API payments. The token launch underscores Solana’s growing role in developer infrastructure.
CoinDesk reports:
pay.sh is dedicated to bridging the gap between AI agents and paid APIs.


Article by KarenZ, Foresight News


An agent that can write code, research information, and even call its own tools often gets stuck at the simplest step: making a payment.


What pay.sh aims to dismantle is this wall. On May 5, the Solana Foundation, in collaboration with Google Cloud, launched pay.sh. This product does not target consumer wallets or seek to recreate a payment button. Instead, it addresses a more specific need: when an agent needs to call a paid API, it enables payment on-demand without manual registration or API keys—granting access immediately after payment.


In simple terms, pay.sh aims to break down the act of "calling an API" into a machine-friendly sequence: see the price, initiate a request, authorize payment, and receive the result.


According to information from the Solana Foundation and the pay.sh website, the initial integration scope covers select Google Cloud APIs, including Gemini, BigQuery, Vertex AI, BigTable, and Cloud Run, as well as over 50 community API facilitators offering services in e-commerce, data, communications, and on-chain infrastructure.


What exactly is Pay.sh?


According to its official description, pay.sh is a proxy payment and invocation coordination layer designed for paid APIs. It wraps familiar command-line tools and proxy workflows, automatically detecting payment protocols when a target API presents a "pay first, then receive data" challenge. pay prepares payment credentials, prompts local wallet authorization, and retries the request upon successful payment. For developers, the only change to their previously failing curl command is adding "pay" at the beginning; for proxies, it provides a direct tool path capable of consuming paid services.


Here are several points that are particularly important.


  • What payment protocols are used? Technically, pay.sh is built on open machine payment standards. The official documentation explicitly states that pay.sh is based on the x402 and MPP payment protocols.
  • Payment Method: Pay.sh's underlying payment settlement relies on stablecoins on Solana. The Solana Foundation notes that users can complete deposits via credit card or stablecoin in approximately 60 seconds.
  • Signature: pay.sh does not require the agent to directly access the private key in plain text. According to the official website and GitHub README, its local authorization process leverages system-level security features such as macOS Keychain and Touch ID, Windows Hello, GNOME Keyring, or 1Password. This means that while agent-initiated requests can be automated, the underlying signing process still retains a controlled authorization step. This design is akin to giving an AI agent a payment card with limited spending authority and visible transaction activity—rather than handing over the keys to the company safe.


Who else is launching as a partner?


When any infrastructure project is first launched, the page most often overlooked is the list of partners.


Launch partners for the pay.sh community source endpoint include: PayAI, Crossmint, Merit Systems, Corbits, MoonPay, Sponge Wallet, ATXP, and Tektonic Company.


MoonPay and Crossmint fill the gap in payment entry points and wallet infrastructure. MoonPay enables conversion between fiat currency and stablecoins, while Crossmint provides enterprise-grade wallet, stablecoin, and payment integrations. Without this layer, agent-based payments would remain confined to the narrow circle of on-chain native users.


Sponge Wallet is closer to the role of an agent wallet and payment gateway, wrapping third-party APIs into directly callable, pay-per-use interfaces; ATXP emphasizes the layer of代理交易协议, involving agent identity, task collaboration, and payment flow.


Regarding Merit Systems, Corbits, PayAI, and Tektonic Company, they are not merely payment plugins but rather service providers and aggregation layers within the agent economy, helping service providers integrate their APIs, data, and payment capabilities into this ecosystem. Merit Systems already offers a variety of APIs for data, media, communication, and uploads, all priced in stablecoins, within the pay.sh directory.


In other words, pay.sh isn’t just about solving “how to pay”—it aims to connect the entire workflow: how agents discover services, obtain quotes, complete authorization, and settle payments in real time. It acts more like a coordination layer, consolidating capabilities that already exist but are scattered across different facilitators and service providers into a single unified directory, offering agents and developers a unified entry point.


If Google Cloud provides top-tier enterprise API access and infrastructure backing, then community partners offer breadth and long-tail supply.


In the future, consumers may consist of layers of agents acting on behalf of humans. If this shift truly occurs, the billing models and distribution logic of the API market must adapt accordingly.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.