运营商-售货机接口文档

undefined


创建订单

<h5>简要描述</h5> <ul> <li>注释见订单列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{service}}/order/create</code> </li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>Header</h5> <table> <thead> <tr> <th style="text-align: left;">header</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">是</td> <td>string</td> <td>无</td> </tr> </tbody> </table> <h5>请求Body参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">box_id</td> <td style="text-align: left;">是</td> <td>string</td> <td>无</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ "code": 10000, "data": { "uid": 0, "device_id": 4925, "prev_seq_id": 2242730, "seq_id": 2242730, "detect_api_id": 19, "operator_id": 67, "card_id": 0, "pay_type": 8, "verify": 0, "pay_status": 0, "order_no": "T240115095149373033", "create_time": 1705283509, "create_ip": "127.0.0.1", "update_time": 1705283509, "id": 5472154 }, "msg": "Success" } </code></pre>

页面列表

ITEM_HTML