#jovana_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1366357427452383374
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
The right flag should be --percent-off
Ah sorry, that's for the previous cli version
Here are the available options
You can view this via stripe coupons create --help
Is there no option to create a coupon with a percentage discount?
Using the latest cli version no
Is the missing percent_off flag just a limitation of CLI v1.26.1, or has Stripe removed support for creating percentage‐based coupons via the API entirely?
It's still supported using the API:
https://docs.stripe.com/api/coupons/create#create_coupon-percent_off
It was just removed from the CLI
For unsupported options in the CLI, try using the -d option and send additional data
ok, thanks