關稅

get https://api.cryptomus.com/v2/user-api/account/tariffs 複製

回覆

響應參數

姓名參數類型定義
equivalent_currency_codestring所有金額返還的法定貨幣代碼(可在信用證設定中更改)
current_tariff_stepobject當前資費等級步驟適用於使用者的所有交易操作
daily_turnoverstring過去 24 小時的用戶流量
monthly_turnoverstring上個月的用戶流動率
circulation_fundsstring持有基金數(訂單基金)
tariff_stepsarray用戶資費表(用戶資費表的可用步驟)

參數類型

string

定義

所有金額返還的法定貨幣代碼(可在信用證設定中更改)

參數類型

object

定義

當前資費等級步驟適用於使用者的所有交易操作

參數類型

string

定義

過去 24 小時的用戶流量

參數類型

string

定義

上個月的用戶流動率

參數類型

string

定義

持有基金數(訂單基金)

參數類型

array

定義

用戶資費表(用戶資費表的可用步驟)

回應範例


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}
複製

資費階躍響應參數

姓名參數類型定義
stepstring步驟數
from_turnoverstring此關稅開始適用的月營業額
maker_percentstring掛單佣金比例
taker_percentstring接受者佣金百分比

參數類型

string

定義

步驟數

參數類型

string

定義

此關稅開始適用的月營業額

參數類型

string

定義

掛單佣金比例

參數類型

string

定義

接受者佣金百分比

可能的程式碼

404:未找到使用者或資源

422:無效的輸入數據

500:內部伺服器錯誤

可能的錯誤

範例回覆:


1{
2  "state": 0,
3  "message": "Standard validation error"
4}
複製