查询账户余额
<h5>接口地址</h5>
<ul>
<li><code>http://dxtmt.dxtjt.com/api/v1/mt/QueryBalance</code></li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>Service</td>
<td>是</td>
<td>string</td>
<td>下单命令(签名)</td>
<td>QueryBalance 查询账户余额固定值</td>
</tr>
<tr>
<td>UserId</td>
<td>是</td>
<td>string</td>
<td>帐号 ID(签名)</td>
<td>注意不是登陆名</td>
</tr>
<tr>
<td>BizType</td>
<td>是</td>
<td>string</td>
<td>业务类型(签名)</td>
<td>固定填写: ECARD</td>
</tr>
<tr>
<td>Time</td>
<td>是</td>
<td>string</td>
<td>时间戳(签名)</td>
<td>1970-1-1 ( UTC) 到现在的总秒数 10位</td>
</tr>
<tr>
<td>Sign</td>
<td>是</td>
<td>string</td>
<td>签名值</td>
<td>参见签名算法</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;UserId&quot;: &quot;test&quot;,
&quot;Service&quot;: &quot;QueryBalance&quot;,
&quot;BizType&quot;: &quot;ECARD&quot;,
&quot;Time&quot;: &quot;1706162975&quot;,
&quot;Sign&quot;: &quot;f4312cf3a15e5f38ad4fa41bbf34f9fc&quot;
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>int</td>
<td>消息代码</td>
<td>成功返回 0, 出错返回对应的错误码</td>
</tr>
<tr>
<td>msg</td>
<td>String</td>
<td>消息文本</td>
<td></td>
</tr>
<tr>
<td>Balance</td>
<td>int</td>
<td>当前账户余额</td>
<td>单位 分,类型允许负数</td>
</tr>
</tbody>
</table>
<h5>返回参数示例</h5>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: null,
&quot;Balance&quot;: &quot;2321321780&quot;
}</code></pre>