Create Coupon
create_couponCreate a discount coupon for Stripe subscriptions or invoices. Set percentage or fixed amount off, duration, and redemption limits.
Instructions
Create a Stripe coupon for discounts on subscriptions or invoices.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"duration": "<duration>"
},
"name": "create_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| percent_off | No | Percentage discount (use this OR amount_off) | |
| amount_off | No | Fixed amount discount in smallest currency unit | |
| currency | No | Currency for amount_off (required if using amount_off) | |
| duration | Yes | How long the coupon applies | |
| duration_in_months | No | Number of months (required when duration is "repeating") | |
| name | No | Coupon display name | |
| max_redemptions | No | Max times this coupon can be redeemed | |
| redeem_by | No | Unix timestamp after which coupon can no longer be redeemed | |
| metadata | No | Metadata | |
| idempotency_key | No | Optional idempotency key for safe retries |