Перейти к содержимому

Current USDT/RUB rate (with company commission)

Запрос

Returns the live rate used to price QR orders. The base rate is sourced from Rapira and refreshed every ~15 sec; effectiveRate applies the company's qrRateOffsetBps (basis points). Both rate and effectiveRate already include the commission — they are the value the next /orders/prepare will use.

Also returns the configured minAmountRub / maxAmountRub bounds enforced when preparing an order.

Безопасность
apiKeyAuth
curl -i -X GET \
  https://b2b-app.lumowallet.io/_mock/apis/rates/current \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Ответы

Current rate

Телоapplication/json
ratenumberобязательный

Final RUB/USDT rate applied to this company's QR orders (base × (1 + offsetBps/10000)). Same value as effectiveRate.

Пример:91.575
effectiveRatenumberобязательный

Alias for rate

Пример:91.575
baseRatenumberобязательный

Raw Rapira USDT/RUB ask price

Пример:92.5
offsetBpsintegerобязательный

Per-company commission in basis points. Negative values reduce the rate (= our commission). 0 = no commission.

Пример:-100
minAmountRubnumberобязательный

Minimum RUB amount accepted by /orders/prepare

Пример:0
maxAmountRubnumberобязательный

Maximum RUB amount accepted by /orders/prepare

Пример:1000000
pairstringобязательный
Пример:"USDT/RUB"
timestampstring, (date-time)обязательный
Response
{ "rate": 91.575, "effectiveRate": 91.575, "baseRate": 92.5, "offsetBps": -100, "minAmountRub": 0, "maxAmountRub": 1000000, "pair": "USDT/RUB", "timestamp": "2019-08-24T14:15:22Z" }