#Shaun

1 messages · Page 1 of 1 (latest)

minor chasmBOT
crisp kite
#

So you would need a pre-defined product but could specify a custom one-off price for the invoice item on the fly

vernal sentinel
#

Thank you for your reply, I'm confused as the documentation says that the price field is required

crisp kite
#

Would you mind linking to that doc?

vernal sentinel
crisp kite
#

That doc shows price as optional but price_data.product as being required if you are using the price_data hash

#

Actually it looks like both are optional. I think you can just set an amount, currency, and description on the invoice items themselves

vernal sentinel
#

Ok so just to clarify the price does need to be created in stripe and the price sent in the api call?

crisp kite
#

No, I think you can create an item without a price

#

We list both ways to pass one in as being optional