# Hermoso: create_stripe_coupon · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/create_stripe_coupon/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / create_stripe_coupon

# `create_stripe_coupon`

create stripe coupon

Area: Stripe, the full surface · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Create a Stripe coupon: exactly one of percentOff (1–100) or amountOff (major units) + currency; duration once (default), repeating (with durationInMonths) or forever; optional name, id and maxRedemptions. A coupon alone has NO code a customer can type: pass `code` (letters, digits, dashes) to also mint the customer-typable promotion code in the same call, with optional codeMaxRedemptions, expiresAt, firstTimeOnly and minimumAmount. Read back. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).

## Parameters

Parameter Type Description

`name` `string` display name for the coupon, for your records

`id` `string` custom coupon id; Stripe generates one if omitted

`percentOff` `number` percent discount, 1 to 100; use this or amountOff

`amountOff` `number` fixed discount in major units, e.g. 5 = 5.00; needs currency

`currency` `string` 3-letter currency code; required with amountOff

`duration` `string` once (default), repeating or forever

`durationInMonths` `number` months the discount applies, with duration repeating

`maxRedemptions` `number` uses of the COUPON across every code

`code` `string` the customer-typable promotion code, e.g. SUMMER20 — letters, digits and dashes only; refused (never altered) otherwise

`codeMaxRedemptions` `number` uses of this CODE

`expiresAt` `string` YYYY-MM-DD the code stops working

`firstTimeOnly` `boolean` the code works only on a customer's first purchase

`minimumAmount` `number` minimum order in MAJOR units for the code

`minimumAmountCurrency` `string` currency for the code's minimumAmount, e.g. usd

`confirm` `boolean` true on a live key, after the user approves the preview

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/create_stripe_coupon`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_stripe_coupon","arguments":{}}}`
**CLI**

`hermoso call create_stripe_coupon --json '{}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [connect_connector](https://hermoso.ai/docs/reference/workspace/connect_connector/) Connect a paste-a-key account
- [create_stripe_payment_link](https://hermoso.ai/docs/reference/workspace/create_stripe_payment_link/) create stripe payment link
- [create_stripe_customer](https://hermoso.ai/docs/reference/workspace/create_stripe_customer/) create stripe customer
- [create_stripe_price](https://hermoso.ai/docs/reference/workspace/create_stripe_price/) create stripe price
- [create_stripe_subscription](https://hermoso.ai/docs/reference/workspace/create_stripe_subscription/) create stripe subscription
- [create_stripe_product](https://hermoso.ai/docs/reference/workspace/create_stripe_product/) create stripe product
- [cancel_stripe_subscription](https://hermoso.ai/docs/reference/workspace/cancel_stripe_subscription/) cancel stripe subscription
- [list_stripe_coupons](https://hermoso.ai/docs/reference/workspace/list_stripe_coupons/) list stripe coupons
- [refund_stripe_charge](https://hermoso.ai/docs/reference/workspace/refund_stripe_charge/) refund stripe charge
- [list_stripe_refunds](https://hermoso.ai/docs/reference/workspace/list_stripe_refunds/) list stripe refunds

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
