Tariffs
get
https://api.cryptomus.com/v2/user-api/account/tariffs
Response
Response parameters
Name | Definition |
---|---|
equivalent_currency_code | Code of the fiat currency in which all amounts are returned (can be changed in the LC settings) |
current_tariff_step | The current tariff scale step applied to all trading operations of the user |
daily_turnover | User turnover for the last 24 hours |
monthly_turnover | User turnover for the last month |
circulation_funds | Number of funds held (funds in orders) |
tariff_steps | User tariff schedule (available steps of the user tariff schedule) |
Definition
Code of the fiat currency in which all amounts are returned (can be changed in the LC settings)Definition
The current tariff scale step applied to all trading operations of the user Definition
User turnover for the last 24 hoursDefinition
User turnover for the last monthDefinition
Number of funds held (funds in orders)Definition
User tariff schedule (available steps of the user tariff schedule)
Response example
1{
2 "result": {
3 "equivalent_currency_code": "USD",
4 "current_tariff_step": {
5 "step": "0",
6 "from_turnover": "0.00000000",
7 "maker_percent": "-1.5",
8 "taker_percent": "4"
9 },
10 "tariff_steps": [
11 {
12 "step": "0",
13 "from_turnover": "0.00000000",
14 "maker_percent": "-1.5",
15 "taker_percent": "4"
16 },
17 {
18 "step": "1",
19 "from_turnover": "1100.00000000",
20 "maker_percent": "-2.5",
21 "taker_percent": "2.5"
22 },
23 {
24 "step": "2",
25 "from_turnover": "3500.00000000",
26 "maker_percent": "-10",
27 "taker_percent": "10"
28 }
29 ],
30 "daily_turnover": "137.80000000",
31 "monthly_turnover": "442.67492000",
32 "circulation_funds": "25.00000000"
33 }
34}
COPYTariff step response parameters
Name | Definition |
---|---|
step | Step number |
from_turnover | The amount of monthly turnover from which this tariff begins to apply |
maker_percent | Maker commission percentage |
taker_percent | Taker commission percentage |
Definition
Step numberDefinition
The amount of monthly turnover from which this tariff begins to applyDefinition
Maker commission percentageDefinition
Taker commission percentage
Possible codes
404: User or resource not found
422: Invalid input data
500: Internal server error
Possible errors
Example responses:
1{
2 "state": 0,
3 "message": "Standard validation error"
4}
COPY