create-payment-credential

Fetch one-time-use payment credentials from a Link wallet for purchases.

Updated May 1, 2026
One-click install
npx skills add https://github.com/wmb81321/p2pai --skill create-payment-credential
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-payment-credential
Source: https://github.com/wmb81321/p2pai/tree/main/.agents/skills/create-payment-credential
Command: npx skills add https://github.com/wmb81321/p2pai --skill create-payment-credential

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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.

Core Features & Use Cases

  • Retrieve and provision one-time payment credentials via Link for agent-driven purchases
  • Operate via MCP server or standalone Link CLI, with appropriate authentication and spend-request flows
  • Safely manage and rotate credentials, ensuring secure handling and minimal exposure

Quick Start

Use the Link CLI or MCP to obtain a one-time payment credential for a user's wallet to complete a purchase.

Frequently Asked Questions about create-payment-credential

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get one-time payment credentials for an automated agent purchase?

You can fetch one-time payment credentials by using the Link wallet to provision secure tokens or cards for automated agent purchases. This allows agents to complete checkouts on behalf of users without exposing permanent payment details.

Can I use an MCP server to retrieve secure payment tokens for fintech integration?

Yes, you can retrieve secure payment tokens via the MCP server. The integration supports Link tools like auth_login and spend-request_create to safely manage credentials for fintech applications.

What's the best way to manage payment credentials for agent-driven checkout?

Managing payment credentials for agent-driven checkout is best handled by retrieving one-time-use tokens from a Link wallet. This ensures minimal exposure and safe rotation of credentials during automated purchasing transactions.

Do I need a Link account to generate one-time-use cards for automated purchasing?

Yes, a Link account is required. You must connect or log in to your Link wallet using auth_login before you can create spend requests and generate one-time-use cards for automated purchasing.

How does the Link CLI handle payment credentials for automated checkout flows?

The Link CLI handles payment credentials by executing standalone commands to fetch and decode one-time-use payment tokens. It utilizes tools like mpp_pay and mpp_decode to complete purchases securely.

When should I not use one-time payment credentials for automated purchasing?

You should avoid using one-time payment credentials for automated purchasing when a transaction requires recurring billing or stored payment methods, as these tokens are designed for single-use, secure checkout completion only.