[{"data":1,"prerenderedAt":268},["ShallowReactive",2],{"openapi-specs-catalog":3,"openapi-nav-ru-Reseller-API-UN":38,"openapi-doc-\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-finishactivationrent":208,"openapi-op-\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-finishactivationrent":218},["Reactive",4],{"defaultLocale":5,"base":6,"specs":7,"specsMeta":11,"locales":35},"en","\u002Fopenapi_docs\u002F",[8,9,10],"Onlinesim-API-UN","Reseller-API-UN","Alternative-API-UN",[12,22,29],{"name":8,"fileName":8,"title":13,"version":14,"description":15,"basePath":16,"specsPath":17,"locales":18,"defaultLocale":5},"Onlinesim API","1.1","General description This API will allow you to access all services provided by Onlinesim: SMS receiving from a single specific service on a virtual nu","Onlinesim-API-UN\u002F","\u002Fopenapi_docs\u002Fspecs\u002FOnlinesim-API-UN",{"en":19,"ru":20,"de":21},"English","Русский","Deutsch",{"name":9,"fileName":9,"title":23,"version":24,"description":25,"basePath":26,"specsPath":27,"locales":28,"defaultLocale":5},"Reseller API","1.0","General description The API is intended for current and potential Onlinesim partners. It allows you to monetize your numbers by providing them to our ","Reseller-API-UN\u002F","\u002Fopenapi_docs\u002Fspecs\u002FReseller-API-UN",{"en":19,"ru":20,"de":21},{"name":10,"fileName":10,"title":30,"version":24,"description":31,"basePath":32,"specsPath":33,"locales":34,"defaultLocale":5},"Alternative API","General description Alternative API for integration with Onlinesim. This API will allow you to access two main services of Onlinesim: rent numbers to ","Alternative-API-UN\u002F","\u002Fopenapi_docs\u002Fspecs\u002FAlternative-API-UN",{"en":19,"ru":20,"de":21},[5,36,37],"ru","de",[39,44,49,54,87,106,171,185],{"text":40,"link":41,"icon":42,"description":43},"API для партнеров","\u002Fru\u002FReseller-API-UN\u002Finfo","icons\u002Fdocs\u002Finfo","Обзор API и введение",{"text":45,"link":46,"icon":47,"description":48},"Авторизация","\u002Fru\u002FReseller-API-UN\u002Fauth","icons\u002Fdocs\u002Fauth","API-ключи, OAuth и схемы безопасности",{"text":50,"link":51,"icon":52,"description":53},"Компоненты","\u002Fru\u002FReseller-API-UN\u002Fcomponents","icons\u002Fdocs\u002Fcomponents","Схемы, параметры и переиспользуемые модели",{"text":55,"collapsed":56,"items":57,"description":85,"icon":86},"v1",false,[58,64,69,74,80],{"text":59,"link":60,"method":61,"path":62,"description":63,"deprecated":56},"getServices","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-getservices","POST","\u002FgetServices","Получить список доступных сервисов и стран",{"text":65,"link":66,"method":61,"path":67,"description":68,"deprecated":56},"getNumber","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-getnumber","\u002FgetNumber","Заказать виртуальный номер для указанного сервиса",{"text":70,"link":71,"method":61,"path":72,"description":73,"deprecated":56},"finishActivation","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-finishactivation","\u002FfinishActivation","Завершить текущую операцию приема",{"text":75,"link":76,"method":77,"path":78,"description":79,"deprecated":56},"services","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-get-services","GET","\u002Fservices","Получить список названий (имен) сервисов",{"text":81,"link":82,"method":77,"path":83,"description":84,"deprecated":56},"countries","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-get-countries","\u002Fcountries","Получить список названий стран","v1 API для партнеров (сервер Onlinesim запрашивает номера у Вашего)","icons\u002Fdocs\u002Ffolder",{"text":88,"collapsed":56,"items":89,"description":105,"icon":86},"v1 rent",[90,95,100],{"text":91,"link":92,"method":61,"path":93,"description":94,"deprecated":56},"getServicesRent","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-getservicesrent","\u002FgetServicesRent","Получить список доступных сервисов и стран для аренды",{"text":96,"link":97,"method":61,"path":98,"description":99,"deprecated":56},"getNumberRent","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-getnumberrent","\u002FgetNumberRent","Заказать аренду виртуального номера телефона",{"text":101,"link":102,"method":61,"path":103,"description":104,"deprecated":56},"finishActivationRent","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-finishactivationrent","\u002FfinishActivationRent","Завершить операцию аренды виртуального номера","v1 API для аренды Ваших номеров (сервер Onlinesim запрашивает номера у\nВашего)",{"text":107,"collapsed":56,"items":108,"description":170,"icon":86},"v2",[109,114,119,124,129,134,139,144,150,155,160,165],{"text":110,"link":111,"method":61,"path":112,"description":113,"deprecated":56},"sendNumbersOnline","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-api-resellers-sendnumbersonline","\u002Fapi\u002Fresellers\u002FsendNumbersOnline","Отправить списком номера телефонов на сервер Onlinesim",{"text":115,"link":116,"method":61,"path":117,"description":118,"deprecated":56},"addMessage","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-api-resellers-addmessage","\u002Fapi\u002Fresellers\u002FaddMessage","Переслать полученные SMS на сервер Onlinesim",{"text":120,"link":121,"method":61,"path":122,"description":123,"deprecated":56},"addMessages","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-api-resellers-addmessages","\u002Fapi\u002Fresellers\u002FaddMessages","Пакетно переслать полученные SMS на сервер Onlinesim",{"text":125,"link":126,"method":77,"path":127,"description":128,"deprecated":56},"takeOffNumbers","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-get-api-resellers-takeoffnumbers","\u002Fapi\u002Fresellers\u002FtakeOffNumbers","Получить информацию о доходе номеров",{"text":130,"link":131,"method":61,"path":132,"description":133,"deprecated":56},"addNumber","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-api-resellers-addnumber","\u002Fapi\u002Fresellers\u002FaddNumber","Отправить указанные номера телефона на сервер Onlinesim",{"text":135,"link":136,"method":77,"path":137,"description":138,"deprecated":56},"checkNumber","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-get-api-resellers-checknumber","\u002Fapi\u002Fresellers\u002FcheckNumber","Получить подробную информацию о номере телефона и его статусе",{"text":140,"link":141,"method":77,"path":142,"description":143,"deprecated":56},"checkWork","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-get-api-resellers","\u002Fapi\u002Fresellers","Подтвердить онлайн-статус сервера",{"text":145,"link":146,"method":147,"path":148,"description":149,"deprecated":56},"removeNumber","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-delete-api-resellers-removenumber","DELETE","\u002Fapi\u002Fresellers\u002FremoveNumber","Удалить номер телефона с сервера Onlinesim",{"text":151,"link":152,"method":61,"path":153,"description":154,"deprecated":56},"addNumbers","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-api-resellers-addnumbers","\u002Fapi\u002Fresellers\u002FaddNumbers","Добавить несколько номеров телефонов к текущему списку",{"text":156,"link":157,"method":77,"path":158,"description":159,"deprecated":56},"checkNumbers","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-get-api-resellers-checknumbers","\u002Fapi\u002Fresellers\u002FcheckNumbers","Получить подробную информацию об указанных номерах телефонов вашего профиля и их статусах",{"text":161,"link":162,"method":147,"path":163,"description":164,"deprecated":56},"removeNumbers","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-delete-api-resellers-removenumbers","\u002Fapi\u002Fresellers\u002FremoveNumbers","Удалить несколько номеров телефонов из текущего списка",{"text":166,"link":167,"method":61,"path":168,"description":169,"deprecated":56},"saveConfig","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-api-auth-me","\u002Fapi\u002Fauth\u002Fme","Изменить список исключений сервисов","v2 API для партнеров (Ваш сервер отсылает все доступные для продажи номера\nна сервер Onlinesim)",{"text":172,"collapsed":56,"items":173,"icon":184},"Вебхуки",[174,179],{"text":175,"link":176,"method":61,"path":177,"description":178,"deprecated":56},"pushSms","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-v1-push_sms","\u002Fv1\u002FPUSH_SMS","Отправить SMS в Onlinesim",{"text":180,"link":181,"method":61,"path":182,"description":183,"deprecated":56},"pushSmsRent","\u002Fru\u002FReseller-API-UN\u002FReseller-API-UN-post-v1-push_sms_rent","\u002Fv1\u002FPUSH_SMS_RENT","Отправить SMS в Onlinesim для операции аренды","icons\u002Fdocs\u002Fwebhook",{"text":186,"collapsed":56,"items":187,"icon":86},"Прочее",[188,194,198,203],{"text":189,"link":190,"method":191,"path":81,"description":192,"icon":193},"Страны","\u002Fru\u002FReseller-API-UN\u002Fcustom\u002Fcountries","PAGE","Список поддерживаемых кодов стран","icons\u002Fdocs\u002Fpage",{"text":195,"link":196,"method":191,"path":75,"description":197,"icon":193},"Сервисы","\u002Fru\u002FReseller-API-UN\u002Fcustom\u002Fservices","Список поддерживаемых сервисов",{"text":199,"link":200,"method":191,"path":201,"description":202,"icon":193},"Операторы","\u002Fru\u002FReseller-API-UN\u002Fcustom\u002Foperators","operators","Список поддерживаемых операторов",{"text":204,"link":205,"method":191,"path":206,"description":207,"icon":193},"Тестирование","\u002Fru\u002FReseller-API-UN\u002Fcustom\u002Ftesting","testing","Протокол тестирования и требования",{"title":104,"kind":209,"locale":36,"specName":9,"path":102,"body":210,"operationKey":211,"method":212,"codeSamplesUrl":213,"description":104,"sectionsHtml":214},"operation","\u003Ch1>\u003Cspan class=\"openapi-method openapi-method-post\">POST\u003C\u002Fspan> \u002FfinishActivationRent\u003C\u002Fh1>\n\u003Cp>\u003Cstrong>\u003Cspan data-editable data-file=\"Reseller-API-UN.yaml\" data-path=\"paths.&quot;\u002FfinishActivationRent&quot;.post.x-summary-ru\" data-type=\"input\">Завершить операцию аренды виртуального номера\u003C\u002Fspan>\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cdiv data-editable data-file=\"Reseller-API-UN.yaml\" data-path=\"paths.&quot;\u002FfinishActivationRent&quot;.post.x-description-ru\" data-type=\"textarea\">\u003C\u002Fdiv>\n\u003Cp>Данный запрос отправляется сервером Onlinesim для закрытия текущей\nоперации аренды с определенным статусом (который зависит от результатов\nоперации).\u003C\u002Fp>\n\u003Cp>По умолчанию данный запрос отправляется по истечению времени операции.\nЗапрос также может быть отправлен досрочно в одном из двух случаев:\u003C\u002Fp>\n\u003Col>\n  \u003Cli>если SMS от заказанного сервиса было успешно получено и клиент досрочно\n  закрывает операцию аренды;\u003C\u002Fli>\n  \u003Cli>если SMS от заказанного сервиса не было\n  получено и операция закрывается по истечению защитного интервала (20\n  минут с момента создания)\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>Получение запроса со статусом \u003Ccode>1\u003C\u002Fcode> является сигналом о том, что номер по какой-то причине не смог получить SMS от заказанного сервиса в течение трех (или более) операций. Вы можете использовать этот статус как индикатор для необходимости проверки номера и исключить его из выдачи в дальнейшем, либо игнорировать его.\u003C\u002Fp>\n\u003Caside class=\"my-4 rounded-lg border p-4 text-sm leading-relaxed not-prose border-brand-200 bg-brand-50 text-brand-950\" role=\"note\">\u003Cdiv class=\"openapi-callout-body [&_p:last-child]:mb-0 [&_p]:mb-2\">\u003Cp>Вы можете использовать тот же endpoint, что и для закрытия операций по\nприему SMS (\u003Ccode>FINISH_ACTIVATION\u003C\u002Fcode>, v1), либо использовать отдельный\nendpoint исключительно для операций аренды.\u003C\u002Fp>\n\u003Cp>Однако при первом варианте Вам необходимо модифицировать его, чтобы Ваш\nсервер корректно обрабатывал запрос для закрытия операции аренды.\u003C\u002Fp>\n\u003C\u002Fdiv>\u003C\u002Faside>\u003Caside class=\"my-4 rounded-lg border p-4 text-sm leading-relaxed not-prose border-amber-200 bg-amber-50 text-amber-950\" role=\"note\">\u003Cdiv class=\"openapi-callout-body [&_p:last-child]:mb-0 [&_p]:mb-2\">Ваш сервер должен прислать ответ об успешном закрытии операции аренды в\nтечение 10 секунд после получения запроса. Если по истечению этого\nвремени ответа не последует, текущий запрос автоматически отменяется\n(направляется новый запрос на закрытие).\u003C\u002Fdiv>\u003C\u002Faside>\u003Caside class=\"my-4 rounded-lg border p-4 text-sm leading-relaxed not-prose border-red-200 bg-red-50 text-red-950\" role=\"note\">\u003Cdiv class=\"openapi-callout-body [&_p:last-child]:mb-0 [&_p]:mb-2\">Пожалуйста, не закрывайте операции на своей стороне до получения от нас\nзапроса FINISH_ACTIVATION. Самостоятельное закрытие операций может\nпривести к рассинхронизации статусов и некорректной обработке\nпоследующих запросов.\u003C\u002Fdiv>\u003C\u002Faside>","Reseller-API-UN-post-finishactivationrent","post","\u002Fopenapi_docs\u002Fapi\u002Fcode\u002FReseller-API-UN\u002FReseller-API-UN-post-finishactivationrent.json",{"parameters":215,"requestBody":216,"responses":217},"\u003Csection class=\"mt-8\" data-openapi-section=\"parameters\">\u003Ch2 id=\"parameters\" class=\"mb-3 text-xl font-semibold text-gray-900\">Параметры\u003C\u002Fh2>\u003Cdiv class=\"my-4\">\u003Cdetails class=\"mb-2 overflow-hidden rounded-lg border border-gray-200\" open>\u003Csummary class=\"flex cursor-pointer list-none items-center gap-2 border-0 bg-gray-50 px-4 py-2.5 text-left text-sm font-medium text-gray-800 hover:bg-gray-100 [&::-webkit-details-marker]:hidden\">\u003Cspan class=\"rounded px-2 py-0.5 text-[10px] font-bold uppercase bg-amber-50 text-amber-800\">header\u003C\u002Fspan>\u003Cspan class=\"rounded-md bg-white px-2 py-0.5 text-xs text-gray-500\">1\u003C\u002Fspan>\u003Cspan class=\"ms-auto\">\u003Cspan class=\"openapi-fold-chevron\" aria-hidden=\"true\">\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fsummary>\u003Cdiv class=\"overflow-x-auto border-t border-gray-200 bg-white\">\u003Ctable class=\"w-full min-w-[480px] border-collapse text-sm\">\u003Cthead>\u003Ctr>\u003Cth class=\"w-[25%] border-b border-gray-200 bg-gray-50 px-4 py-2 text-left text-xs font-semibold uppercase text-gray-500\">Название\u003C\u002Fth>\u003Cth class=\"w-[20%] border-b border-gray-200 bg-gray-50 px-4 py-2 text-left text-xs font-semibold uppercase text-gray-500\">Тип\u003C\u002Fth>\u003Cth class=\"w-[55%] border-b border-gray-200 bg-gray-50 px-4 py-2 text-left text-xs font-semibold uppercase text-gray-500\">Описание\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr class=\"transition-colors hover:bg-gray-50\">\u003Ctd class=\"border-b border-gray-100 px-4 py-2 align-top text-gray-700\">\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs font-semibold text-gray-900\">Authorization\u003C\u002Fcode>\u003Cspan class=\"ml-0.5 font-bold text-red-600\">*\u003C\u002Fspan>\u003C\u002Ftd>\u003Ctd class=\"border-b border-gray-100 px-4 py-2 align-top text-gray-700\">\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">string\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd class=\"border-b border-gray-100 px-4 py-2 align-top text-gray-700\">\u003Cdiv class=\"text-sm leading-relaxed text-gray-600 break-words [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ul]:pl-6 [&_ol]:my-2 [&_ol]:pl-6 [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[0.9em] [&_a]:text-brand-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Смотрите подробнее \u003Ca href=\"\u002Fopenapi_docs\u002Fru\u002FReseller-API-UN\u002Fauth\">тут\u003C\u002Fa>\u003C\u002Fp>\u003C\u002Fdiv>\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\u003C\u002Fdetails>\u003C\u002Fdiv>\u003C\u002Fsection>","\u003Csection class=\"mt-8\" data-openapi-section=\"request-body\">\u003Ch2 id=\"request-body\" class=\"mb-3 text-xl font-semibold text-gray-900\">Тело запроса\u003C\u002Fh2>\u003Cdiv class=\"rounded-lg border border-gray-200 bg-white p-4\">\u003Cdiv class=\"mb-3 text-sm leading-relaxed text-gray-600 break-words [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ul]:pl-6 [&_ol]:my-2 [&_ol]:pl-6 [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[0.9em] [&_a]:text-brand-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Тело запроса от сервера Onlinesim\u003C\u002Fp>\u003C\u002Fdiv>\u003Cdiv class=\"mb-3 flex flex-wrap items-center gap-1.5 rounded-md border border-gray-200 bg-gray-50 px-2 py-1\">\u003Cspan class=\"shrink-0 text-[10px] font-bold uppercase tracking-wide text-gray-500\">Content-Type\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">application\u002Fjson\u003C\u002Fcode>\u003C\u002Fdiv>\u003Cdiv class=\"overflow-hidden rounded-lg border border-gray-200 bg-white\">\u003Cdiv class=\"border-b border-gray-200 bg-gray-50 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-gray-500\">Схема\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-tree px-3.5 py-2.5\">\u003Cdetails class=\"openapi-schema-node\" open>\u003Csummary>\u003Cdiv class=\"openapi-schema-row\">\u003Cspan class=\"openapi-schema-chevron\" aria-hidden=\"true\">\u003C\u002Fspan>\u003Cdiv class=\"openapi-schema-body\">\u003Cdiv class=\"openapi-schema-head\">\u003Cspan class=\"font-semibold text-gray-900\">Body\u003C\u002Fspan>\u003Cspan class=\"text-gray-500\">object\u003C\u002Fspan>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fsummary>\u003Cdiv class=\"openapi-schema-children\">\u003Cdiv class=\"openapi-schema-node\">\u003Cdiv class=\"openapi-schema-row\">\u003Cspan class=\"openapi-schema-spacer\" aria-hidden=\"true\">\u003C\u002Fspan>\u003Cdiv class=\"openapi-schema-body\">\u003Cdiv class=\"openapi-schema-head\">\u003Cspan class=\"font-semibold text-gray-900\">action\u003C\u002Fspan>\u003Cspan class=\"text-gray-500\">string\u003C\u002Fspan>\u003Cspan class=\"ml-1 inline-flex items-center rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase bg-red-50 text-red-700\">Обязательный\u003C\u002Fspan>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-meta\">\u003Cdiv class=\"mt-0.5 text-xs leading-snug text-gray-600 text-sm leading-relaxed text-gray-600 break-words [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ul]:pl-6 [&_ol]:my-2 [&_ol]:pl-6 [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[0.9em] [&_a]:text-brand-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Имя метода, в данном случае \u003Ccode>FINISH_ACTIVATION\u003C\u002Fcode>\u003C\u002Fp>\u003C\u002Fdiv>\u003Cdiv class=\"mt-1 flex flex-wrap gap-y-1\">\u003Cspan class=\"mr-2 inline-flex flex-wrap items-center gap-1 text-xs text-gray-600\">\u003Cspan class=\"font-medium\">Перечисление:\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">FINISH_ACTIVATION\u003C\u002Fcode>\u003C\u002Fspan>\u003Cspan class=\"mr-2 inline-flex flex-wrap items-center gap-1 text-xs text-gray-600\">\u003Cspan class=\"font-medium\">По умолчанию:\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">FINISH_ACTIVATION\u003C\u002Fcode>\u003C\u002Fspan>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-node\">\u003Cdiv class=\"openapi-schema-row\">\u003Cspan class=\"openapi-schema-spacer\" aria-hidden=\"true\">\u003C\u002Fspan>\u003Cdiv class=\"openapi-schema-body\">\u003Cdiv class=\"openapi-schema-head\">\u003Cspan class=\"font-semibold text-gray-900\">activationId\u003C\u002Fspan>\u003Cspan class=\"text-gray-500\">integer\u003C\u002Fspan>\u003Cspan class=\"ml-1 inline-flex items-center rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase bg-red-50 text-red-700\">Обязательный\u003C\u002Fspan>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-meta\">\u003Cdiv class=\"mt-0.5 text-xs leading-snug text-gray-600 text-sm leading-relaxed text-gray-600 break-words [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ul]:pl-6 [&_ol]:my-2 [&_ol]:pl-6 [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[0.9em] [&_a]:text-brand-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>ID операции (присваивается Вашим сервером)\u003C\u002Fp>\u003C\u002Fdiv>\u003Cdiv class=\"mt-0.5 text-xs text-gray-500\">≥ 1\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-node\">\u003Cdiv class=\"openapi-schema-row\">\u003Cspan class=\"openapi-schema-spacer\" aria-hidden=\"true\">\u003C\u002Fspan>\u003Cdiv class=\"openapi-schema-body\">\u003Cdiv class=\"openapi-schema-head\">\u003Cspan class=\"font-semibold text-gray-900\">status\u003C\u002Fspan>\u003Cspan class=\"text-gray-500\">integer\u003C\u002Fspan>\u003Cspan class=\"ml-1 inline-flex items-center rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase bg-red-50 text-red-700\">Обязательный\u003C\u002Fspan>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-meta\">\u003Cdiv class=\"mt-0.5 text-xs leading-snug text-gray-600 text-sm leading-relaxed text-gray-600 break-words [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ul]:pl-6 [&_ol]:my-2 [&_ol]:pl-6 [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[0.9em] [&_a]:text-brand-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Код статуса операции, enum:\u003C\u002Fp>\n\u003Cp>\u003Ccode>1\u003C\u002Fcode> - Номер не смог принять SMS в течение трех (или более) операций аренды. Проверьте, есть ли проблемы с этим номером, возможно стоит исключить его из выдачи в дальнейшем\u003C\u002Fp>\n\u003Cp>\u003Ccode>3\u003C\u002Fcode> - Операция завершена успешно\u003C\u002Fp>\n\u003Cp>\u003Ccode>4\u003C\u002Fcode> - Операция была отменена, сообщение не было получено\u003C\u002Fp>\n\u003Cp>\u003Ccode>5\u003C\u002Fcode> - По операции был совершен возврат, в случае ошибок и\nпроблем с сообщением.\u003C\u002Fp>\u003C\u002Fdiv>\u003Cdiv class=\"mt-1 flex flex-wrap gap-y-1\">\u003Cspan class=\"mr-2 inline-flex flex-wrap items-center gap-1 text-xs text-gray-600\">\u003Cspan class=\"font-medium\">Перечисление:\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">1\u003C\u002Fcode>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">3\u003C\u002Fcode>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">4\u003C\u002Fcode>\u003C\u002Fspan>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-node\">\u003Cdiv class=\"openapi-schema-row\">\u003Cspan class=\"openapi-schema-spacer\" aria-hidden=\"true\">\u003C\u002Fspan>\u003Cdiv class=\"openapi-schema-body\">\u003Cdiv class=\"openapi-schema-head\">\u003Cspan class=\"font-semibold text-gray-900\">key\u003C\u002Fspan>\u003Cspan class=\"text-gray-500\">string\u003C\u002Fspan>\u003Cspan class=\"ml-1 inline-flex items-center rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase bg-red-50 text-red-700\">Обязательный\u003C\u002Fspan>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-meta\">\u003Cdiv class=\"mt-0.5 text-xs leading-snug text-gray-600 text-sm leading-relaxed text-gray-600 break-words [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ul]:pl-6 [&_ol]:my-2 [&_ol]:pl-6 [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[0.9em] [&_a]:text-brand-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>API ключ Вашего профиля партнера Onlinesim\u003C\u002Fp>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-node\">\u003Cdiv class=\"openapi-schema-row\">\u003Cspan class=\"openapi-schema-spacer\" aria-hidden=\"true\">\u003C\u002Fspan>\u003Cdiv class=\"openapi-schema-body\">\u003Cdiv class=\"openapi-schema-head\">\u003Cspan class=\"font-semibold text-gray-900\">service\u003C\u002Fspan>\u003Cspan class=\"text-gray-500\">string\u003C\u002Fspan>\u003Cspan class=\"ml-1 inline-flex items-center rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase bg-red-50 text-red-700\">Обязательный\u003C\u002Fspan>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-meta\">\u003Cdiv class=\"mt-0.5 text-xs leading-snug text-gray-600 text-sm leading-relaxed text-gray-600 break-words [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ul]:pl-6 [&_ol]:my-2 [&_ol]:pl-6 [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[0.9em] [&_a]:text-brand-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Название сервиса. Для аренды всегда \u003Ccode>rent\u003C\u002Fcode>\u003C\u002Fp>\u003C\u002Fdiv>\u003Cdiv class=\"mt-1 flex flex-wrap gap-y-1\">\u003Cspan class=\"mr-2 inline-flex flex-wrap items-center gap-1 text-xs text-gray-600\">\u003Cspan class=\"font-medium\">Перечисление:\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">rent\u003C\u002Fcode>\u003C\u002Fspan>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-node\">\u003Cdiv class=\"openapi-schema-row\">\u003Cspan class=\"openapi-schema-spacer\" aria-hidden=\"true\">\u003C\u002Fspan>\u003Cdiv class=\"openapi-schema-body\">\u003Cdiv class=\"openapi-schema-head\">\u003Cspan class=\"font-semibold text-gray-900\">sum\u003C\u002Fspan>\u003Cspan class=\"text-gray-500\">number\u003C\u002Fspan>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-meta\">\u003Cdiv class=\"mt-0.5 text-xs leading-snug text-gray-600 text-sm leading-relaxed text-gray-600 break-words [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ul]:pl-6 [&_ol]:my-2 [&_ol]:pl-6 [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[0.9em] [&_a]:text-brand-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Общая стоимость аренды, включая все периоды продления, в\nрублях (эта сумма будет начислена на Ваш аккаунт партнера\nOnlinesim при успешном завершении операции аренды)\u003C\u002Fp>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdetails>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003Cdiv class=\"mt-4\">\u003Ch3 class=\"mb-2 text-sm font-semibold text-gray-900\">Примеры\u003C\u002Fh3>\u003Cdiv class=\"openapi-example-card mb-3 overflow-hidden rounded-lg border border-gray-200 bg-white last:mb-0\">\u003Cdiv class=\"border-b border-gray-200 bg-gray-50 px-3.5 py-2.5 text-sm font-semibold text-gray-900\">Example payload of Onlinesim server FINISH_ACTIVATION request (for closing rent operation)\u003C\u002Fdiv>\u003Cdiv class=\"px-3.5 py-3\">\u003Cdiv class=\"openapi-example-code\" data-lang=\"json\">\u003Cpre class=\"openapi-example-pre\">\u003Ccode>{\n  &quot;action&quot;: &quot;FINISH_ACTIVATION&quot;,\n  &quot;activationId&quot;: 75491,\n  &quot;status&quot;: 3,\n  &quot;key&quot;: &quot;apikey&quot;,\n  &quot;service&quot;: &quot;rent&quot;,\n  &quot;sum&quot;: 2408\n}\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fsection>","\u003Csection class=\"mt-8\" data-openapi-section=\"responses\">\u003Ch2 id=\"responses\" class=\"mb-3 text-xl font-semibold text-gray-900\">Ответы\u003C\u002Fh2>\u003Cdiv class=\"overflow-hidden rounded-lg border border-gray-200\">\u003Cdetails class=\"border-b border-gray-200 last:border-b-0\" open>\u003Csummary class=\"flex cursor-pointer list-none items-start gap-3 bg-gray-50 px-4 py-3 hover:bg-gray-100 [&::-webkit-details-marker]:hidden\">\u003Cspan class=\"mt-0.5 shrink-0 min-w-10 rounded px-2 py-1 text-center font-sans text-[11px] font-semibold bg-indigo-50 text-indigo-700\">200\u003C\u002Fspan>\u003Cdiv class=\"min-w-0 flex-1 text-sm leading-snug text-gray-800 text-sm leading-relaxed text-gray-600 break-words [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ul]:pl-6 [&_ol]:my-2 [&_ol]:pl-6 [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[0.9em] [&_a]:text-brand-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Ответ Вашего сервера на запрос \u003Ccode>FINISH_ACTIVATION\u003C\u002Fcode> должен быть в\nследующем формате:\u003C\u002Fp>\u003C\u002Fdiv>\u003Cspan class=\"mt-1 ms-auto shrink-0\">\u003Cspan class=\"openapi-fold-chevron\" aria-hidden=\"true\">\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fsummary>\u003Cdiv class=\"bg-white p-4\">\u003Cdiv class=\"mb-3 flex flex-wrap items-center gap-1.5 rounded-md border border-gray-200 bg-gray-50 px-2 py-1\">\u003Cspan class=\"shrink-0 text-[10px] font-bold uppercase tracking-wide text-gray-500\">Content-Type\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">application\u002Fjson\u003C\u002Fcode>\u003C\u002Fdiv>\u003Cdiv class=\"overflow-hidden rounded-lg border border-gray-200 bg-white\">\u003Cdiv class=\"border-b border-gray-200 bg-gray-50 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-gray-500\">Схема\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-tree px-3.5 py-2.5\">\u003Cdetails class=\"openapi-schema-node\" open>\u003Csummary>\u003Cdiv class=\"openapi-schema-row\">\u003Cspan class=\"openapi-schema-chevron\" aria-hidden=\"true\">\u003C\u002Fspan>\u003Cdiv class=\"openapi-schema-body\">\u003Cdiv class=\"openapi-schema-head\">\u003Cspan class=\"font-semibold text-gray-900\">Response\u003C\u002Fspan>\u003Cspan class=\"text-gray-500\">object\u003C\u002Fspan>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fsummary>\u003Cdiv class=\"openapi-schema-children\">\u003Cdiv class=\"openapi-schema-node\">\u003Cdiv class=\"openapi-schema-row\">\u003Cspan class=\"openapi-schema-spacer\" aria-hidden=\"true\">\u003C\u002Fspan>\u003Cdiv class=\"openapi-schema-body\">\u003Cdiv class=\"openapi-schema-head\">\u003Cspan class=\"font-semibold text-gray-900\">status\u003C\u002Fspan>\u003Cspan class=\"text-gray-500\">string\u003C\u002Fspan>\u003C\u002Fdiv>\u003Cdiv class=\"openapi-schema-meta\">\u003Cdiv class=\"mt-0.5 text-xs leading-snug text-gray-600 text-sm leading-relaxed text-gray-600 break-words [&_p]:my-2 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_ul]:my-2 [&_ul]:pl-6 [&_ol]:my-2 [&_ol]:pl-6 [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[0.9em] [&_a]:text-brand-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Статус выполнения запроса (\u003Ccode>SUCCESS\u003C\u002Fcode> или \u003Ccode>ERROR\u003C\u002Fcode>)\u003C\u002Fp>\u003C\u002Fdiv>\u003Cdiv class=\"mt-1 flex flex-wrap gap-y-1\">\u003Cspan class=\"mr-2 inline-flex flex-wrap items-center gap-1 text-xs text-gray-600\">\u003Cspan class=\"font-medium\">Перечисление:\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">SUCCESS\u003C\u002Fcode>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-sans text-xs text-gray-800\">ERROR\u003C\u002Fcode>\u003C\u002Fspan>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdetails>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003Cdiv class=\"mt-4\">\u003Ch3 class=\"mb-2 text-sm font-semibold text-gray-900\">Примеры\u003C\u002Fh3>\u003Cdiv class=\"openapi-example-card mb-3 overflow-hidden rounded-lg border border-gray-200 bg-white last:mb-0\">\u003Cdiv class=\"border-b border-gray-200 bg-gray-50 px-3.5 py-2.5 text-sm font-semibold text-gray-900\">Response example from your server (when the rental operation was successfuly closed on your server)\u003C\u002Fdiv>\u003Cdiv class=\"px-3.5 py-3\">\u003Cdiv class=\"openapi-example-code\" data-lang=\"json\">\u003Cpre class=\"openapi-example-pre\">\u003Ccode>{\n  &quot;status&quot;: &quot;SUCCESS&quot;\n}\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdiv>\u003C\u002Fdetails>\u003C\u002Fdiv>\u003C\u002Fsection>",{"operationKey":211,"method":212,"urlPath":103,"isWebhook":56,"isInboundWebhook":56,"servers":219,"availableAuthMethods":226,"oauthConfigs":227,"prepared":228,"locale":36,"specName":9,"path":102},[220],{"url":221,"description":222,"variables":223},"{yourserver}","Your server URL",{"yourserver":224},{"default":225},"https:\u002F\u002F{yourserver.com}",[],[],{"codeParams":229,"requestBody":258},{"method":212,"url":103,"baseUrl":221,"contentType":230,"params":231},"application\u002Fjson",[232,237,241,245,248,251,254],{"in":233,"name":234,"value":235,"type":235,"required":236},"header","Authorization","string",true,{"in":238,"name":239,"value":240,"type":235,"required":236},"body","action","FINISH_ACTIVATION",{"in":238,"name":242,"value":243,"type":244,"required":236},"activationId",75491,"integer",{"in":238,"name":246,"value":247,"type":244,"required":236},"status",3,{"in":238,"name":249,"value":250,"type":235,"required":236},"key","apikey",{"in":238,"name":252,"value":253,"type":235,"required":236},"service","rent",{"in":238,"name":255,"value":256,"type":257,"required":56},"sum",2408,"number",{"required":56,"contentTypes":259,"activeContentType":230,"examples":260,"byContentType":264},[230],[261],{"name":262,"value":263},"Example payload of Onlinesim server FINISH_ACTIVATION request (for closing rent operation)","{\"action\":\"FINISH_ACTIVATION\",\"activationId\":75491,\"status\":3,\"key\":\"apikey\",\"service\":\"rent\",\"sum\":2408}",{"application\u002Fjson":265},{"examples":266},[267],{"name":262,"value":263},1789401962823]