payment.getVipStatus ✎ Edit on GitHub

Receives information about user VIP subscription status

Authorization

Session is required

Required permissions:

  • VALUABLE_ACCESS

In a response method provides two parameters:

  • vip - shows if a user has an active VIP subscription;
  • trial - shows a type of subscription: trial subscription (true) or real subscription (false).

Response

{ "trial": "boolean", "vip": "boolean" }

Application paramters

User session data

Method

List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig