{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Курс USDT/RUB","description":"Крипто-платежи для бизнеса. Принимайте USDT, платите через СБП QR. AML-проверки включены.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"курс-usdtrub","__idx":0},"children":["Курс USDT/RUB"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Live-курс, по которому рассчитываются котировки QR-ордеров."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"endpoint","__idx":1},"children":["Endpoint"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /rates/current\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"пример","__idx":2},"children":["Пример"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl 'https://b2b.lumowallet.io/rates/current' \\\n  -H 'X-API-Key: YOUR_API_KEY'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ответ","__idx":3},"children":["Ответ"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"rate\": 91.575,\n  \"effectiveRate\": 91.575,\n  \"baseRate\": 92.5,\n  \"offsetBps\": -100,\n  \"minAmountRub\": 0,\n  \"maxAmountRub\": 1000000,\n  \"pair\": \"USDT/RUB\",\n  \"timestamp\": \"2026-05-01T12:34:56Z\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"поля","__idx":4},"children":["Поля"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Поле"},"children":["Поле"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Описание"},"children":["Описание"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Итоговый курс RUB/USDT с учётом комиссии вашей компании. Именно этот курс будет применён в ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/orders/prepare"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["effectiveRate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Дубликат ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rate"]}," для явности"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["baseRate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Сырой курс Rapira (USDT/RUB ask) без комиссии"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offsetBps"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ваша комиссия в basis points. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-100"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-1%"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," = курс без комиссии"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["minAmountRub"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Минимальная сумма QR-ордера (в рублях), допускаемая ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/orders/prepare"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxAmountRub"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Максимальная сумма QR-ордера"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pair"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Всегда ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USDT/RUB"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["timestamp"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Время ответа сервера (ISO 8601)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"как-считается-комиссия","__idx":5},"children":["Как считается комиссия"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"effectiveRate = baseRate × (1 + offsetBps / 10000)\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Пример: при ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["baseRate = 92.5"]}," и ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offsetBps = -100"]}," (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-1%"]},"):"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["92.5 × 0.99 = 91.575"]},". Это значит, что за 1 USDT компания «получит»"," ","91.575 ₽ — разница в 0.925 ₽ — наша комиссия."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"частота-обновления","__idx":6},"children":["Частота обновления"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Курс на бэкенде синхронизируется с Rapira ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["раз в 15 секунд"]},". Внутри"," ","этого окна ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["baseRate"]}," будет одинаковым для всех вызовов."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"зачем-это-нужно","__idx":7},"children":["Зачем это нужно"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Показать актуальный курс пользователю до сканирования QR."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Предсчитать сумму USDT для произвольной RUB-суммы (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amountUsdt = amountRub / rate"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Проверить лимиты ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["min/max"]}," до отправки QR."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Сама котировка с фиксированным курсом создаётся в"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/orders/prepare-order"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /orders/prepare"]}]}," — TTL 30 секунд."]}]},"headings":[{"value":"Курс USDT/RUB","id":"курс-usdtrub","depth":1},{"value":"Endpoint","id":"endpoint","depth":2},{"value":"Пример","id":"пример","depth":2},{"value":"Ответ","id":"ответ","depth":2},{"value":"Поля","id":"поля","depth":2},{"value":"Как считается комиссия","id":"как-считается-комиссия","depth":2},{"value":"Частота обновления","id":"частота-обновления","depth":2},{"value":"Зачем это нужно","id":"зачем-это-нужно","depth":2}],"frontmatter":{"seo":{"title":"Курс USDT/RUB"}},"lastModified":"2026-05-01T14:34:14.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/orders/rates","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}