# create-payment-credential

> Claude/Codex skill by [@stripe](https://omgskills.com/library/stripe/index.md) · 746 stars · Updated 2026-08-28

Gets secure, one-time-use payment credentials (cards, tokens) from a Link wallet so agents can complete purchases on behalf of users. 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 transact on any merchant site. Use when the user asks to connect or log in to or sign up for their Link account.

## Install

```sh
git clone https://github.com/stripe/link-cli /tmp/link-cli && ln -s /tmp/link-cli/skills/create-payment-credential ~/.claude/skills/create-payment-credential
```

## From README

Create Payment Credential Use Link to get secure, one-time-use payment credentials from a Link wallet to complete purchases. The CLI can produce one of two 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). It can also create a Link Pay Token (LPT)-bound SpendRequest for a supported Stripe checkout surface. LPT is an execution mode for the card flow, not a third credential type. Installing with npm -g @stripe/link-cli. Or run directly with npx @stripe/link-cli. 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.) Run the MCP server directly with npx @stripe/link-cli@latest --mcp. Call tools/list to see all available MCP tools.

## Links

- HTML page: https://omgskills.com/skills/stripe/link-cli/create-payment-credential/
- GitHub: https://github.com/stripe/link-cli
- Author: [@stripe](https://omgskills.com/library/stripe/index.md)

## More skills by this author

- [connect-recommend](https://omgskills.com/skills/stripe/ai/connect-recommend/index.md) — Used when the user asks about Stripe Connect configuration, charge patterns, Dashboard access, or how to get started...
   - [@stripe](https://omgskills.com/library/stripe/index.md) · 1.8k stars
- [stripe-best-practices](https://omgskills.com/skills/stripe/ai/stripe-best-practices/index.md) — Guides Stripe integration decisions across API selection (Checkout Sessions vs PaymentIntents), Connect platform setup...
   - [@stripe](https://omgskills.com/library/stripe/index.md) · 1.8k stars
- [stripe-directory](https://omgskills.com/skills/stripe/ai/stripe-directory/index.md) — Identifies external providers, merchants, nonprofits, platforms, APIs, and software services, and resolves the...
   - [@stripe](https://omgskills.com/library/stripe/index.md) · 1.8k stars
