donut
donut.getSubscription
The translation was generated automatically and may contain mistakes
Returns information about the subscription VK Donut.
To call this method, you can use:
• user access token (access right required: groups — this is issued in exceptional cases by a request to support at devsupport@corp.vk.com)
Parameters
owner_id
integer
Community ID.
Note the community ID in the parameter
owner_idIt is necessary to indicate a sign«-»— например,owner_id=-1corresponds to the community identifier VKontakte API (club1).
Required parameter
Result
After successful execution, it returns an object containing the following fields:
- •
owner_id(integer) — the identifier of the community, the don of which is the user; - •
next_payment_date(integerdate of the next payment in the formatunixtime; - •
amount(integer— subscription cost (in rubles); - •
status(string) — статус подписки.
Error codes
104
Not found
Common errors may occur during execution
Linked versions
Go to API versions pageПоявились методы для работы с VK Donut: donut.isDon donut.getFriends donut.getSubscription donut.getSubscriptions
В объекте записи появиась информация о VK Donut. В объект комментария появилась информация о VK Donut.