Перейти до основного вмісту

UpdateSubscriptionDto

planCodestring

New plan code to switch to

Possible values: [free, basic, pro, enterprise]

Example: pro
billingIntervalstring

Період оплати — month або year

Possible values: [month, year]

Example: month
cancelAtPeriodEndboolean

Cancel subscription at period end

Example: false
UpdateSubscriptionDto
{
"planCode": "pro",
"billingInterval": "month",
"cancelAtPeriodEnd": false
}