订单结果查询
<h5>简要描述</h5>
<ul>
<li>下游在订单状态不确定或者没收到回调的时候可调用该接口查询订单状态。</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://host:port/recharge/api/find_order.html</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
<li>Content-Type:application/json;charset=utf-8
accept: application/json;charset=utf-8</li>
</ul>
<h5>请求参数说明</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>merchantNo</td>
<td>是</td>
<td>string</td>
<td>代理商编号</td>
</tr>
<tr>
<td>serialNumber</td>
<td>是</td>
<td>string</td>
<td>下游订单号</td>
</tr>
<tr>
<td>timestamp</td>
<td>是</td>
<td>Long</td>
<td>时间戳</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{</code></pre>
<p> "merchantNo":"12345678",
"serialNumber":"1704793060746",
"timestamp": 134243244
}</p>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>status</td>
<td>Integer</td>
<td>状态码,200操作成功(不是充值成功)</td>
</tr>
<tr>
<td>msg</td>
<td>String</td>
<td>返回结果信息(充值成功返回充值凭证)</td>
</tr>
<tr>
<td>version</td>
<td>Long</td>
<td>版本号</td>
</tr>
<tr>
<td>data</td>
<td>Object</td>
<td>success充值成功,fail充值失败,unconfirmed未确认,process处理中</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;status&quot;: 200,</code></pre>
<p> "msg": "7388860000245296",
"version": 1,
"data": "success"
}</p>
<pre><code> {</code></pre>
<p> "status": 200,
"msg": "操作成功",
"version": 1,
"data": "unconfirmed"
}
{
"status": 200,
"msg": "操作成功",
"version": 1,
"data": "fail"
}
{
"status": 8026,
"msg": "订单不存在",
"version": 1,
"data": null
}
{
"status": 8001,
"msg": "商户不存在",
"version": 1,
"data": null
}
{
"status": 8019,
"msg": "请求太过频繁",
"version": 1,
"data": null
}</p>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>status</td>
<td>Integer</td>
<td>状态码,200操作成功(不是充值成功)</td>
</tr>
<tr>
<td>msg</td>
<td>String</td>
<td>返回结果信息(充值成功返回充值凭证)</td>
</tr>
<tr>
<td>version</td>
<td>Long</td>
<td>版本号</td>
</tr>
<tr>
<td>data</td>
<td>Object</td>
<td>success充值成功,failed充值失败,unconfirmed未确认,process处理中</td>
</tr>
</tbody>
</table>
<ul>
<li>status 状态码</li>
</ul>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td>操作成功(不是充值成功)</td>
</tr>
<tr>
<td>500</td>
<td>系统异常</td>
</tr>
<tr>
<td>8001</td>
<td>商户号不存在</td>
</tr>
<tr>
<td>8002</td>
<td>商户验证失败</td>
</tr>
<tr>
<td>8003</td>
<td>商户秘钥重置失败</td>
</tr>
<tr>
<td>8004</td>
<td>商户资金账户错误</td>
</tr>
<tr>
<td>8005</td>
<td>非法的请求地址(绑定IP地址后,如果是非该IP地址请求)</td>
</tr>
<tr>
<td>8006</td>
<td>账户余额不足</td>
</tr>
<tr>
<td>8007</td>
<td>商品不存在</td>
</tr>
<tr>
<td>8026</td>
<td>订单不存在</td>
</tr>
</tbody>
</table>