miniapp

Get Subscription Details

Changed on

Получение информации о подписке пользователя в мини-приложении.

post/miniapp/subscription

Request

Request body

initDatastring required

Response

Successful Response

successboolean
subscription_idinteger nullable
remnawave_short_uuidstring nullable
subscription_urlstring nullable
hide_subscription_linkboolean
subscription_crypto_linkstring nullable
subscription_purchase_urlstring nullable
linksstring[]
ss_conf_linksobject
connected_squadsstring[]
connected_devices_countinteger
happobject nullable
happ_linkstring nullable
happ_crypto_linkstring nullable
happ_cryptolink_redirect_linkstring nullable
happ_cryptolink_redirect_templatestring nullable
balance_kopeksinteger
balance_rublesnumber
balance_currencystring nullable
total_spent_kopeksinteger
total_spent_rublesnumber
total_spent_labelstring nullable
subscription_typestring required
autopay_enabledboolean
autopay_days_beforeinteger nullable
autopay_days_optionsinteger[]
subscription_missingboolean
subscription_missing_reasonstring nullable
trial_availableboolean
trial_duration_daysinteger nullable
trial_statusstring nullable
trialPaymentRequiredboolean
trialPriceKopeksinteger nullable
trialPriceLabelstring nullable
salesModestring

Changes