
Create Payment Credential
stripe/link-cliOfficial
Securely retrieve approved payment credentials for one-time and recurring purchases through Link.
- CCM score
- 63 of 100
- skills.sh installs
- 29.6K
- GitHub stars
- 919
- last updated
- Nov 24, 2026
Own this skill? Claim it
What it does
- Covers the spend-request flow: confirm wallet, create and approve a spend request, then retrieve the credential
- Supports card credentials, Shared Payment Tokens (SPTs), and merchant-bound Link Pay Tokens (LPTs)
- Enforces a 100-character minimum
context, cent-based amounts, and no inventednetwork_idormerchant_account_id - Designed for agents that complete checkouts or set up recurring subscriptions for a user with explicit approval
Install
$ npx -y skills add stripe/link-cli --skill create-payment-credential -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Create Payment Credential
Use Link to get secure payment credentials from a Link wallet for one-time purchases and recurring payments.
The CLI can produce three credential types:
- A card (PAN) for use with a standard web checkout form. The card returned will be use either an agentic token (Visa Intelligent Commerce, Mastercard AgentPay, or American Express ACE) or a single-use virtual card issued by Stripe.
- A Shared Payment Token (SPT) when the seller is in the Stripe Network and accepts payments programmatically (for example with Machine Payment Protocols).
- A Link Pay Token (LPT) for a supported Stripe payment surface.
Installing
Install with npm install -g @stripe/link-cli. Always run the installed link-cli binary; never substitute a package runner such as npx, pnpx, or bunx.
Running commands
Link CLI can run as an MCP server or as a standalone CLI.
MCP: Add the following to your MCP client config (.mcp.json, etc.)
{
"mcpServers": {
"link": {
"command": "link-cli",
"args": ["--mcp"]
}
}
}
Run the MCP server directly with link-cli --mcp.
Details
- Repository
- github.com/stripe/link-cli
- Categories
- Finance & Trading, AI Agents & LLM Apps
- First seen
- Nov 24, 2026
More from stripe/link-cli
All 2Similar to Create Payment Credential
More Finance & Trading
financial-insightsstripe/link-cli28.6K installsfinancial insights
backtesting-frameworkswshobson/agents18.2K installsBuild robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing t
okx-agent-payments-protocolokx/onchainos-skills16.5K installsUse when an agent hits HTTP 402 / payment-required, or the user mentions x402, x402Version, X-PAYMENT, PAYMENT-REQUIRED, PAYMENT-SIGNATURE, WWW-Authenticate: Pa
stripe-integrationwshobson/agents14.1K installsImplement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payment
startup-financial-modelingwshobson/agents13.6K installsBuild comprehensive 3-5 year financial models with revenue projections, cost structures, cash flow analysis, and scenario planning for early-stage startups. Use
korean-stock-searchnomadamas/k-skill13.1K installsUse k-skill-proxy to search Korean listed stocks, inspect KRX base information, and fetch daily trade snapshots without asking the user to issue a KRX API key.