#narnau
1 messages · Page 1 of 1 (latest)
Yes, you must have a product id you can provide there, but you can re-use a product with a name like "custom fees/pricing" if you don't want to create a new one each time -- depends on your use case/business needs here
But can I charge different amounts for the same product id each time? @peak wind
Yes, using price_data you can set unique unit_amount values using the same product: https://stripe.com/docs/api/subscriptions/create#create_subscription-add_invoice_items-price_data-unit_amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
okey, thank you!