stripe

stripe / link-cli

Public

Let your agents pay online using one-time-use cards or with machine payment protocols.

36
5
100% credibility
Found Apr 29, 2026 at 36 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Link CLI enables users to securely generate one-time payment credentials from their Link wallet for AI agents to complete purchases without exposing real card details.

How It Works

1
🔍 Discover Link CLI

You hear about a handy tool that lets smart assistants safely buy things for you using your saved payment info without sharing your real cards.

2
📥 Get the tool

You easily add the tool to your computer so it's ready to use anytime.

3
🔐 Connect your wallet

You link it to your payment wallet by visiting a web page and approving with a short phrase.

4
💳 Pick a card

You see a list of your saved cards or bank accounts and choose one to use.

5
🛒 Request a purchase

The tool creates a secure request for a one-time shopping credential with details like what you're buying and why.

6
📱 Approve on your phone

You get a notification, review the details, and tap approve to give permission.

Shop securely

You receive temporary payment details to finish the purchase safely, keeping your real info protected.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 36 to 36 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is link-cli?

link-cli is a TypeScript CLI from Stripe that lets agents pay online using one-time-use virtual cards or Machine Payments Protocol (MPP) tokens from a Link wallet, keeping real card details secure. Developers run commands like `link-cli spend-request create` to request credentials with merchant details and amounts, then approve via push notification or app. It handles auth, lists payment methods, and demos full flows in test mode—no real charges needed to try.

Why is it gaining traction?

Unlike basic payment SDKs, it bridges agentic tools like GitHub Copilot's agent mode with secure, scoped payments, letting agents handle heavy lifting in Visual Studio or automation scripts without card exposure. MPP support shines for API-only flows (HTTP 402 challenges), decoding challenges to extract network IDs on the fly. Tight integration with Link app for approvals makes it dead simple for "let's do automation" workflows.

Who should use this?

AI agent builders scripting purchases, like shopping assistants or holiday let agents automating bookings. Devs integrating payments in Claude or Cursor agents, or backend teams handling MPP for Stripe Climate-style donations. Ideal for let agents move emails Salesforce flows or let agents transform data quality by deduplicating records with paid API calls.

Verdict

Grab it if you're prototyping agent payments—solid docs, onboard demo, and TypeScript SDK make setup fast. At 36 stars and 1.0% credibility, it's early from Stripe; test thoroughly before prod.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.