查询余额
<p><strong>简要描述:</strong> </p>
<ul>
<li>
</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>v1/shop/queryBalance</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<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;">sss_shop_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>送件侠门店id</td>
</tr>
</tbody>
</table>
<p><strong>重要备注</strong>
<code>此接口将返回账户余额, 各平台自运力账号余额(需要开通),顺丰目前不支持余额查询</code>
<code>请注意,sss_merchant_balance值为0时,下单必定失败(即便是使用自运力账号)</code></p>
<p><strong>返回示例</strong></p>
<pre><code>
#成功 - 无自运力账号的情况下,detail为空字符
{
&quot;code&quot;: 0,
&quot;message&quot;: &quot;ok&quot;,
&quot;data&quot;: {
&quot;sss_shop_id&quot;: &quot;2128&quot;,
&quot;sss_merchant_balance&quot;: 1558.66,
&quot;detail&quot;: &quot;&quot;
}
}
#成功 - 有自运力账号的情况下(detail内的个数 等于 实际开通个数)
{
&quot;code&quot;: 0,
&quot;message&quot;: &quot;ok&quot;,
&quot;data&quot;: {
&quot;sss_shop_id&quot;: &quot;1111&quot;,
&quot;sss_merchant_balance&quot;: 0,
&quot;detail&quot;: [
{
&quot;third_logistics_id&quot;: 16,
&quot;balance&quot;: 3600.98
},
{
&quot;third_logistics_id&quot;: 1,
&quot;balance&quot;: 1489.7
}
]
}
}
#失败
{
&quot;code&quot;: 1,
&quot;message&quot;: &quot;sss_shop_id必填&quot;
}
</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
<th>类型</th>
<th>必定返回</th>
</tr>
</thead>
<tbody>
<tr>
<td>sss_merchant_balance</td>
<td>账号余额</td>
<td>double</td>
<td>是</td>
</tr>
<tr>
<td>third_logistics_id</td>
<td>运力公司标识ID,详见附录</td>
<td>string</td>
<td>是</td>
</tr>
<tr>
<td>balance</td>
<td>自运力账号余额</td>
<td>double</td>
<td>否</td>
</tr>
</tbody>
</table>
<p><strong>请求示例demo x-www-form-urlencoded</strong></p>
<pre><code>appkey:4aa32923334940099ad6ecf6a552de33
timestamp:1575525613228
version:1.0
sign:c960c8153c5e7c8654ef60ec64aeb7c023eb48af
sss_shop_id:11111</code></pre>