Create a USDC payment link in under a minute. Powered by OpenPayment and x402.
openpayment is an early-stage JavaScript project in the AI payments / x402 ecosystem, focused on base, stablecoin, usdc, x402. It currently has 0 GitHub stars and 0 forks, and sits alongside related tools like dna-x402, pincerpay, mcp-client, x402-discovery-index, tdm-sdk, x402-facilitator-sperax.

SDK and CLI for creating x402 stablecoin payment links that settle in USDC on Base.
Powered by OpenPayment and x402.
OpenPayment lets merchants, creators, developers, and AI agents accept USDC payments with shareable payment links and APIs. 0% platform fees, instant settlement to recipient wallet, and no sign-up required. Powered by x402.
Discover more about OpenPayment.
create(...)openpayment create ...npm i openpayment
Global CLI:
npm i -g openpayment
Install SKILL:
# OpenCode, Claude Code, Codex, Cursor...
npx skills add https://github.com/noncept/openpayment
# OpenClaw
openclaw skills install openpayment
If you are an AI Agent, check AGENTS.md.
import { create } from "openpayment";
const result = await create({
type: "SINGLE_USE",
price: "10",
payTo: "0xYourWalletAddress",
network: "eip155:8453",
description: "Example payment",
});
console.log(result.paymentId); // "ed5b8e83-607b-4853-90c6-f4f3ba821424"
console.log(result.url); // "https://openpayment.link/pay/?paymentId=ed5b8e83-607b-4853-90c6-f4f3ba821424"
create(input) returns:
{
paymentId: string;
url: string;
}
openpayment create \
--type "SINGLE_USE" \
--price "10" \
--payTo "0xYourWalletAddress" \
--network "eip155:8453" \
--description "Example payment"
Output:
Payment created successfully
paymentId: <paymentId>
url: <paymentUrl>
Example:
Payment created successfully
paymentId: ed5b8e83-607b-4853-90c6-f4f3ba821424
url: https://openpayment.link/pay/?paymentId=ed5b8e83-607b-4853-90c6-f4f3ba821424
openpayment create \
--type "SINGLE_USE" \
--price "10" \
--payTo "0xYourWalletAddress" \
--network "eip155:8453" \
--description "Example payment" \
--json
Output:
{
"paymentId": "<paymentId>",
"url": "<paymentUrl>"
}
Example:
{
"paymentId": "ed5b8e83-607b-4853-90c6-f4f3ba821424",
"url": "https://openpayment.link/pay/?paymentId=ed5b8e83-607b-4853-90c6-f4f3ba821424"
}
type:SINGLE_USE (one-time)MULTI_USE (reusable fixed amount)VARIABLE (reusable custom amount)PROXY (reusable fixed amount + upstream API proxy call after settlement)price: positive decimal string/number (example: 10, 0.01)payTo: EVM address (0x + 40 hex chars)network: eip155:8453 or eip155:84532description: optional string, max 500 charsresourceUrl: required only for PROXY (https://...)OpenPayment is released under the MIT License.
DNA — Payment rails for AI agents. x402 micropayment protocol on Solana. Netting, transfer, stream settlement. Receipt anchoring on-chain.
On-chain USDC payment gateway for AI agents. x402 protocol.
Discover and pay AI agents on nullpath's marketplace via MCP. x402 micropayments with USDC.
A searchable index of x402-enabled APIs for autonomous agents
Open contract-facing SDK for payable routes and gateway-backed integrations. Thin public surface for authorize, checkout, and session flows.
x402 payment facilitator — verifies and settles EIP-3009 USDC micropayments on Base, Arbitrum, and Ethereum.
Client SDK, Claude plugin and skill framework for the Pinion protocol. x402 micropayments on Base.
Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.
Building blocks for Agentic payments (x402, MPP, AP2) for TypeScript, Rust, Go, Python, Ruby, PHP, Lua, Kotlin and Swift.
Turn any API or MCP server into a paid service with x402
Public adapters and discovery catalog for Triptych OS (Agent OS): agent frameworks, MCP/A2A/x402 protocols, workflows, wallets, SDKs, and examples for execute-first routing, governed handoffs, and receipt-aware agent commerce.
A wallet for agents. Make payments via x402, use stablecoins, swap assets, earn yield with defi and buy tokenized stocks across the most popular chains.