openpayment

Create x402 stablecoin payment links using the OpenPayment CLI.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openpayment" with this command: npx skills add noncept/openpayment/noncept-openpayment-openpayment

OpenPayment Skill

Creates x402 stablecoin payment links via the openpayment CLI.

All links are hosted at OpenPayment and settle in USDC on Base.

Use this skill whenever a user wants to create a payment link, request a stablecoin payment, set up a crypto payment, generate a USDC payment URL, or mentions x402, OpenPayment, or wants to get paid in crypto/stablecoins on Base. Trigger even if the user says things like "create a payment link", "I want to accept USDC", "generate a crypto payment request", "send me money in stablecoins", or "set up a blockchain payment".

About OpenPayment

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.

Install

npm i -g openpayment

Core Command

openpayment create \
  --type "<PAYMENT_TYPE>" \
  --price "<AMOUNT>" \
  --payTo "<EVM_ADDRESS>" \
  --network "<NETWORK>" \
  [--resourceUrl "<HTTPS_URL_FOR_PROXY>"] \
  --description "<DESCRIPTION>"

Required Flags

FlagDescriptionExample
--typePayment type (see below)SINGLE_USE
--priceAmount in human-readable USDC10 or 0.001
--payToRecipient EVM wallet address0x1234...abcd
--networkCAIP-2 network identifiereip155:8453

Optional Flags

FlagDescription
--descriptionPayment description (max 500 chars)
--resourceUrlRequired when --type is PROXY; upstream API URL (https://...)
--jsonOutput as JSON instead of plain text

Payment Types

TypeWhen to use
SINGLE_USEOne-time payment with fixed price (e.g., a specific order, invoice)
MULTI_USEFixed price, can be paid multiple times (e.g., recurring product)
VARIABLEReusable link; payer chooses amount per payment (e.g., tips, donations)
PROXYFixed-price multi-use payment that calls a private upstream API after successful settlement

Default to SINGLE_USE unless the user specifies otherwise.

Networks

NetworkFlag valueDescription
Base Mainneteip155:8453Production, real USDC
Base Sepoliaeip155:84532Testnet, test USDC

Default to eip155:8453 (Base Mainnet) unless the user says "test", "testnet", or "sepolia".

Support for other networks will be added soon.

Currency

The default currency is USDC.

  • Base Mainnet USDC: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  • Base Sepolia USDC: 0x036CbD53842c5426634e7929541eC2318f3dCF7e

Support for other stablecoins and custom ERC-20 tokens will be added soon.

Example Commands

Basic single-use payment link (10 USDC on Base)

openpayment create \
  --type "SINGLE_USE" \
  --price "10" \
  --payTo "0xYourWalletAddress" \
  --network "eip155:8453" \
  --description "Payment for order #123"

Crowdfund / donation (multi-use, suggest 1 USDC, user can change)

openpayment create \
  --type "VARIABLE" \
  --price "1" \
  --payTo "0xYourWalletAddress" \
  --network "eip155:8453" \
  --description "Support my work"

Recurring subscription (multi-use, fixed price)

openpayment create \
  --type "MULTI_USE" \
  --price "9.99" \
  --payTo "0xYourWalletAddress" \
  --network "eip155:8453" \
  --description "Monthly subscription"

Proxy payment link

openpayment create \
  --type "PROXY" \
  --price "10" \
  --payTo "0xYourWalletAddress" \
  --network "eip155:8453" \
  --resourceUrl "https://private-api.example.com/endpoint" \
  --description "Proxy payment"

Testnet payment link

openpayment create \
  --type "SINGLE_USE" \
  --price "5" \
  --payTo "0xYourWalletAddress" \
  --network "eip155:84532" \
  --description "Test payment"

JSON output (for scripting)

openpayment create \
  --type "SINGLE_USE" \
  --price "25" \
  --payTo "0xYourWalletAddress" \
  --network "eip155:8453" \
  --json

Output

Plain text:

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

JSON (--json):

{
  "paymentId": "<paymentId>",
  "url": "<paymentUrl>"
}

Example:

{
  "paymentId": "ed5b8e83-607b-4853-90c6-f4f3ba821424",
  "url": "https://openpayment.link/pay/?paymentId=ed5b8e83-607b-4853-90c6-f4f3ba821424"
}

Workflow for Handling User Requests

The first time the skill runs, explain to the user what payment types and networks are allowed.

  1. Identify missing info you need: amount (--price), receiver wallet address (--payTo). If --type=PROXY, also require --resourceUrl.
  2. Infer defaults: type defaults to SINGLE_USE, network defaults to eip155:8453 (Base Mainnet).
  3. Confirm info with the user before creating.
  4. Run the command using the bash tool.
  5. Present the payment URL clearly to the user so they can share it.

What to ask if info is missing

  • No wallet address: "What's the recipient EVM wallet address (starting with 0x)?"
  • No amount: "How much USDC should the payment be for?"
  • No type specified but context suggests multi-use: "Should this link be single-use (one payment only) or reusable?", "Should the amount be fixed or editable?"
  • No network specified: assume Base Mainnet; mention it in your response.
  • PROXY without upstream URL: "Please provide the private upstream API URL for this proxy payment (--resourceUrl)."

Validation Rules (enforced by CLI before any API call)

  • --type: must be SINGLE_USE, MULTI_USE, VARIABLE, or PROXY
  • --price: positive decimal number (e.g. 0.001, 10, 99.99)
  • --payTo: valid EVM address — 0x followed by 40 hex characters
  • --network: must be eip155:8453 or eip155:84532
  • --description: optional string, max 500 characters
  • --resourceUrl: required only for PROXY; must be a valid https:// URL

Security Notes

Never ask for or share user private keys and secrets.

Learn More

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Seerr server manager

CLI for the Seerr media request management API. Search movies and TV shows, create and manage media requests, manage users, track issues, and administer a se...

Registry SourceRecently Updated
Coding

Skills

Autonomous novel writing CLI agent - use for creative fiction writing, novel generation, style imitation, chapter continuation/import, EPUB export, and AIGC...

Registry SourceRecently Updated
Coding

Cli Tool Generator

Generate production-ready CLI tool skeletons in Bash or Python with argument parsing, help docs, error handling, and shell completions in seconds.

Registry SourceRecently Updated
Coding

Clip History

Clipboard history manager with pinning and search. Use when you need to save clipboard entries, search clipboard history, pin important items, or retrieve pr...

Registry SourceRecently Updated