hermosodocs

list_stripe_promotion_codes

list stripe promotion codes read-only

Area: Stripe promotion codes, payment-link edits and revenue per l… · Workspace & account. Generated from the running MCP server, like the rest of the tool reference.

Description

Promotion codes on the brand's Stripe account — the codes customers TYPE at checkout — with the coupon each applies, active or not, times redeemed / max, expiry, first-purchase-only and minimum-order rules. Filter by active, code or couponId. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).

Parameters

ParameterTypeDescription
activebooleantrue = active codes only; false = inactive codes only
codestringcustomer-typable promotion code text to find
couponIdstringonly codes that apply this coupon, from list_stripe_coupons
limitnumberrows to return, 1 to 100; default 25
afterstringpagination cursor: the last promotion code id from the previous page

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/list_stripe_promotion_codes.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_stripe_promotion_codes","arguments":{}}}

CLI

hermoso call list_stripe_promotion_codes --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.

All 143 Workspace & account tools · tools.json