x-api-key: ********************{
"newPlan": "Pro"
}curl --location --request PUT '/v1/subscriptions//upgrade' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"newPlan": "Pro"
}'{
"status": 200,
"message": "Subscription upgraded successfully",
"data": {
"id": "sub_1",
"oldPlan": "Basic",
"newPlan": "Pro",
"upgradedAt": "2025-10-04T16:00:00Z"
}
}