获取支付信息
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取支付信息</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/purch/get_pay_info</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;">order_num</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>订单号</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"__type": "result",
"state": "ok",
"msg": "<form id='alipaysubmit' name='alipaysubmit' action='https://openapi.alipay.com/gateway.do' method='POST'><input type='hidden' name='app_id' value='2017122801323270'/><input type='hidden' name='method' value='alipay.trade.wap.pay'/><input type='hidden' name='format' value='JSON'/><input type='hidden' name='charset' value='utf-8'/><input type='hidden' name='sign_type' value='RSA2'/><input type='hidden' name='version' value='1.0'/><input type='hidden' name='return_url' value='http://120.77.205.154:82/m/pay/success/kfk19011405439718'/><input type='hidden' name='notify_url' value='http://120.77.205.154:82/notice/alipay'/><input type='hidden' name='timestamp' value='2019-01-14 17:20:55'/><input type='hidden' name='sign' value='rVbKX8SIHAmiJdasku0ALgd9hhp9h54qsey5whGLtWSMAzB8YuSWDcRF2Xz3XGlPmUge5srcGGjhNge8n/I6UQS9z7+cQHAm7mpoj/8uL4+UvIMqlcO/EIcoWlqWug350KwqXr00ZT8vwn6hmCOk7RGbtaAOX0ZxLxgCwTgbKq2tJ/OBr313tzy1pCHDM64CA2tsC7b/QpbkNRbI7znx2h7EZr7nXJx/+ioE2o9t7ELtZ+EaNVD1HXBGPCXsSJ1KnrlSfWHzc8XqTZd9IZVXNBjsCiH2dgF+A2GESbrQVHZuCq9Xo5e6Y1pIbxQWe6+a2vLDL4gmMN73fj3rgdX6yQ=='/><input type='hidden' name='biz_content' value='{\"out_trade_no\":\"kfk19011405439718\",\"total_amount\":null,\"subject\":\"\\u6295\\u8bc9\\u5904\\u7406\\u8054\\u7cfbQQ:800157060\",\"product_code\":\"QUICK_WAP_WAY\"}'/><input type='submit' value='ok' style='display:none;''></form><script>document.forms['alipaysubmit'].submit();</script>",
"data": "HTML",
"time": 1547457655
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<p><strong>备注</strong>
data:
HTML:直接返回dom
URL:返回一个跳转地址
QRCODE:返回一个二维码地址</p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>