Stripe Link CLI - A CLI that lets AI agents make payments on behalf of users
·2026.05.17 09:31
Key point
Stripe has released a one-time-use payment CLI and MCP server for AI agents.
Details
Stripe Link CLI has been released as a payment tool that helps AI agents complete purchases with user approval.
- It issues one-time-use payment credentials from a Link wallet, so actual card information is never stored.
- Credentials support two types that can be used anywhere: a virtual card (PAN) and a Shared Payment Token (SPT).
- Every spending request is delivered to the user via push notification, and payment only proceeds after the user approves it directly.
- In agent environments, it outputs the LLM-friendly text format
toonby default, and also supportsjson,yaml,md, andjsonl. - It can be added to
.mcp.jsonfor local integration as an MCP server. - When
--output-fileis used, card information is written only to a local file with 0600 permissions, while only masked information appears on stdout. - The spend request flow is
create → request approval → approved;contextmust be at least 100 characters, andamountis capped at 50,000 cents ($500). - At merchants that support MPP, payment is made via
mpp pay, and since SPT is single-use, a new request must be created if it fails. - A test mode using the test card
4242424242424242is also provided via the--testflag. - Polling must terminate in the
approved,denied,expired, orcanceledstate, and a timeout will abort abnormally viaPOLLING_TIMEOUTto prevent mishandling of incomplete requests. - It is currently only available for US Link accounts, and is licensed under MIT.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.