{"openapi":"3.1.0","info":{"title":"Meowx API","version":"1.1.0","description":"Личный API: каталог, профили, баланс, покупки и оплаченные файлы. Лимиты и полный сценарий: https://meowx.market/api-docs"},"servers":[{"url":"https://meowx.market/api/v1"}],"paths":{"/me":{"get":{"summary":"ID, имя и настройки доступа вашего токена","description":"Доступ с действующим личным токеном.","security":[{"BearerToken":[]}],"parameters":[],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/balance":{"get":{"summary":"Доступный баланс и резерв в копейках","description":"Доступ с действующим личным токеном.","security":[{"BearerToken":[]}],"parameters":[],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/categories":{"get":{"summary":"Категории и доступные страны/города","description":"Доступ с действующим личным токеном.","security":[{"BearerToken":[]}],"parameters":[],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/filters":{"get":{"summary":"Значения и описание фильтров","description":"Доступ с действующим личным токеном.","security":[{"BearerToken":[]}],"parameters":[],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/catalog":{"get":{"summary":"Каталог с фильтрами и страницами","description":"Доступ с действующим личным токеном.","security":[{"BearerToken":[]}],"parameters":[{"name":"q","in":"query","description":"Поиск, до 160 символов","schema":{"type":"string"}},{"name":"category","in":"query","description":"ID категории из /categories","schema":{"type":"string"}},{"name":"seller","in":"query","description":"ID продавца; товары его профиля","schema":{"type":"string"}},{"name":"page","in":"query","description":"1–100; 40 товаров на странице","schema":{"type":"integer"}},{"name":"sort","in":"query","description":"newest, cheap, expensive, oldest, subscribers, idle","schema":{"type":"string"}},{"name":"country","in":"query","description":"Страна профиля VK; для Telegram используйте phoneCountry","schema":{"type":"string"}},{"name":"phoneCountry","in":"query","description":"Страна номера Telegram; принимается название страны с флагом или без него","schema":{"type":"string"}},{"name":"origin","in":"query","description":"Текстовый фильтр как в каталоге сайта","schema":{"type":"string"}},{"name":"city","in":"query","description":"Текстовый фильтр как в каталоге сайта","schema":{"type":"string"}},{"name":"fullName","in":"query","description":"Текстовый фильтр как в каталоге сайта","schema":{"type":"string"}},{"name":"saleLabel","in":"query","description":"Текстовый фильтр как в каталоге сайта","schema":{"type":"string"}},{"name":"gender","in":"query","description":"male, female, unknown; VK","schema":{"type":"string"}},{"name":"relation","in":"query","description":"0–8 или unknown; семейное положение VK","schema":{"type":"string"}},{"name":"resale","in":"query","description":"0 или 1","schema":{"type":"string"}},{"name":"afterSpam","in":"query","description":"0 или 1","schema":{"type":"string"}},{"name":"minPrice","in":"query","description":"Цена в рублях, строка с точностью до копеек","schema":{"type":"string"}},{"name":"maxPrice","in":"query","description":"Цена в рублях, строка с точностью до копеек","schema":{"type":"string"}},{"name":"minAge","in":"query","description":"Неотрицательное целое; возраст аккаунта и отлёжка в днях","schema":{"type":"integer"}},{"name":"maxAge","in":"query","description":"Неотрицательное целое; возраст аккаунта и отлёжка в днях","schema":{"type":"integer"}},{"name":"minIdle","in":"query","description":"Неотрицательное целое; возраст аккаунта и отлёжка в днях","schema":{"type":"integer"}},{"name":"maxIdle","in":"query","description":"Неотрицательное целое; возраст аккаунта и отлёжка в днях","schema":{"type":"integer"}},{"name":"minStock","in":"query","description":"Неотрицательное целое; возраст аккаунта и отлёжка в днях","schema":{"type":"integer"}},{"name":"maxStock","in":"query","description":"Неотрицательное целое; возраст аккаунта и отлёжка в днях","schema":{"type":"integer"}},{"name":"registeredFrom","in":"query","description":"Дата регистрации от YYYY-MM-DD; известный день или весь известный месяц","schema":{"type":"string"}},{"name":"registeredTo","in":"query","description":"Дата регистрации до YYYY-MM-DD; для Telegram также подтверждённая граница по сообщению сервиса","schema":{"type":"string"}},{"name":"format","in":"query","description":"vk_cookies, vk_credentials, telegram_tdata","schema":{"type":"string"}},{"name":"checkedWithinDays","in":"query","description":"1, 7, 30, 90","schema":{"type":"integer"}},{"name":"ids","in":"query","description":"До 100 ID товаров через запятую","schema":{"type":"string"}},{"name":"minProfileAge","in":"query","description":"Возраст профиля, лет — от","schema":{"type":"integer"}},{"name":"maxProfileAge","in":"query","description":"Возраст профиля, лет — до","schema":{"type":"integer"}},{"name":"minSubscribers","in":"query","description":"Подписчики — от","schema":{"type":"integer"}},{"name":"maxSubscribers","in":"query","description":"Подписчики — до","schema":{"type":"integer"}},{"name":"minFriends","in":"query","description":"Друзья — от","schema":{"type":"integer"}},{"name":"maxFriends","in":"query","description":"Друзья — до","schema":{"type":"integer"}},{"name":"minGroups","in":"query","description":"Группы — от","schema":{"type":"integer"}},{"name":"maxGroups","in":"query","description":"Группы — до","schema":{"type":"integer"}},{"name":"minDialogs","in":"query","description":"Диалоги — от","schema":{"type":"integer"}},{"name":"maxDialogs","in":"query","description":"Диалоги — до","schema":{"type":"integer"}},{"name":"minPhotos","in":"query","description":"Фотографии — от","schema":{"type":"integer"}},{"name":"maxPhotos","in":"query","description":"Фотографии — до","schema":{"type":"integer"}},{"name":"minAlbums","in":"query","description":"Альбомы — от","schema":{"type":"integer"}},{"name":"maxAlbums","in":"query","description":"Альбомы — до","schema":{"type":"integer"}},{"name":"minVideos","in":"query","description":"Видео — от","schema":{"type":"integer"}},{"name":"maxVideos","in":"query","description":"Видео — до","schema":{"type":"integer"}},{"name":"minAudios","in":"query","description":"Аудиозаписи — от","schema":{"type":"integer"}},{"name":"maxAudios","in":"query","description":"Аудиозаписи — до","schema":{"type":"integer"}},{"name":"minGifts","in":"query","description":"Подарки — от","schema":{"type":"integer"}},{"name":"maxGifts","in":"query","description":"Подарки — до","schema":{"type":"integer"}},{"name":"minContacts","in":"query","description":"Контакты — от","schema":{"type":"integer"}},{"name":"maxContacts","in":"query","description":"Контакты — до","schema":{"type":"integer"}},{"name":"minChannels","in":"query","description":"Каналы — от","schema":{"type":"integer"}},{"name":"maxChannels","in":"query","description":"Каналы — до","schema":{"type":"integer"}},{"name":"phoneSpecified","in":"query","description":"Телефон указан: 0, 1, unknown","schema":{"type":"string"}},{"name":"hasPhoto","in":"query","description":"Аватар: 0, 1, unknown","schema":{"type":"string"}},{"name":"hasUsername","in":"query","description":"Имя пользователя: 0, 1, unknown","schema":{"type":"string"}},{"name":"verified","in":"query","description":"Верификация: 0, 1, unknown","schema":{"type":"string"}},{"name":"vkDatingBanned","in":"query","description":"Бан в VK Знакомствах: 0, 1, unknown","schema":{"type":"string"}},{"name":"vkDatingProfileCreated","in":"query","description":"Анкета VK Знакомств: 0, 1, unknown","schema":{"type":"string"}},{"name":"twoFactor","in":"query","description":"2FA: 0, 1, unknown","schema":{"type":"string"}},{"name":"premium","in":"query","description":"Telegram Premium: 0, 1, unknown","schema":{"type":"string"}},{"name":"spamBlock","in":"query","description":"Спамблок: 0, 1, unknown","schema":{"type":"string"}},{"name":"restricted","in":"query","description":"Ограничения Telegram: 0, 1, unknown","schema":{"type":"string"}}],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/products/{id}":{"get":{"summary":"Публичная карточка доступного товара","description":"Доступ с действующим личным токеном.","security":[{"BearerToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9][0-9]*$"}}],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users/{id}":{"get":{"summary":"Публичный профиль продавца","description":"Доступ с действующим личным токеном.","security":[{"BearerToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9][0-9]*$"}}],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/quote":{"post":{"summary":"Подбор до 10 аккаунтов по фильтрам","description":"Требуется включить покупки и скачивание в личных настройках API.","security":[{"BearerToken":[]}],"parameters":[],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["query","quantity"],"properties":{"query":{"type":"string","maxLength":4096,"example":"category=1&sort=cheap"},"quantity":{"type":"integer","minimum":1,"maximum":10}}}}}}}},"/checkouts":{"post":{"summary":"Покупка: резерв средств и проверка","description":"Требуется включить покупки и скачивание в личных настройках API.","security":[{"BearerToken":[]}],"parameters":[],"responses":{"201":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["key","items"],"properties":{"key":{"type":"string","format":"uuid"},"bulk":{"type":"boolean"},"label":{"type":"string","maxLength":120},"items":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"object","additionalProperties":false,"required":["productId","quantity","unitPrice"],"properties":{"productId":{"type":"integer","minimum":1},"quantity":{"type":"integer","minimum":1,"maximum":10},"unitPrice":{"type":"string","pattern":"^\\d{1,8}(\\.\\d{1,2})?$","example":"65.00"}}}}}}}}}}},"/checkouts/{key}":{"get":{"summary":"Статус проверки, возвратов и подтверждения","description":"Доступ с действующим личным токеном.","security":[{"BearerToken":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/checkouts/{key}/decision":{"post":{"summary":"Оплата аккаунтов или отмена покупки, ожидающей подтверждения","description":"Требуется включить покупки и скачивание в личных настройках API.","security":[{"BearerToken":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["decision"],"properties":{"decision":{"type":"string","enum":["accept","cancel"]}}}}}}}},"/orders":{"get":{"summary":"Ваши заказы: status=purchased/checking/refunded; category=VK/Telegram","description":"Доступ с действующим личным токеном.","security":[{"BearerToken":[]}],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":1}},{"name":"category","in":"query","schema":{"type":"string","enum":["VK","Telegram"]},"description":"Категория купленных аккаунтов; без параметра — все"},{"name":"status","in":"query","schema":{"type":"string","enum":["purchased","checking","refunded"],"default":"purchased"}}],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/purchases/accounts":{"get":{"summary":"Купленные аккаунты по одному, с ID для выбора; category=VK/Telegram","description":"Доступ с действующим личным токеном.","security":[{"BearerToken":[]}],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":1}},{"name":"category","in":"query","schema":{"type":"string","enum":["VK","Telegram"]},"description":"Категория купленных аккаунтов; без параметра — все"}],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/purchases/download":{"get":{"summary":"Скачать до 100 выбранных аккаунтов одним файлом: ids=1,2,3","description":"Требуется включить покупки и скачивание в личных настройках API.","security":[{"BearerToken":[]}],"parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"string","maxLength":1999,"pattern":"^[1-9][0-9]*(,[1-9][0-9]*){0,99}$"},"description":"От 1 до 100 уникальных ID аккаунтов из /purchases/accounts, через запятую; не ID заказов"},{"name":"category","in":"query","schema":{"type":"string","enum":["VK","Telegram"]},"description":"Дополнительное ограничение выбранных аккаунтов по категории"},{"name":"cookieFormat","in":"query","schema":{"type":"string","enum":["json-base64","netscape","netscape-base64"],"default":"json-base64"},"description":"VK: json-base64 — Base64 UTF-8 JSON, netscape-base64 — Base64 UTF-8 Netscape, одна строка на аккаунт в TXT; netscape — обычный Netscape. Telegram сохраняет ZIP, смешанный набор — общий ZIP."}],"responses":{"200":{"description":"Успешный ответ","content":{"application/zip":{"schema":{"type":"string","format":"binary"}},"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}":{"get":{"summary":"Детали вашей покупки и файлы","description":"Требуется включить покупки и скачивание в личных настройках API.","security":[{"BearerToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9][0-9]*$"}}],"responses":{"200":{"description":"Успешный ответ","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/checkouts/{key}/download":{"get":{"summary":"Скачать оплаченные файлы одной покупки","description":"Требуется включить покупки и скачивание в личных настройках API.","security":[{"BearerToken":[]}],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"cookieFormat","in":"query","schema":{"type":"string","enum":["json-base64","netscape","netscape-base64"],"default":"json-base64"},"description":"VK: json-base64 — Base64 UTF-8 JSON, netscape-base64 — Base64 UTF-8 Netscape, одна строка на аккаунт в TXT; netscape — обычный Netscape. Telegram сохраняет ZIP, смешанный набор — общий ZIP."}],"responses":{"200":{"description":"Успешный ответ","content":{"application/zip":{"schema":{"type":"string","format":"binary"}},"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/download":{"get":{"summary":"Скачать оплаченные файлы заказа","description":"Требуется включить покупки и скачивание в личных настройках API.","security":[{"BearerToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9][0-9]*$"}},{"name":"cookieFormat","in":"query","schema":{"type":"string","enum":["json-base64","netscape","netscape-base64"],"default":"json-base64"},"description":"VK: json-base64 — Base64 UTF-8 JSON, netscape-base64 — Base64 UTF-8 Netscape, одна строка на аккаунт в TXT; netscape — обычный Netscape. Telegram сохраняет ZIP, смешанный набор — общий ZIP."}],"responses":{"200":{"description":"Успешный ответ","content":{"application/zip":{"schema":{"type":"string","format":"binary"}},"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/units/{id}/download":{"get":{"summary":"Скачать один оплаченный файл","description":"Требуется включить покупки и скачивание в личных настройках API.","security":[{"BearerToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9][0-9]*$"}},{"name":"cookieFormat","in":"query","schema":{"type":"string","enum":["json-base64","netscape","netscape-base64"],"default":"json-base64"},"description":"VK: json-base64 — Base64 UTF-8 JSON, netscape-base64 — Base64 UTF-8 Netscape, одна строка на аккаунт в TXT; netscape — обычный Netscape. Telegram сохраняет ZIP, смешанный набор — общий ZIP."}],"responses":{"200":{"description":"Успешный ответ","content":{"application/zip":{"schema":{"type":"string","format":"binary"}},"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"400","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"BearerToken":{"type":"http","scheme":"bearer","description":"Токен из профиля → Настройки → API-токен"}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","requestId"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"}}}}}}}}