CreateSubscriptionDto
planCodestringrequired
Код тарифного плану
Possible values: [free, basic, pro, enterprise]
Example:
basicindustrystring
Індустрія для якої обирається план. Без вказівки → BEAUTY (зворотна сумісність).
Possible values: [beauty, auto_service, fitness, equestrian, legal, medical, education, other]
Example:
beautytrialboolean
true — активувати 14-денний trial (якщо доступний), false — одразу виставити рахунок на оплату
Example:
truebillingIntervalstring
Період оплати — month або year
Possible values: [month, year]
Example:
monthCreateSubscriptionDto
{
"planCode": "basic",
"industry": "beauty",
"trial": true,
"billingInterval": "month"
}