联拓富快速接入版移动支付接口

联拓富快速接入版移动支付接口


客商结算授权链接

<h5>接口使用描述</h5> <pre><code>客商结算授权链接,获取客商提现url链接 注意:返回的链接是一个H5提现页面</code></pre> <h5>接口地址</h5> <pre><code> 接口地址:http://api.liantuofu.com/open/settle/ksAuthUrl</code></pre> <p><br/></p> <img src='https://www.showdoc.cc/server/api/common/visitfile/sign/bfc24f8d7eb93fae8e66d4ab2b4bc461?showdoc=.jpg' align='right' style=' width:300px;height:100 px'/> <h4>请求参数</h4> <table> <thead> <tr> <th>NO</th> <th>字段</th> <th>名称</th> <th>长度</th> <th>必填</th> <th>示例</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>appId</td> <td>合作方标识</td> <td>string</td> <td>Y</td> <td>EW_N5946005323</td> <td>合作商户编码,用于以后所有接口发起请求时验签使用</td> </tr> <tr> <td>2</td> <td>sign</td> <td>签名,具体参见“<a href="https://www.showdoc.cc/web/#/liantuofu?page_id=673453270295568">签名规则</a>”</td> <td>string</td> <td>Y</td> <td>cda1b6e5e423d67eb5399924d7c9f47c</td> <td>MD5加密验签值。具体参见“<a href="https://www.showdoc.cc/web/#/liantuofu?page_id=673453270295568">签名规则</a>”</td> </tr> <tr> <td>3</td> <td>random</td> <td>随机数</td> <td>string</td> <td>Y</td> <td>123</td> <td>用来增加加密验签的复杂度,长度不限制,不支持中文,特殊符号</td> </tr> <tr> <td>4</td> <td>transactionId</td> <td>交易id</td> <td>string</td> <td>Y</td> <td>000000000004849</td> <td>通过获取transitionId列表接口,选择对应提现客商transactionId</td> </tr> <tr> <td>5</td> <td>merchantCode</td> <td>门店编号</td> <td>string</td> <td>N</td> <td>EW_N4130797151</td> <td>门店编号,用于后续接口请求参数的使用</td> </tr> </tbody> </table> <h4>响应参数</h4> <table> <thead> <tr> <th>NO</th> <th>字段</th> <th>名称</th> <th>长度</th> <th>必填</th> <th>示例</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>code</td> <td>结果</td> <td>string</td> <td>Y</td> <td>SUCCESS</td> <td>授权结果 SUCCESS:表示授权成功FAILED:表示授权失败</td> </tr> <tr> <td>2</td> <td>msg</td> <td>结果描述</td> <td>string</td> <td>Y</td> <td>授权成功</td> <td>无论是成功或者失败,message都会针对于当前的结果返回响应的结果描述</td> </tr> <tr> <td>3</td> <td>subCode</td> <td>错误代码</td> <td>string</td> <td>N</td> <td>APPID_ERROR</td> <td>如果code为FAILED,subcode会返回详细的错误code,以便错误信息描述的更加精确</td> </tr> <tr> <td>4</td> <td>subMsg</td> <td>结果描述</td> <td>string</td> <td>N</td> <td>appId参数错误</td> <td>如果code为FAILED,subcode会返回详细的错误code,以便错误信息描述的更加精确</td> </tr> <tr> <td>5</td> <td>url</td> <td>授权链接</td> <td>string</td> <td>N</td> <td><a href="http://192.168.19.27:8000/frontcash/kshwithdraw.in?store_no=KS_N2334039117&operator_no=EW_N6370349149&uuid=xxxxxxxxxxxxxxxxxxxxxxxxxxxx">http://192.168.19.27:8000/frontcash/kshwithdraw.in?store_no=KS_N2334039117&operator_no=EW_N6370349149&uuid=xxxxxxxxxxxxxxxxxxxxxxxxxxxx</a></td> <td>返回客商提现授权url链接 注意:返回的链接是一个H5提现页面</td> </tr> </tbody> </table> <h5>请求示例:</h5> <pre><code>appId=EW_N5946005323&amp;transactionId=000000000270892&amp;random=123&amp;sign=310286db63ef28fd8cfdee7e3c76bb51</code></pre> <h5>响应示例(成功):</h5> <pre><code class="language-json"> { "code":"SUCCESS", "msg":"授权成功", "url":"http://192.168.19.27:8000/frontcash/kshwithdraw.in?store_no=KS_N2334039117&amp;operator_no=EW_N6370349149&amp;uuid=xxxxxxxxxxxxxxxxxxxxxxxxxxxx" }</code></pre> <h5>响应示例(失败):</h5> <pre><code class="language-json"> { "code":"FAILED", "msg":"授权失败" }</code></pre>

页面列表

ITEM_HTML