#sagar051192
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
It's a pretty broad question. You will probably need to use the Subscription API: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
I would recommend you to read through our documentation first, and reach out if there's anything that's unclear or not working as expected.
Subscriptions normally use pre-created Prices and Products, but if you want your customers to choose the amount, you can use the price_data.amount to set the amount dynamically for each Customer: https://stripe.com/docs/api/subscriptions/create#create_subscription-items-price_data-unit_amount