乐收赢API

银飞乐收赢接口文档


用户业务入驻修改

<p><strong>接口描述:</strong> </p> <ul> <li>个人用户开通账户,可进行分账</li> </ul> <p><strong>接口URL:</strong> </p> <ul> <li>测试<code>https://test.gdyfsk.com/yfpay/user/busi/modify&amp;quot;</code></li> <li>正式<code>https://open.gdyfsk.com/yfpay/user/busi/modify&amp;quot;</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>请求头部:</strong></p> <table> <thead> <tr> <th>标签</th> <th>必填</th> <th>内容</th> </tr> </thead> <tbody> <tr> <td>Content-Type</td> <td>是</td> <td>application/json</td> </tr> </tbody> </table> <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 style="text-align: left;">说明</th> <th>参数示例</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">inst_no</td> <td style="text-align: left;">string(8)</td> <td style="text-align: left;">M</td> <td style="text-align: left;">机构号 ,系统分配</td> <td>900075</td> </tr> <tr> <td style="text-align: left;">merchant_no</td> <td style="text-align: left;">string(32)</td> <td style="text-align: left;">M</td> <td style="text-align: left;">乐收赢商户号</td> <td>Y52211090004</td> </tr> <tr> <td style="text-align: left;">channel_acct_no</td> <td style="text-align: left;">string</td> <td style="text-align: left;">M</td> <td style="text-align: left;">渠道商户号</td> <td>6666124212551</td> </tr> <tr> <td style="text-align: left;">upper_channel_acct_no</td> <td style="text-align: left;">string</td> <td style="text-align: left;">M</td> <td style="text-align: left;">服务商编号</td> <td>6666124212448</td> </tr> <tr> <td style="text-align: left;">settle_config</td> <td style="text-align: left;">jsonObject</td> <td style="text-align: left;"></td> <td style="text-align: left;">结算信息 - jsonObject格式</td> <td>{}</td> </tr> <tr> <td style="text-align: left;">card_info</td> <td style="text-align: left;">jsonObject</td> <td style="text-align: left;"></td> <td style="text-align: left;">结算卡配置 - jsonObject格式</td> <td>{}</td> </tr> <tr> <td style="text-align: left;">cash_config</td> <td style="text-align: left;">jsonArray</td> <td style="text-align: left;"></td> <td style="text-align: left;">取现配置列表 - jsonArray格式</td> <td>[{},{}]</td> </tr> <tr> <td style="text-align: left;">file_list</td> <td style="text-align: left;">jsonArray</td> <td style="text-align: left;"></td> <td style="text-align: left;">文件列表- jsonArray格式</td> <td>[{},{}]</td> </tr> <tr> <td style="text-align: left;">open_tax_flag</td> <td style="text-align: left;">string</td> <td style="text-align: left;"></td> <td style="text-align: left;">N:否(默认) Y:是;示例值:Y</td> <td>Y</td> </tr> <tr> <td style="text-align: left;">delay_flag</td> <td style="text-align: left;">string</td> <td style="text-align: left;"></td> <td style="text-align: left;">延迟入账开关 N:否 Y:是;示例值:Y</td> <td>Y</td> </tr> <tr> <td style="text-align: left;">sign</td> <td style="text-align: left;">string</td> <td style="text-align: left;">M</td> <td style="text-align: left;">签名</td> <td>adadahadjahajdakdjk</td> </tr> </tbody> </table> <p><code>备注1:</code> sign 字段传递参数按照字典序用&amp;符号连接最后拼接机构key,UTF-8编码,32位md5加密转换, 示例:a=1&amp;b=1&amp;c=1&amp;d=1&amp;key=51c7d68424e5492199cf7f4734a2b977,详细见 [接入指引](<a href="https://www.showdoc.com.cn/leshouying/10788371225650114">https://www.showdoc.com.cn/leshouying/10788371225650114</a> &quot;接入指引&quot;)</p> <p><strong>请求示例:</strong></p> <pre><code class="language-json">{     &amp;quot;inst_no&amp;quot;: &amp;quot;60000001&amp;quot;,     &amp;quot;merchant_no&amp;quot;: &amp;quot;852408270001&amp;quot;,     &amp;quot;channel_acct_no&amp;quot;: &amp;quot;6666000154535228&amp;quot;,     &amp;quot;upper_channel_acct_no&amp;quot;: &amp;quot;6666000148190435&amp;quot;,     &amp;quot;settle_config&amp;quot;: {         &amp;quot;settle_status&amp;quot;: &amp;quot;1&amp;quot;,         &amp;quot;settle_cycle&amp;quot;: &amp;quot;D1&amp;quot;,         &amp;quot;out_settle_flag&amp;quot;: &amp;quot;2&amp;quot;,         &amp;quot;min_amt&amp;quot;: &amp;quot;10.00&amp;quot;,         &amp;quot;remained_amt&amp;quot;: &amp;quot;100.00&amp;quot;,         &amp;quot;workday_fixed_ratio&amp;quot;:&amp;quot;27.00&amp;quot;,         &amp;quot;fixed_ratio&amp;quot;:&amp;quot;30.00&amp;quot;     },     &amp;quot;card_info&amp;quot;: {         &amp;quot;card_type&amp;quot;: &amp;quot;1&amp;quot;,         &amp;quot;card_name&amp;quot;: &amp;quot;黄伟吉&amp;quot;,         &amp;quot;card_no&amp;quot;: &amp;quot;6217003320104816650&amp;quot;,         &amp;quot;prov_id&amp;quot;: &amp;quot;440000&amp;quot;,         &amp;quot;area_id&amp;quot;: &amp;quot;440100&amp;quot;     },     &amp;quot;cash_config&amp;quot;: [{         &amp;quot;cash_type&amp;quot;: &amp;quot;T1&amp;quot;,         &amp;quot;switch_state&amp;quot;: 1,         &amp;quot;fix_amt&amp;quot;: &amp;quot;10.00&amp;quot;,         &amp;quot;fee_rate&amp;quot;: &amp;quot;20.00&amp;quot;,         &amp;quot;out_fee_flag&amp;quot;: &amp;quot;2&amp;quot;     }],     &amp;quot;sign&amp;quot;: &amp;quot;2f8d000ec251e6533e25fdbfafbf631b&amp;quot; } </code></pre> <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 style="text-align: left;">说明</th> <th>参数示例</th> </tr> </thead> <tbody> </tbody> </table> <p><strong>返回示例:</strong></p> <p>成功返回内容:</p> <pre><code class="language-json">{     &amp;quot;channel_acct_no&amp;quot;: &amp;quot;6666000154535228&amp;quot;,     &amp;quot;token_no&amp;quot;: &amp;quot;10044213935&amp;quot;,     &amp;quot;code&amp;quot;: &amp;quot;000000&amp;quot;,     &amp;quot;apply_no&amp;quot;: null,     &amp;quot;resp_business&amp;quot;: [         {             &amp;quot;code&amp;quot;: &amp;quot;S&amp;quot;,             &amp;quot;type&amp;quot;: &amp;quot;1&amp;quot;         },         {             &amp;quot;code&amp;quot;: &amp;quot;S&amp;quot;,             &amp;quot;type&amp;quot;: &amp;quot;3&amp;quot;         },         {             &amp;quot;code&amp;quot;: &amp;quot;S&amp;quot;,             &amp;quot;type&amp;quot;: &amp;quot;2&amp;quot;         },         {             &amp;quot;type&amp;quot;: &amp;quot;5&amp;quot;         }     ],     &amp;quot;message&amp;quot;: &amp;quot;操作成功&amp;quot; }</code></pre>

页面列表

ITEM_HTML