Перейти до основного вмісту

Курси та комісії

Курси обміну та комісії.

Запит

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 означає, що комісія утримується окремо з балансу мерчанта