其他

create-payment-credential

stripe/link-cli

Gets secure payment credentials (cards, tokens) from a Link wallet for one-time purchases and recurring payments. Use when the user says "get me a card", "buy something", "pay for X", "make a purchase", "I need to pay", "complete checkout", or asks to set up a subscription or transact on a merchant site. Use when the user asks to connect or log in to or sign up for their Link account.

  • 2.2万 次安装
  • 882 星标
  • 收录于

安装命令

npx skills add https://github.com/stripe/link-cli --skill create-payment-credential

SKILL.md

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 virtual card (PAN) for use with a standard web checkout form. The issued card works anywhere.
  • 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.)

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 virtual card (PAN) for use with a standard web checkout form. The issued card works anywhere.
  • 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.)