订单查询
<h5>简要描述</h5>
<ul>
<li>订单查询接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://merchant.singaporepay.sg/api/v2/orders/query?</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST (Body里面JSON)
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/ddcd5fea491471082b91a095aaa2ef9f?showdoc=.jpg" alt="" />
<h5>签名说明</h5>
<p><strong>1、 关键参数字符串拼接</strong>
String temp_signature = "orderid=" + orderid + "timestamp=" + timestamp;
<strong>2、用商户KEY进行 HMacSHA256加密</strong>
String secret = SHA256Encrypt.GetHmacSHA256(商户KEY, temp_signature);
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/913de41abb00f733318abf27199a8655?showdoc=.jpg" alt="" />
<strong>3、进行BASE64编码</strong>
sign = Base64.encodeToString(secret.getBytes(),Base64.NO_WRAP);
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/5b1e619ec3952f71f0437dbcae1dfe4c?showdoc=.jpg" alt="" /></p></li>
</ul>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">status_code</td>
<td style="text-align: left;">int</td>
<td>200成功 500失败</td>
</tr>
<tr>
<td style="text-align: left;">message</td>
<td style="text-align: left;">string</td>
<td>描述</td>
</tr>
</tbody>
</table>