{"components":{"parameters":{"IdempotencyKey":{"description":"\u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u043f\u043e\u0432\u0442\u043e\u0440\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430.","in":"header","name":"Idempotency-Key","required":true,"schema":{"example":"code-SC-10482-group-1","type":"string"}},"RequestId":{"description":"\u0412\u0430\u0448 ID \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0434\u043b\u044f \u0441\u043a\u0432\u043e\u0437\u043d\u043e\u0439 \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438.","in":"header","name":"X-Request-ID","required":false,"schema":{"example":"sc-10482-create","maxLength":80,"type":"string"}}},"responses":{"BadRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430."},"RateLimited":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d \u043b\u0438\u043c\u0438\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0438\u043b\u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u044b\u0445 \u043a\u043e\u0434\u043e\u0432.","headers":{"Retry-After":{"description":"\u0421\u0435\u043a\u0443\u043d\u0434\u044b \u0434\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u0430 \u043e\u0431\u0449\u0435\u0433\u043e \u043b\u0438\u043c\u0438\u0442\u0430.","schema":{"type":"integer"}}}},"Unauthorized":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u041a\u043b\u044e\u0447 \u043d\u0435\u0432\u0435\u0440\u0435\u043d, \u043e\u0442\u043a\u043b\u044e\u0447\u0451\u043d \u0438\u043b\u0438 IP \u043d\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d."},"Unavailable":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u0412\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u0441 \u0442\u0435\u043c\u0438 \u0436\u0435 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430\u043c\u0438."}},"schemas":{"Application":{"properties":{"id":{"example":"app_example","type":"string"},"name":{"example":"\u0412\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u0435","type":"string"}},"required":["id","name"],"type":"object"},"ApplicationLinks":{"properties":{"main":{"description":"\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.","format":"uri","type":"string"},"reserve":{"description":"\u0420\u0435\u0437\u0435\u0440\u0432\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.","format":"uri","type":"string"}},"required":["main","reserve"],"type":"object"},"ApplicationRequest":{"properties":{"catalog_id":{"description":"\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u0435\u043d \u0432 manual; \u0432 auto \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043a\u0430\u043a \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0435.","type":"string"},"id":{"description":"ID \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u0437 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430.","type":"string"}},"required":["id"],"type":"object"},"Balance":{"properties":{"advance_kopecks":{"type":"integer"},"charges_kopecks":{"type":"integer"},"currency":{"const":"RUB","type":"string"},"debt_kopecks":{"type":"integer"},"payments_kopecks":{"type":"integer"},"reversals_kopecks":{"type":"integer"}},"type":"object"},"Billing":{"properties":{"amount_kopecks":{"minimum":0,"type":"integer"},"charged":{"description":"\u0421\u043e\u0437\u0434\u0430\u043d\u043e \u043b\u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435.","type":"boolean"},"would_charge_kopecks":{"description":"\u0420\u0430\u0441\u0447\u0451\u0442\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0432 sandbox.","minimum":0,"type":"integer"}},"required":["charged","amount_kopecks","would_charge_kopecks"],"type":"object"},"Catalog":{"properties":{"applications_count":{"example":18,"minimum":0,"type":"integer"},"id":{"example":"cat_example","type":"string"},"name":{"example":"maxim","type":"string"}},"required":["id","name","applications_count"],"type":"object"},"CatalogBrief":{"properties":{"id":{"example":"cat_example","type":"string"},"name":{"example":"maxim","type":"string"}},"required":["id","name"],"type":"object"},"CodeWait":{"properties":{"active_at":{"type":["integer","null"]},"code":{"pattern":"^[0-9]{6}$","type":["string","null"]},"deadline_at":{"type":["integer","null"]},"id":{"example":"wait_example","type":"string"},"order_expires_at":{"description":"\u0410\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0440\u043e\u043a \u0437\u0430\u044f\u0432\u043a\u0438 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f. \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0435\u0433\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0442\u0430\u0440\u043e\u0433\u043e expires_at.","type":["integer","null"]},"started_at":{"type":"integer"},"status":{"enum":["active","succeeded","code_expired","timed_out","cancelled"],"type":"string"},"valid_for_seconds":{"maximum":60,"minimum":0,"type":"integer"}},"required":["id","status","started_at"],"type":"object"},"CodeWaitRequest":{"properties":{"group_id":{"example":"grp_example","type":"string"}},"required":["group_id"],"type":"object"},"CreateOrderRequest":{"properties":{"applications":{"items":{"$ref":"#/components/schemas/ApplicationRequest"},"maxItems":50,"minItems":1,"type":"array"},"external_order_id":{"description":"\u0423\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0437\u0430\u043a\u0430\u0437\u0430 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043f\u0430\u0440\u0442\u043d\u0451\u0440\u0430.","maxLength":160,"minLength":1,"type":"string"},"source_mode":{"default":"auto","enum":["auto","manual"],"type":"string"}},"required":["external_order_id","applications"],"type":"object"},"Credentials":{"properties":{"expires_at":{"type":"integer"},"groups":{"items":{"$ref":"#/components/schemas/CredentialsGroup"},"type":"array"},"order_id":{"type":"string"},"storage_policy":{"type":"string"}},"required":["order_id","expires_at","storage_policy","groups"],"type":"object"},"CredentialsGroup":{"properties":{"catalog":{"type":"string"},"id":{"type":"string"},"login":{"type":"string"},"password":{"type":"string"}},"required":["id","catalog","login","password"],"type":"object"},"Error":{"properties":{"code":{"example":"validation_error","type":"string"},"details":{"additionalProperties":true,"type":"object"},"message":{"example":"external_order_id \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u0435\u043d","type":"string"}},"required":["code","message"],"type":"object"},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/Error"},"ok":{"const":false,"type":"boolean"},"request_id":{"example":"req_0123456789abcdef","type":"string"}},"required":["ok","error","request_id"],"type":"object"},"LedgerEntry":{"properties":{"amount_kopecks":{"type":"integer"},"created_at":{"type":"integer"},"external_order_id":{"type":"string"},"id":{"type":"integer"},"kind":{"type":"string"},"note":{"type":"string"},"reference":{"type":"string"}},"type":"object"},"Order":{"properties":{"billing":{"$ref":"#/components/schemas/Billing"},"can_extend":{"type":"boolean"},"code_window_started_at":{"description":"Unix-\u0432\u0440\u0435\u043c\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430; null, \u043f\u043e\u043a\u0430 \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u044d\u0442\u0430\u043f \u043d\u0435 \u043d\u0430\u0447\u0430\u043b\u0441\u044f.","type":["integer","null"]},"code_window_ttl_seconds":{"description":"\u0421\u0440\u043e\u043a \u0432\u0441\u0435\u0439 \u0437\u0430\u044f\u0432\u043a\u0438 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430.","minimum":60,"type":"integer"},"created_at":{"description":"Unix-\u0432\u0440\u0435\u043c\u044f.","type":"integer"},"expires_at":{"description":"\u0410\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 Unix-\u0432\u0440\u0435\u043c\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0437\u0430\u044f\u0432\u043a\u0438. \u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u043c\u043e\u0436\u0435\u0442 \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c\u0441\u044f.","type":"integer"},"extended_at":{"type":["integer","null"]},"external_order_id":{"example":"SC-10482","type":"string"},"fallback_url":{"description":"\u0413\u043e\u0442\u043e\u0432\u0430\u044f \u043d\u0435\u0439\u0442\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430.","format":"uri","type":"string"},"groups":{"items":{"$ref":"#/components/schemas/OrderGroup"},"type":"array"},"id":{"example":"ord_example","type":"string"},"initial_ttl_seconds":{"description":"\u041d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0441\u0440\u043e\u043a \u0437\u0430\u044f\u0432\u043a\u0438 \u0434\u043e \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430.","minimum":300,"type":"integer"},"qr_url":{"format":"uri","type":"string"},"sandbox":{"type":"boolean"},"source_mode":{"enum":["auto","manual"],"type":"string"},"status":{"enum":["active","completed","expired"],"type":"string"}},"required":["id","external_order_id","status","source_mode","sandbox","created_at","expires_at","initial_ttl_seconds","code_window_ttl_seconds","code_window_started_at","can_extend","groups","fallback_url","qr_url","billing"],"type":"object"},"OrderApplication":{"allOf":[{"$ref":"#/components/schemas/Application"},{"properties":{"links":{"$ref":"#/components/schemas/ApplicationLinks"}},"required":["links"],"type":"object"}]},"OrderGroup":{"properties":{"applications":{"items":{"$ref":"#/components/schemas/OrderApplication"},"type":"array"},"catalog":{"example":"maxim","type":"string"},"id":{"example":"grp_example","type":"string"},"status":{"enum":["waiting_for_code","code_received"],"type":"string"},"successful_codes":{"maximum":3,"minimum":0,"type":"integer"},"successful_codes_limit":{"const":3,"type":"integer"}},"required":["id","catalog","status","successful_codes","successful_codes_limit","applications"],"type":"object"}},"securitySchemes":{"bearerAuth":{"bearerFormat":"API key","description":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 API-\u043a\u043b\u044e\u0447 \u043f\u0430\u0440\u0442\u043d\u0451\u0440\u0430. \u041f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0440\u0432\u0435\u0440-\u0441\u0435\u0440\u0432\u0435\u0440.","scheme":"bearer","type":"http"}}},"info":{"description":"API \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u043e\u0433\u043e \u0446\u0435\u043d\u0442\u0440\u0430: \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0438 \u0440\u0435\u043a\u0432\u0438\u0437\u0438\u0442\u044b, \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u0441\u0432\u0435\u0436\u0435\u0433\u043e \u043a\u043e\u0434\u0430 \u0438 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u0430\u044f \u0441\u0432\u0435\u0440\u043a\u0430. \u0412\u0441\u0435 \u0434\u0435\u043d\u0435\u0436\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u043a\u043e\u043f\u0435\u0439\u043a\u0430\u0445. \u0420\u0435\u043a\u0432\u0438\u0437\u0438\u0442\u044b \u0438 \u043a\u043e\u0434\u044b \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0437\u0430\u044f\u0432\u043a\u0438.","title":"Install-IOS Partner API","version":"1.1.0"},"openapi":"3.1.0","paths":{"/balance":{"get":{"operationId":"getBalance","parameters":[{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Balance"}}},"description":"\u0424\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u0439 \u0438\u0442\u043e\u0433."},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u043b\u0433 \u0438 \u0430\u0432\u0430\u043d\u0441","tags":["\u0424\u0438\u043d\u0430\u043d\u0441\u044b"]}},"/catalogs":{"get":{"operationId":"listCatalogs","parameters":[{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"catalogs":{"items":{"$ref":"#/components/schemas/Catalog"},"type":"array"}},"type":"object"},"ok":{"type":"boolean"},"request_id":{"type":"string"}},"type":"object"}}},"description":"\u041a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u043f\u0430\u0440\u0442\u043d\u0451\u0440\u0430."},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438","tags":["\u041a\u0430\u0442\u0430\u043b\u043e\u0433\u0438"]}},"/catalogs/{catalog_id}/applications":{"get":{"operationId":"listApplications","parameters":[{"in":"path","name":"catalog_id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"applications":{"items":{"$ref":"#/components/schemas/Application"},"type":"array"},"catalog":{"$ref":"#/components/schemas/CatalogBrief"}},"type":"object"},"ok":{"type":"boolean"},"request_id":{"type":"string"}},"type":"object"}}},"description":"\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430","tags":["\u041a\u0430\u0442\u0430\u043b\u043e\u0433\u0438"]}},"/code-waits/{wait_id}":{"get":{"operationId":"getCodeWait","parameters":[{"description":"ID \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u0438\u0437 POST /orders/{order_id}/code-waits.","in":"path","name":"wait_id","required":true,"schema":{"example":"wait_example","type":"string"}},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeWait"}}},"description":"\u0422\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0432\u0435\u0436\u0438\u0439 \u043a\u043e\u0434","tags":["\u041a\u043e\u0434\u044b"]}},"/health":{"get":{"operationId":"getHealth","responses":{"200":{"content":{"application/json":{"example":{"data":{"database":"ok","status":"ok","version":"1.1"},"ok":true,"request_id":"req_example"},"schema":{"type":"object"}}},"description":"API \u0438 \u0431\u0430\u0437\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b."},"503":{"$ref":"#/components/responses/Unavailable"}},"security":[],"summary":"\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c API","tags":["\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435"]}},"/ledger":{"get":{"operationId":"getLedger","parameters":[{"in":"query","name":"limit","schema":{"default":500,"type":"integer"}},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/LedgerEntry"},"type":"array"}},"type":"object"},"ok":{"type":"boolean"}},"type":"object"}}},"description":"\u041d\u0430\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f, \u043e\u0442\u043c\u0435\u043d\u044b \u0438 \u043f\u043b\u0430\u0442\u0435\u0436\u0438."},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u0439 \u0436\u0443\u0440\u043d\u0430\u043b","tags":["\u0424\u0438\u043d\u0430\u043d\u0441\u044b"]}},"/ledger.csv":{"get":{"operationId":"downloadLedgerCsv","parameters":[{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"text/csv":{"schema":{"contentMediaType":"text/csv","type":"string"}}},"description":"CSV \u0432 UTF-8 \u0441 BOM."},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b CSV","tags":["\u0424\u0438\u043d\u0430\u043d\u0441\u044b"]}},"/orders":{"get":{"operationId":"listOrders","parameters":[{"in":"query","name":"limit","schema":{"default":100,"maximum":1000,"minimum":1,"type":"integer"}},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u044f\u0432\u043e\u043a."},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0437\u0430\u044f\u0432\u043a\u0438","tags":["\u0417\u0430\u044f\u0432\u043a\u0438"]},"post":{"description":"\u041f\u043e\u0432\u0442\u043e\u0440 \u0441 \u0442\u0435\u043c \u0436\u0435 external_order_id \u0432\u0435\u0440\u043d\u0451\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0437\u0430\u044f\u0432\u043a\u0443 \u0431\u0435\u0437 \u0434\u0443\u0431\u043b\u044f. \u041e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435\u0441\u044c \u043d\u0430 expires_at: \u043f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u0440\u043e\u043a \u0432\u0441\u0435\u0439 \u0437\u0430\u044f\u0432\u043a\u0438 \u0438 \u0432\u0441\u0435\u0445 \u0435\u0451 \u0441\u0441\u044b\u043b\u043e\u043a \u0434\u043e code_window_ttl_seconds.","operationId":"createOrder","parameters":[{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"content":{"application/json":{"example":{"applications":[{"id":"app_example"}],"external_order_id":"SC-10482","source_mode":"auto"},"schema":{"$ref":"#/components/schemas/CreateOrderRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0430\u044f \u0437\u0430\u044f\u0432\u043a\u0430 \u043f\u0440\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u0435."},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"\u041d\u043e\u0432\u0430\u044f \u0437\u0430\u044f\u0432\u043a\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0430."},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0438\u0434\u0435\u043c\u043f\u043e\u0442\u0435\u043d\u0442\u043d\u0443\u044e \u0437\u0430\u044f\u0432\u043a\u0443 \u043d\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0441\u0440\u043e\u043a","tags":["\u0417\u0430\u044f\u0432\u043a\u0438"]}},"/orders/{order_id}":{"get":{"operationId":"getOrder","parameters":[{"description":"\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 ID \u0437\u0430\u044f\u0432\u043a\u0438 \u0438\u0437 POST /orders.","in":"path","name":"order_id","required":true,"schema":{"example":"ord_example","type":"string"}},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"\u041f\u043e\u043b\u043d\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0437\u0430\u044f\u0432\u043a\u0438."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u0417\u0430\u044f\u0432\u043a\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0437\u0430\u044f\u0432\u043a\u0438","tags":["\u0417\u0430\u044f\u0432\u043a\u0438"]}},"/orders/{order_id}/code-waits":{"post":{"description":"\u041f\u0435\u0440\u0432\u044b\u0439 \u0443\u0441\u043f\u0435\u0448\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u0440\u043e\u043a \u0432\u0441\u0435\u0439 \u0437\u0430\u044f\u0432\u043a\u0438 \u0438 \u0432\u0441\u0435\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u0447\u043d\u044b\u0445 \u0441\u0441\u044b\u043b\u043e\u043a. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 order_expires_at \u0438\u0437 \u043e\u0442\u0432\u0435\u0442\u0430; \u043f\u043e\u0432\u0442\u043e\u0440\u044b \u0441 \u0442\u0435\u043c \u0436\u0435 Idempotency-Key \u0441\u0440\u043e\u043a \u043d\u0435 \u043f\u0440\u043e\u0434\u043b\u0435\u0432\u0430\u044e\u0442.","operationId":"startCodeWait","parameters":[{"description":"\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 ID \u0437\u0430\u044f\u0432\u043a\u0438 \u0438\u0437 POST /orders.","in":"path","name":"order_id","required":true,"schema":{"example":"ord_example","type":"string"}},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/RequestId"}],"requestBody":{"content":{"application/json":{"example":{"group_id":"grp_example"},"schema":{"$ref":"#/components/schemas/CodeWaitRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeWait"}}},"description":"\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u0435."},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeWait"}}},"description":"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u0417\u0430\u044f\u0432\u043a\u0430 \u0438\u043b\u0438 \u0433\u0440\u0443\u043f\u043f\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u0443\u0435\u0442 \u0441 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u043c \u0437\u0430\u044f\u0432\u043a\u0438."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u0434\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043a\u043e\u0434\u0430 \u043d\u0430 iPhone","tags":["\u041a\u043e\u0434\u044b"]}},"/orders/{order_id}/credentials":{"get":{"description":"\u0417\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043e \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0427\u0442\u0435\u043d\u0438\u0435 \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 \u0430\u0443\u0434\u0438\u0442\u0435.","operationId":"getOrderCredentials","parameters":[{"description":"\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 ID \u0437\u0430\u044f\u0432\u043a\u0438 \u0438\u0437 POST /orders.","in":"path","name":"order_id","required":true,"schema":{"example":"ord_example","type":"string"}},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credentials"}}},"description":"\u0420\u0435\u043a\u0432\u0438\u0437\u0438\u0442\u044b \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u0437\u0430\u044f\u0432\u043a\u0438."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u0417\u0430\u044f\u0432\u043a\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430."},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u0417\u0430\u044f\u0432\u043a\u0430 \u0438\u0441\u0442\u0435\u043a\u043b\u0430."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043b\u043e\u0433\u0438\u043d\u044b \u0438 \u043f\u0430\u0440\u043e\u043b\u0438","tags":["\u0417\u0430\u044f\u0432\u043a\u0438"]}},"/orders/{order_id}/extend":{"post":{"description":"\u041d\u043e\u0432\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0440\u043e\u043a; \u0441\u0442\u0430\u0440\u044b\u0435 \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f.","operationId":"extendOrder","parameters":[{"description":"\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 ID \u0437\u0430\u044f\u0432\u043a\u0438 \u0438\u0437 POST /orders.","in":"path","name":"order_id","required":true,"schema":{"example":"ord_example","type":"string"}},{"$ref":"#/components/parameters/RequestId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}},"description":"\u041d\u043e\u0432\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0438 \u0441\u0440\u043e\u043a \u0437\u0430\u044f\u0432\u043a\u0438."},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u0417\u0430\u044f\u0432\u043a\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"\u041f\u0440\u043e\u0434\u043b\u0435\u043d\u0438\u0435 \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u0438\u043b\u0438 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u0443\u0435\u0442."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"\u041e\u0434\u0438\u043d \u0440\u0430\u0437 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u0438 \u043f\u0440\u043e\u0434\u043b\u0438\u0442\u044c \u0437\u0430\u044f\u0432\u043a\u0443","tags":["\u0417\u0430\u044f\u0432\u043a\u0438"]}}},"security":[{"bearerAuth":[]}],"servers":[{"description":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441","url":"https://api.installios.ru/v1"},{"description":"\u0420\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438","url":"https://installios.ru/api/partner/v1"}],"tags":[{"description":"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c API.","name":"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435"},{"description":"\u0420\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0442\u043d\u0451\u0440\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.","name":"\u041a\u0430\u0442\u0430\u043b\u043e\u0433\u0438"},{"description":"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.","name":"\u0417\u0430\u044f\u0432\u043a\u0438"},{"description":"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u0441\u0432\u0435\u0436\u0435\u0433\u043e \u0448\u0435\u0441\u0442\u0438\u0437\u043d\u0430\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.","name":"\u041a\u043e\u0434\u044b"},{"description":"\u0414\u043e\u043b\u0433, \u0430\u0432\u0430\u043d\u0441 \u0438 \u0436\u0443\u0440\u043d\u0430\u043b \u043d\u0430\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439.","name":"\u0424\u0438\u043d\u0430\u043d\u0441\u044b"}]}
