Trying to change a plan for a user with proration immediately
curl -X POST "https://live.dodopayments.com/subscriptions/$SUBSCRIPTION_ID/change-plan"
-H "Authorization: Bearer $DODO_PAYMENTS_API_KEY"
-H "Content-Type: application/json"
-d '{
"product_id": "PROD_ID_OF_NEW_45_PLAN",
"quantity": 1,
"proration_billing_mode": "prorated_immediately"
}'
via API call and Dodo dashboard but both fails. User has active subscription of 40$
i have created a new product 45$ which i want to upgrade to Please help. @shadow laurel