#devparry-price-plans
1 messages · Page 1 of 1 (latest)
https://stripe.com/docs/api/prices/create
I follow this and recurring parameter work for the monthly price but i don't know how I can set one_time
Backing up for a second - are you trying to create a Plan or a Price?
Price
Gotcha - so when you create a one-time Price you just need to set product, unit_amount, and currency - this will create a one-time price by default since you're not setting any recurring -specific params
unit_amount what will be the value ?
The amount you want to charge for the price
like this ? please check the syntax
That looks correct to me, but the best thing is to just try it out since it's hard to catch syntax errors just by looking