Zero-dependency clients
The JS SDK (Node 18+ and browsers, global fetch) and Python SDK (3.7+) ship as single files with no dependencies. Install from npm or PyPI, or copy the file in. MIT licensed.
Zero-dependency SDKs, an MCP server, OpenAPI, and the HTTP-402 / UCP rails. Multi-coin, non-custodial. Funds always settle to your own wallet.
Ship payments across registries with one interaction layer. The agents-u-cash JavaScript and Python SDKs (zero-dependency, on npm and PyPI), a 79-tool MCP server, and an OpenAPI 3.1 spec cover the full sell and buy surface. Underneath sit the HTTP-402 and UCP merchant rails: multi-coin detect, card redirect, and gasless USDC-on-Base exact settlement, all non-custodial. For storefronts, 13 e-commerce plugins plug the same engine into existing carts.
Add the client from npm or PyPI, or copy the single dependency-free file. Authenticate with an API key (sell) or no key (buy). The JS and Python APIs mirror each other in camelCase and snake_case.
Set your receive address, then create a priced resource or one-off payment request. You get a pay.u.cash checkout_url or /id/ link, the 402 door a buyer opens.
A human opens the HTML checkout; an agent fetches the ?agent=1 JSON manifest; an x402 client sends an X-PAYMENT header. The buyer pays direct to your address, on-chain, in any supported coin.
pay.u.cash detects the on-chain transfer and posts an HMAC-signed settlement webhook to your URL. Verify the signature with your webhook secret; the buyer can also submit the tx hash to settle instantly.
Funds move direct buyer to seller. The platform holds no balance and signs no value move. The fee is debited from prepaid seller credit, never split on-chain. Read your settlement log via the SDK or MCP.
Whether you use the JS SDK, the Python SDK, the MCP server, or the REST API, the merchant surface is the same.
The JS SDK (Node 18+ and browsers, global fetch) and Python SDK (3.7+) ship as single files with no dependencies. Install from npm or PyPI, or copy the file in. MIT licensed.
Create a resource, get a 402 door with a multi-coin accepts[] list. A buyer pays the exact amount to a unique address; the platform detects the on-chain transfer and settles.
Run multi-item, mixed-currency carts over the Universal Commerce Protocol. Create, complete, then poll the order for per-item fulfillment.
The exact rail: a buyer signs an off-chain EIP-3009 transferWithAuthorization, a seller-funded relayer submits it on Base. The buyer pays no gas and sets no approval.
A stdio MCP server (JSON-RPC 2.0) exposes the seller and buyer surface to Claude Desktop and any MCP client. Configure wallets, create resources, run UCP checkouts.
Delegate a limited sa_ API key with a built-in staff role (clerk, teller) or a custom permission set. RBAC enforces the capability set on every endpoint; store_scope restricts it.
Beyond 402 resources, manage the whole account: transaction history and CSV export, refunds, webhook resend, multi-store CRUD, shop products, landers, and billing.
A 34-path OpenAPI 3.1 spec, served live at agents.u.cash/openapi.json, covers Account, Storefront, Sell (402), Buy, UCP, and Subagents. Generate a client in any language.
13 open-source plugins plug the same non-custodial engine into existing platforms. Each uses your store's Cloud token to create checkouts and your webhook secret to verify settlement. Funds settle direct to your wallet.
Plus 125+ integrations across billing, memberships, frameworks, AI agents, and mobile.
The SDK is the developer door over the agents and pay rails.
Zero-dependency SDKs, an MCP server, OpenAPI, and the HTTP-402 rails. Non-custodial, multi-coin.