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

Курсы и комиссии

Курсы обмена и комиссии.

Запрос

POST /v2/rates
POST /v2/rates HTTP/1.1
Content-Type: application/json
Accept: application/json; charset=utf-8
Api-key: {publicApiKey}
Signature: {signature}
{}
Примечание

Используйте пустой объект {} в запросе и создавайте цифровую подпись к нему.

Ответ

Ответ будет содержать набор объектов, сгрупированный по типу ордера и структурированный следующим образом:

RESPONSE
HTTP/1.1 200 OK
Content-Type: application/json

{
"status": "success",
"data": {
"deposit": {
"btc_btc": {
"order_type": "deposit",
"currency_from": "btc",
"network_from": "btc",
"currency_to": "btc",
"network_to": null,
"exchange_rate": null,
"min_amount_from": "0.002",
"max_amount_from": "1000000",
"fixed_fee_amount_from": "0.0005",
"fixed_fee_amount_to": null,
"fee_percent_from": null,
"min_fee_amount_from": null,
"fee_percent_to": null,
"min_fee_amount_to": null,
"fee_percent_from_payer": "merchant",
"fee_percent_to_payer": null,
"currency_from_precision": 8,
"currency_to_precision": 8
},
"usdt_trc20": {
"order_type": "deposit",
"currency_from": "usdt",
"network_from": "trc20",
"currency_to": "usdt",
"network_to": null,
"exchange_rate": null,
"min_amount_from": "2",
"max_amount_from": "1000000",
"fixed_fee_amount_from": null,
"fixed_fee_amount_to": null,
"fee_percent_from": null,
"min_fee_amount_from": null,
"fee_percent_to": null,
"min_fee_amount_to": null,
"fee_percent_from_payer": "merchant",
"fee_percent_to_payer": null,
"currency_from_precision": 2,
"currency_to_precision": 2
}
},
"deposit_exchange": {
"eth_erc20-usdt": {
"order_type": "deposit_exchange",
"currency_from": "eth",
"network_from": "erc20",
"currency_to": "usdt",
"network_to": null,
"exchange_rate": "2441.63659",
"min_amount_from": "0.02",
"max_amount_from": "10000000",
"fixed_fee_amount_from": "0.002",
"fixed_fee_amount_to": null,
"fee_percent_from": null,
"min_fee_amount_from": null,
"fee_percent_to": null,
"min_fee_amount_to": null,
"fee_percent_from_payer": "merchant",
"fee_percent_to_payer": null,
"currency_from_precision": 8,
"currency_to_precision": 2
}
},
"deposit_exchange_withdraw": {
"btc_btc-usdt_trc20": {
"order_type": "deposit_exchange_withdraw",
"currency_from": "btc",
"network_from": "btc",
"currency_to": "usdt",
"network_to": "trc20",
"exchange_rate": "106825.0717",
"min_amount_from": "0.002",
"max_amount_from": "0.00458734",
"fixed_fee_amount_from": "0.0005",
"fixed_fee_amount_to": "3",
"fee_percent_from": null,
"min_fee_amount_from": null,
"fee_percent_to": null,
"min_fee_amount_to": null,
"fee_percent_from_payer": "merchant",
"fee_percent_to_payer": "client",
"currency_from_precision": 8,
"currency_to_precision": 2
}
},
"exchange": {
"eth-usdt": {
"order_type": "exchange",
"currency_from": "eth",
"network_from": null,
"currency_to": "usdt",
"network_to": null,
"exchange_rate": "2441.63659",
"min_amount_from": "0.00409562",
"max_amount_from": null,
"fixed_fee_amount_from": null,
"fixed_fee_amount_to": null,
"fee_percent_from": null,
"min_fee_amount_from": null,
"fee_percent_to": null,
"min_fee_amount_to": null,
"fee_percent_from_payer": null,
"fee_percent_to_payer": null,
"currency_from_precision": 8,
"currency_to_precision": 2
},
"usdt-eth": {
"order_type": "exchange",
"currency_from": "usdt",
"network_from": null,
"currency_to": "eth",
"network_to": null,
"exchange_rate": "0.0004030504",
"min_amount_from": "10",
"max_amount_from": null,
"fixed_fee_amount_from": null,
"fixed_fee_amount_to": null,
"fee_percent_from": null,
"min_fee_amount_from": null,
"fee_percent_to": null,
"min_fee_amount_to": null,
"fee_percent_from_payer": null,
"fee_percent_to_payer": null,
"currency_from_precision": 2,
"currency_to_precision": 8
}
},
"exchange_withdraw": {
"bch-usdt_trc20": {
"order_type": "exchange_withdraw",
"currency_from": "bch",
"network_from": null,
"currency_to": "usdt",
"network_to": "trc20",
"exchange_rate": "521.96853",
"min_amount_from": "0.01533",
"max_amount_from": "1915.82432",
"fixed_fee_amount_from": null,
"fixed_fee_amount_to": "3",
"fee_percent_from": null,
"min_fee_amount_from": null,
"fee_percent_to": null,
"min_fee_amount_to": null,
"fee_percent_from_payer": null,
"fee_percent_to_payer": "client",
"currency_from_precision": 5,
"currency_to_precision": 2
}
},
"withdraw": {
"usdt_trc20": {
"order_type": "withdraw",
"currency_from": "usdt",
"network_from": null,
"currency_to": "usdt",
"network_to": "trc20",
"exchange_rate": null,
"min_amount_from": "8",
"max_amount_from": "6240561",
"fixed_fee_amount_from": null,
"fixed_fee_amount_to": "3",
"fee_percent_from": null,
"min_fee_amount_from": null,
"fee_percent_to": null,
"min_fee_amount_to": null,
"fee_percent_from_payer": null,
"fee_percent_to_payer": "client",
"currency_from_precision": 2,
"currency_to_precision": 2
}
}
}
}

Описание параметров в ответе:

  • order_type – Тип ордера, см. Ордера
  • currency_fromВалюта депозита или обмена
  • network_fromСеть осуществления депозита
  • currency_to – Валюта выплаты или в которую происходит обмен депозита
  • network_to – Сеть выплаты
  • exchange_rate – Курс обмена
  • fixed_fee_amount_from – Фиксированная сумма комиссии в валюте депозита
  • fixed_fee_amount_to – Фиксированная сумма комиссии в валюте выплаты
  • fee_percent_from – Комиссия в процентах от суммы депозита
  • fee_percent_to – Комиссия в процентах от суммы выплаты
  • min_fee_amount_from – Минимальная сумма комиссии от суммы депозита
  • min_fee_amount_to – Минимальная сумма комиссии от суммы выплаты
  • min_amount_from – Минимальная сумма депозита или обмена
  • max_amount_from – Максимальная сумма депозита или обмена
  • currency_from_precision – Точность валюты депозита или обмена, количество знаков после запятой
  • currency_to_precision – Точность валюты выплаты, количество знаков после запятой
  • fee_percent_from_payer – Кто платит комиссию от суммы депозита: merchant или client (null если первым идет процесс обмена)
  • fee_percent_to_payer – Кто платит комиссию от суммы выплаты: merchant или client (null если последним идет процесс обмена). Merchant означает, что комиссия удерживается отдельно с баланса мерчанта