#nacho_446
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Do you mean you want to set the amount dynamically, instead of providing a pre-created Price, when creating a Subscription?
If so, you can use the price_data.amount instead of price: https://stripe.com/docs/api/subscriptions/update#update_subscription-items-price_data-unit_amount
I have to pass the product Id that returns to the webhook right?
Yes, the Product has to be pre-created.
Ok let me try this out