Tariffs
get https://api.cryptomus.com/v2/user-api/account/tariffs Copy
Response
Response parameters
| Name | Parameter type | Definition |
|---|---|---|
| equivalent_currency_code | string | Code of the fiat currency in which all amounts are returned (can be changed in the LC settings) |
| current_tariff_step | object | The current tariff scale step applied to all trading operations of the user |
| daily_turnover | string | User turnover for the last 24 hours |
| monthly_turnover | string | User turnover for the last month |
| circulation_funds | string | Number of funds held (funds in orders) |
| tariff_steps | array | User tariff schedule (available steps of the user tariff schedule) |
Parameter type
stringDefinition
Code of the fiat currency in which all amounts are returned (can be changed in the LC settings)Parameter type
objectDefinition
The current tariff scale step applied to all trading operations of the user Parameter type
stringDefinition
User turnover for the last 24 hoursParameter type
stringDefinition
User turnover for the last monthParameter type
stringDefinition
Number of funds held (funds in orders)Parameter type
arrayDefinition
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 | Parameter type | Definition |
|---|---|---|
| step | string | Step number |
| from_turnover | string | The amount of monthly turnover from which this tariff begins to apply |
| maker_percent | string | Maker commission percentage |
| taker_percent | string | Taker commission percentage |
Parameter type
stringDefinition
Step numberParameter type
stringDefinition
The amount of monthly turnover from which this tariff begins to applyParameter type
stringDefinition
Maker commission percentageParameter type
stringDefinition
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