All tools
StripeS

by Stripe

Create a payment link

Creates a Stripe-hosted checkout link for the prices you pass and returns it with its shareable URL.

View on GitHub
Updated Sep 27, 2026Available asMCPCLIAPI

Description

Each entry in `line_items` takes a price ID and a quantity, up to 20 per link; the link to send is the `url` in the response. On the MCP server this method runs through the generic `stripe_api_write` tool.

create-payment-link.md

Create a payment link

Creates a Stripe-hosted checkout link for the prices you pass and returns it with its shareable URL.

Each entry in line_items takes a price ID and a quantity, up to 20 per link; the link to send is the url in the response. On the MCP server this method runs through the generic stripe_api_write tool.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "stripe": { "url": "https://mcp.stripe.com" } } }

Call the MCP tool stripe_api_write.

Server URL: https://mcp.stripe.com

CLI (official)

Install the command, then confirm it runs.

npm install -g @stripe/cli
stripe --version

Run stripe payment_links create.

API (official)

Before doing anything else, make one read-only call to confirm access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data.
  • Never print API keys.

Built from these files in the repository

The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remotestripe_api_writeOAuthDocs
CLIOfficialstripe payment_links createOAuthDocs
APIOfficialPOST /v1/payment_linksAPI key in $STRIPE_API_KEYDocs

Workflows using Create a payment link

No workflows yet
No published workflow uses Create a payment link yet.