[{"data":1,"prerenderedAt":266},["ShallowReactive",2],{"openapi-specs-catalog":3,"openapi-nav-en-Reseller-API-UN":38,"openapi-doc-\u002FReseller-API-UN\u002FReseller-API-UN-post-finishactivationrent":207,"openapi-op-\u002FReseller-API-UN\u002FReseller-API-UN-post-finishactivationrent":217},["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,43,48,53,86,105,170,184],{"text":23,"link":40,"icon":41,"description":42},"\u002FReseller-API-UN\u002Finfo","icons\u002Fdocs\u002Finfo","API overview and introduction",{"text":44,"link":45,"icon":46,"description":47},"Authorization","\u002FReseller-API-UN\u002Fauth","icons\u002Fdocs\u002Fauth","API keys, OAuth, and security schemes",{"text":49,"link":50,"icon":51,"description":52},"Components","\u002FReseller-API-UN\u002Fcomponents","icons\u002Fdocs\u002Fcomponents","Schemas, parameters, and reusable models",{"text":54,"collapsed":55,"items":56,"description":84,"icon":85},"v1",false,[57,63,68,73,79],{"text":58,"link":59,"method":60,"path":61,"description":62,"deprecated":55},"getServices","\u002FReseller-API-UN\u002FReseller-API-UN-post-getservices","POST","\u002FgetServices","Get list of available services and countries",{"text":64,"link":65,"method":60,"path":66,"description":67,"deprecated":55},"getNumber","\u002FReseller-API-UN\u002FReseller-API-UN-post-getnumber","\u002FgetNumber","Order a virtual number for the specified service",{"text":69,"link":70,"method":60,"path":71,"description":72,"deprecated":55},"finishActivation","\u002FReseller-API-UN\u002FReseller-API-UN-post-finishactivation","\u002FfinishActivation","Finish current operation",{"text":74,"link":75,"method":76,"path":77,"description":78,"deprecated":55},"services","\u002FReseller-API-UN\u002FReseller-API-UN-get-services","GET","\u002Fservices","Get service names list",{"text":80,"link":81,"method":76,"path":82,"description":83,"deprecated":55},"countries","\u002FReseller-API-UN\u002FReseller-API-UN-get-countries","\u002Fcountries","Get country names list","v1 API for partners (our server requests numbers from yours)","icons\u002Fdocs\u002Ffolder",{"text":87,"collapsed":55,"items":88,"description":104,"icon":85},"v1 rent",[89,94,99],{"text":90,"link":91,"method":60,"path":92,"description":93,"deprecated":55},"getServicesRent","\u002FReseller-API-UN\u002FReseller-API-UN-post-getservicesrent","\u002FgetServicesRent","Get list of available services and countries for rent",{"text":95,"link":96,"method":60,"path":97,"description":98,"deprecated":55},"getNumberRent","\u002FReseller-API-UN\u002FReseller-API-UN-post-getnumberrent","\u002FgetNumberRent","Order rent of a virtual phone number",{"text":100,"link":101,"method":60,"path":102,"description":103,"deprecated":55},"finishActivationRent","\u002FReseller-API-UN\u002FReseller-API-UN-post-finishactivationrent","\u002FfinishActivationRent","Finish rent operation of a virtual phone number","v1 API for renting your numbers (our server requests numbers from yours)",{"text":106,"collapsed":55,"items":107,"description":169,"icon":85},"v2",[108,113,118,123,128,133,138,143,149,154,159,164],{"text":109,"link":110,"method":60,"path":111,"description":112,"deprecated":55},"sendNumbersOnline","\u002FReseller-API-UN\u002FReseller-API-UN-post-api-resellers-sendnumbersonline","\u002Fapi\u002Fresellers\u002FsendNumbersOnline","Send phone numbers in bulk to Onlinesim server list",{"text":114,"link":115,"method":60,"path":116,"description":117,"deprecated":55},"addMessage","\u002FReseller-API-UN\u002FReseller-API-UN-post-api-resellers-addmessage","\u002Fapi\u002Fresellers\u002FaddMessage","Forward received SMS to Onlinesim server",{"text":119,"link":120,"method":60,"path":121,"description":122,"deprecated":55},"addMessages","\u002FReseller-API-UN\u002FReseller-API-UN-post-api-resellers-addmessages","\u002Fapi\u002Fresellers\u002FaddMessages","Batch forward received SMS to Onlinesim server",{"text":124,"link":125,"method":76,"path":126,"description":127,"deprecated":55},"takeOffNumbers","\u002FReseller-API-UN\u002FReseller-API-UN-get-api-resellers-takeoffnumbers","\u002Fapi\u002Fresellers\u002FtakeOffNumbers","Get information about numbers income",{"text":129,"link":130,"method":60,"path":131,"description":132,"deprecated":55},"addNumber","\u002FReseller-API-UN\u002FReseller-API-UN-post-api-resellers-addnumber","\u002Fapi\u002Fresellers\u002FaddNumber","Forward specified phone numbers to Onlinesim server",{"text":134,"link":135,"method":76,"path":136,"description":137,"deprecated":55},"checkNumber","\u002FReseller-API-UN\u002FReseller-API-UN-get-api-resellers-checknumber","\u002Fapi\u002Fresellers\u002FcheckNumber","Get detailed information about phone number and it's status",{"text":139,"link":140,"method":76,"path":141,"description":142,"deprecated":55},"checkWork","\u002FReseller-API-UN\u002FReseller-API-UN-get-api-resellers","\u002Fapi\u002Fresellers","Confirm server uptime status",{"text":144,"link":145,"method":146,"path":147,"description":148,"deprecated":55},"removeNumber","\u002FReseller-API-UN\u002FReseller-API-UN-delete-api-resellers-removenumber","DELETE","\u002Fapi\u002Fresellers\u002FremoveNumber","Remove phone number from Onlinesim server list",{"text":150,"link":151,"method":60,"path":152,"description":153,"deprecated":55},"addNumbers","\u002FReseller-API-UN\u002FReseller-API-UN-post-api-resellers-addnumbers","\u002Fapi\u002Fresellers\u002FaddNumbers","Add multiple phone numbers to the existing list",{"text":155,"link":156,"method":76,"path":157,"description":158,"deprecated":55},"checkNumbers","\u002FReseller-API-UN\u002FReseller-API-UN-get-api-resellers-checknumbers","\u002Fapi\u002Fresellers\u002FcheckNumbers","Get detailed information about specified phone numbers in your profile and their statuses",{"text":160,"link":161,"method":146,"path":162,"description":163,"deprecated":55},"removeNumbers","\u002FReseller-API-UN\u002FReseller-API-UN-delete-api-resellers-removenumbers","\u002Fapi\u002Fresellers\u002FremoveNumbers","Remove multiple phone numbers from the existing list",{"text":165,"link":166,"method":60,"path":167,"description":168,"deprecated":55},"saveConfig","\u002FReseller-API-UN\u002FReseller-API-UN-post-api-auth-me","\u002Fapi\u002Fauth\u002Fme","Change the list of the disabled services","v2 API for partners (your server sends a list of available numbers to our\nserver)",{"text":171,"collapsed":55,"items":172,"icon":183},"Webhooks",[173,178],{"text":174,"link":175,"method":60,"path":176,"description":177,"deprecated":55},"pushSms","\u002FReseller-API-UN\u002FReseller-API-UN-post-v1-push_sms","\u002Fv1\u002FPUSH_SMS","Send SMS to Onlinesim",{"text":179,"link":180,"method":60,"path":181,"description":182,"deprecated":55},"pushSmsRent","\u002FReseller-API-UN\u002FReseller-API-UN-post-v1-push_sms_rent","\u002Fv1\u002FPUSH_SMS_RENT","Send SMS to Onlinesim for rent operation","icons\u002Fdocs\u002Fwebhook",{"text":185,"collapsed":55,"items":186,"icon":85},"Custom",[187,193,197,202],{"text":188,"link":189,"method":190,"path":80,"description":191,"icon":192},"Countries","\u002FReseller-API-UN\u002Fcustom\u002Fcountries","PAGE","List of supported country codes","icons\u002Fdocs\u002Fpage",{"text":194,"link":195,"method":190,"path":74,"description":196,"icon":192},"Services","\u002FReseller-API-UN\u002Fcustom\u002Fservices","List of supported services",{"text":198,"link":199,"method":190,"path":200,"description":201,"icon":192},"Operators","\u002FReseller-API-UN\u002Fcustom\u002Foperators","operators","List of supported operators",{"text":203,"link":204,"method":190,"path":205,"description":206,"icon":192},"Testing","\u002FReseller-API-UN\u002Fcustom\u002Ftesting","testing","Testing protocol and requirements",{"title":103,"kind":208,"locale":5,"specName":9,"path":101,"body":209,"operationKey":210,"method":211,"codeSamplesUrl":212,"description":103,"sectionsHtml":213},"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.summary\" data-type=\"input\">Finish rent operation of a virtual phone number\u003C\u002Fspan>\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cdiv data-editable data-file=\"Reseller-API-UN.yaml\" data-path=\"paths.\"\u002FfinishActivationRent\".post.description\" data-type=\"textarea\">\u003C\u002Fdiv>\n\u003Cp>This request is sent by Onlinesim server to close current rent operation\nwith a specific status (which depends on the result of operation).\u003C\u002Fp>\n\u003Cp>By default, this request is sent when the operation time expires. The\nrequest may also be sent earlier in one of the following two cases:\u003C\u002Fp>\n\u003Col>\n  \u003Cli>if an SMS from the requested service was successfully received and the\n  client closes the rental operation ahead of time;\u003C\u002Fli>\n  \u003Cli>if an SMS from the\n  requested service was not received and the operation is closed after the\n  protective interval expires (20 minutes from the moment the operation\n  was created).\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>Receiving a request with status \u003Ccode>1\u003C\u002Fcode> is a signal that the number for some reason failed to receive an SMS from the requested service within three (or more) operations. You can use this status as an indicator for the need to check the number and exclude it from issuing in the future, or ignore it.\u003C\u002Fp>\n\u003Caside class=\"my-4 rounded-lg border p-4 text-sm leading-relaxed not-prose border-blue-200 bg-blue-50 text-blue-950\" role=\"note\">\u003Cdiv class=\"openapi-callout-body [&_p:last-child]:mb-0 [&_p]:mb-2\">\u003Cp>You can either create a new endpoint for the rent only or use your\nexisting \u003Ccode>FINISH_ACTIVATION\u003C\u002Fcode> endpoint for single-service activations\n(v1).\u003C\u002Fp>\n\u003Cp>However in the latter case you need to modify it so your server could\nprocess the closing of rental operations correctly.\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\">Your server must sent successful rent operation closing response within\n10 seconds of the request. Otherwise current request will be cancelled\nand a new request will be sent.\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\">Please do not close operations on your side until you receive our\nFINISH_ACTIVATION request. Closing operations manually may lead to\nstatus desynchronization and incorrect processing of subsequent\nrequests.\u003C\u002Fdiv>\u003C\u002Faside>","Reseller-API-UN-post-finishactivationrent","post","\u002Fopenapi_docs\u002Fapi\u002Fcode\u002FReseller-API-UN\u002FReseller-API-UN-post-finishactivationrent.json",{"parameters":214,"requestBody":215,"responses":216},"\u003Csection class=\"mt-8\" data-openapi-section=\"parameters\">\u003Ch2 id=\"parameters\" class=\"mb-3 text-xl font-semibold text-gray-900\">Parameters\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\">Name\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\">Type\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\">Description\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-mono 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-mono 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-blue-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>see more \u003Ca href=\"\u002Fopenapi_docs\u002FReseller-API-UN\u002Fauth\">here\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\">Request Body\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-blue-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Request payload from Onlinesim server\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-mono 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\">Schema\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\">Required\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-blue-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Method name, in this case \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\">Enum:\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-mono 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\">Default:\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-mono 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\">Required\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-blue-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Operation ID (assigned by your server)\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\">Required\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-blue-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Status code of the operation, enum:\u003C\u002Fp>\n\u003Cp>\u003Ccode>1\u003C\u002Fcode> - Number failed to receive SMS within three (or more) rent operations. Check if there are any problems with this number, maybe it should be excluded from issuing in the future\u003C\u002Fp>\n\u003Cp>\u003Ccode>3\u003C\u002Fcode> - Successfully sold\u003C\u002Fp>\n\u003Cp>\u003Ccode>4\u003C\u002Fcode> - Cancelled, message was not delivered\u003C\u002Fp>\n\u003Cp>\u003Ccode>5\u003C\u002Fcode> - Refunded, in case of errors and message problems\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\">Enum:\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-mono text-xs text-gray-800\">1\u003C\u002Fcode>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-mono text-xs text-gray-800\">3\u003C\u002Fcode>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-mono 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\">Required\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-blue-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>API key of your Onlinesim partner's profile\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\">Required\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-blue-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Service name, in this case \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\">Enum:\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-mono 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-blue-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Total service price that includes all rental periods, in RUB\n(this sum will be credited to your Onlinesim account after\nsuccessful rental operation)\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\">Examples\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\">Responses\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-mono 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-blue-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>The response of your server for \u003Ccode>FINISH_ACTIVATION\u003C\u002Fcode> request must be\nin following format:\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-mono 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\">Schema\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-blue-600 [&_a]:no-underline hover:[&_a]:underline\">\u003Cp>Request status (\u003Ccode>SUCCESS\u003C\u002Fcode> or \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\">Enum:\u003C\u002Fspan>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-mono text-xs text-gray-800\">SUCCESS\u003C\u002Fcode>\u003Ccode class=\"rounded bg-gray-100 px-1.5 py-0.5 font-mono 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\">Examples\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":210,"method":211,"urlPath":102,"isWebhook":55,"isInboundWebhook":55,"servers":218,"availableAuthMethods":225,"oauthConfigs":226,"prepared":227,"locale":5,"specName":9,"path":101},[219],{"url":220,"description":221,"variables":222},"{yourserver}","Your server URL",{"yourserver":223},{"default":224},"https:\u002F\u002F{yourserver.com}",[],[],{"codeParams":228,"requestBody":256},{"method":211,"url":102,"baseUrl":220,"contentType":229,"params":230},"application\u002Fjson",[231,235,239,243,246,249,252],{"in":232,"name":44,"value":233,"type":233,"required":234},"header","string",true,{"in":236,"name":237,"value":238,"type":233,"required":234},"body","action","FINISH_ACTIVATION",{"in":236,"name":240,"value":241,"type":242,"required":234},"activationId",75491,"integer",{"in":236,"name":244,"value":245,"type":242,"required":234},"status",3,{"in":236,"name":247,"value":248,"type":233,"required":234},"key","apikey",{"in":236,"name":250,"value":251,"type":233,"required":234},"service","rent",{"in":236,"name":253,"value":254,"type":255,"required":55},"sum",2408,"number",{"required":55,"contentTypes":257,"activeContentType":229,"examples":258,"byContentType":262},[229],[259],{"name":260,"value":261},"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":263},{"examples":264},[265],{"name":260,"value":261},1789123199225]