---
ref: tool:stripe/create-coupon
name: Create a coupon
company: company:stripe
workflows: []
access: [mcp, cli, api]
tags: [capability:collect-payments, category:payments, has:api, has:cli, has:mcp]
docs: https://docs.stripe.com/api/coupons/create
updated: 2026-09-27
---

# Create a coupon

Creates a percent-off or amount-off discount and returns the coupon to apply to invoices and subscriptions.

## 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.

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

Call the MCP tool `stripe_api_write` with `POST /v1/coupons`.

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

### CLI (official)

Install the command and sign in with it, then confirm it runs.

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

Run `stripe coupons create`.

### API (official)

- Base URL: https://api.stripe.com
- Endpoint: `POST /v1/coupons`
- Auth: send the header `Authorization: Bearer $STRIPE_API_KEY`
- Get a key: https://dashboard.stripe.com/apikeys
- Docs: https://docs.stripe.com/api

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
