I want to add a dynamic subscription amount for customers in Razorpay. How can I do that?
Razorpay Subscription Add-ons are charged for a single billing cycle only. They are not recurring in nature and will not be automatically added to any future invoices.please refer - https://razorpay.com/docs/subscriptions/dashboard/add-ons/
Dynamic subscriptions can be catered in 2 ways using Razorpay subscription.
for details refer - https://razorpay.com/subscriptions/
Using charge at will (E-mandate or Paper Nach)
Sample use case - As an online marketing agency, you would offer various plans to your clients to run their advertisement campaigns on different platforms. For example, a customer might want to run their advertisement campaign on various online platforms for the next three months and will pay you ₹1,000 per 5,000 clicks over the next three months. In this case, you would want to authorize the selected payment method so you can charge them for every 5,000 clicks. You can do this by using Emandate / paper Nach.
for details refer - https://razorpay.com/e-mandate/