/admin/billing/subscription/{tenant_id}/change-plan
Switch the current subscription of a specified tenant to another plan (upgrade or downgrade), automatically calculating prorated charges. If the difference is positive, an invoice is generated; if negative, it is credited to the balance.
tenant_id
path
string
Schema: dto.PlanChangeRequest
dto.PlanChangeRequest
new_plan
enterprise
billing_cycle
monthly
object