vip费率中心
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查询用户vip费率等级信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/vip/getUserTier</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>参数</h5>
<p>Token</p>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: &quot;0&quot;,
&quot;msg&quot;: &quot;Success&quot;,
&quot;data&quot;: {
&quot;userTier&quot;: 0,//用户当前等级
&quot;tierName&quot;: &quot;Regular User&quot;,//用户等级名称
&quot;nextTierName&quot;: &quot;VIP 1&quot;,//下一级名称
&quot;nextPerpVol&quot;: 10000.00000000000000,//下一级合约成交额门槛
&quot;nextSpotVol&quot;: 1000.00000000000000,//下一级现货成交额门槛
&quot;userSpotTradeVol&quot;: 0,//用户当前现货成交额
&quot;userPerpTradeVol&quot;: 0,//用户当前合约成交额
&quot;userCryptoHold&quot;: 0,//用户当前持币量
&quot;symbol&quot;: &quot;BTC&quot;,//持币币种
&quot;progressPercentage&quot;: 0//当前等级到下一等级百分比
}
}</code></pre>
<h5>备注</h5>
<p>需登陆后调用</p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<hr />
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取vip费率等级列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/vip/getTierList/{tradeType}</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">说明</th>
<th>取值范围</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">tradeType</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td style="text-align: left;">交易类型:SPOT:现货交易,PERP:合约交易</td>
<td>SPOT,PERP</td>
</tr>
</tbody>
</table>
<p><strong>带token会标记等级,不带token不会标记等级</strong></p>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: &quot;0&quot;,
&quot;msg&quot;: &quot;Success&quot;,
&quot;data&quot;: [
{
&quot;tierName&quot;: &quot;Regular User&quot;,//等级名称
&quot;vipTier&quot;: 0,//等级
&quot;totalHold&quot;: 0,//持币量
&quot;holdCondition&quot;: &quot;&lt;&quot;,//持币等式
&quot;tradeVolume&quot;: 1000,//成交额
&quot;tradeCondition&quot;: &quot;&lt;&quot;,//成交额等式
&quot;makerFee&quot;: 0.1,//maker费率 百分比
&quot;takerFee&quot;: 0.1,//taker费率 百分比
&quot;positionCrypto&quot;: &quot;BTC&quot;,//持币币种
&quot;condition&quot;: &quot;or&quot;,//or and
&quot;mark&quot;: true//等级标记 为null不在当前等级
},
{
&quot;tierName&quot;: &quot;VIP 1&quot;,
&quot;vipTier&quot;: 1,
&quot;totalHold&quot;: 1,
&quot;holdCondition&quot;: &quot;≥&quot;,
&quot;tradeVolume&quot;: 1000,
&quot;tradeCondition&quot;: &quot;≥&quot;,
&quot;makerFee&quot;: 0.1,
&quot;takerFee&quot;: 0.1,
&quot;positionCrypto&quot;: &quot;BTC&quot;,
&quot;condition&quot;: &quot;and&quot;,
&quot;mark&quot;: null
},
{
&quot;tierName&quot;: &quot;VIP 2&quot;,
&quot;vipTier&quot;: 2,
&quot;totalHold&quot;: 3,
&quot;holdCondition&quot;: &quot;≥&quot;,
&quot;tradeVolume&quot;: 10000,
&quot;tradeCondition&quot;: &quot;≥&quot;,
&quot;makerFee&quot;: 0.09,
&quot;takerFee&quot;: 0.1,
&quot;positionCrypto&quot;: &quot;BTC&quot;,
&quot;condition&quot;: &quot;and&quot;,
&quot;mark&quot;: null
},
{
&quot;tierName&quot;: &quot;VIP 3&quot;,
&quot;vipTier&quot;: 3,
&quot;totalHold&quot;: 5,
&quot;holdCondition&quot;: &quot;≥&quot;,
&quot;tradeVolume&quot;: 50000,
&quot;tradeCondition&quot;: &quot;≥&quot;,
&quot;makerFee&quot;: 0.08,
&quot;takerFee&quot;: 0.1,
&quot;positionCrypto&quot;: &quot;BTC&quot;,
&quot;condition&quot;: &quot;and&quot;,
&quot;mark&quot;: null
},
{
&quot;tierName&quot;: &quot;VIP 4&quot;,
&quot;vipTier&quot;: 4,
&quot;totalHold&quot;: 1E+1,
&quot;holdCondition&quot;: &quot;≥&quot;,
&quot;tradeVolume&quot;: 100000,
&quot;tradeCondition&quot;: &quot;≥&quot;,
&quot;makerFee&quot;: 0.04,
&quot;takerFee&quot;: 0.06,
&quot;positionCrypto&quot;: &quot;BTC&quot;,
&quot;condition&quot;: &quot;and&quot;,
&quot;mark&quot;: null
},
{
&quot;tierName&quot;: &quot;VIP 5&quot;,
&quot;vipTier&quot;: 5,
&quot;totalHold&quot;: 25,
&quot;holdCondition&quot;: &quot;≥&quot;,
&quot;tradeVolume&quot;: 1000000,
&quot;tradeCondition&quot;: &quot;≥&quot;,
&quot;makerFee&quot;: 0.04,
&quot;takerFee&quot;: 0.052,
&quot;positionCrypto&quot;: &quot;BTC&quot;,
&quot;condition&quot;: &quot;and&quot;,
&quot;mark&quot;: null
},
{
&quot;tierName&quot;: &quot;VIP 6&quot;,
&quot;vipTier&quot;: 6,
&quot;totalHold&quot;: 50,
&quot;holdCondition&quot;: &quot;≥&quot;,
&quot;tradeVolume&quot;: 1000000,
&quot;tradeCondition&quot;: &quot;≥&quot;,
&quot;makerFee&quot;: 0.02,
&quot;takerFee&quot;: 0.029,
&quot;positionCrypto&quot;: &quot;BTC&quot;,
&quot;condition&quot;: &quot;and&quot;,
&quot;mark&quot;: null
},
{
&quot;tierName&quot;: &quot;VIP 7&quot;,
&quot;vipTier&quot;: 7,
&quot;totalHold&quot;: 100,
&quot;holdCondition&quot;: &quot;≥&quot;,
&quot;tradeVolume&quot;: 5000000,
&quot;tradeCondition&quot;: &quot;≥&quot;,
&quot;makerFee&quot;: 0.019,
&quot;takerFee&quot;: 0.028,
&quot;positionCrypto&quot;: &quot;BTC&quot;,
&quot;condition&quot;: &quot;and&quot;,
&quot;mark&quot;: null
}
]
}</code></pre>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>