乐收赢API

银飞乐收赢接口文档


小微商户创建

<p><strong>接口描述:</strong> </p> <ul> <li>此接口适用于进件无营业执照的小微商户,精简了部分字段,并提供相应的系列辅助接口,助力合作机构快速接入。</li> </ul> <p><strong>接口URL:</strong> </p> <ul> <li>生产 <code>https://open.gdyfsk.com/yfpay/api/simple/create</code></li> <li>测试 <code>https://test.gdyfsk.com/yfpay/api/simple/create</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: center;">类型</th> <th style="text-align: center;">必填</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: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">合作机构号</td> <td>900024</td> </tr> <tr> <td style="text-align: left;">trace_no</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">请求流水号</td> <td>duc4wl50el</td> </tr> <tr> <td style="text-align: left;">bd_code</td> <td style="text-align: center;">String</td> <td style="text-align: center;">邀请码-bd号(选填)</td> <td style="text-align: left;">620285</td> </tr> <tr> <td style="text-align: left;">sign</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">签名字符串</td> <td>8a9bd64e67f3d2380167f3ef7f990001</td> </tr> <tr> <td style="text-align: left;"><code>基本信息</code></td> </tr> <tr> <td style="text-align: left;">merchant_name</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">商户名称(门头名称),需反映营业内容</td> <td>武汉市张三烧烤串串店</td> </tr> <tr> <td style="text-align: left;">merchant_name_short</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">商户简称,显示给消费者看的商户名称</td> <td>张三烧烤</td> </tr> <tr> <td style="text-align: left;">person_name</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">个人姓名</td> <td>张三</td> </tr> <tr> <td style="text-align: left;">person_phone</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">个人电话</td> <td>13566668888</td> </tr> <tr> <td style="text-align: left;">person_email</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">个人邮箱</td> <td>abc@163.com</td> </tr> <tr> <td style="text-align: left;">person_province</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">个人地址省code,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114233928643197">省市区信息接口</a>获取</td> <td>420</td> </tr> <tr> <td style="text-align: left;">person_city</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">个人地址市code,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114233928643197">省市区信息接口</a>获取</td> <td>5210</td> </tr> <tr> <td style="text-align: left;">person_county</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">个人地址区县code,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114233928643197">省市区信息接口</a>获取</td> <td>5217</td> </tr> <tr> <td style="text-align: left;">person_street</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">个人地址具体街道门牌号</td> <td>软件园</td> </tr> <tr> <td style="text-align: left;"><code>结算信息</code></td> </tr> <tr> <td style="text-align: left;">account_idcard_num</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">证件号</td> <td>420123199504211354</td> </tr> <tr> <td style="text-align: left;">account_idcard_expire</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">证件有效期</td> <td>20190101</td> </tr> <tr> <td style="text-align: left;">account_card_num</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">结算卡卡号</td> <td>6217231302004313888</td> </tr> <tr> <td style="text-align: left;">account_card_phone</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">结算卡预留手机号</td> <td>13566668888</td> </tr> <tr> <td style="text-align: left;">account_bank_code</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">结算银行支行联行号,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114270246388520">银行信息接口</a>获取</td> <td>103651081044</td> </tr> <tr> <td style="text-align: left;">rate_code</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">费率模板:RT+4位费率万分比</td> <td>RT0023</td> </tr> <tr> <td style="text-align: left;"><code>图片信息</code></td> </tr> <tr> <td style="text-align: left;">picture_idcard_a</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">负责人身份证正面,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114298487040001">图片上传接口</a>获取</td> <td><a href="http://www.abc.com/picture/xxx.jpg">http://www.abc.com/picture/xxx.jpg</a></td> </tr> <tr> <td style="text-align: left;">picture_idcard_b</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">负责人身份证反面,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114298487040001">图片上传接口</a>获取</td> <td><a href="http://www.abc.com/picture/xxx.jpg">http://www.abc.com/picture/xxx.jpg</a></td> </tr> <tr> <td style="text-align: left;">picture_bankcard_a</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">银行卡正面,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114298487040001">图片上传接口</a>获取</td> <td><a href="http://www.abc.com/picture/xxx.jpg">http://www.abc.com/picture/xxx.jpg</a></td> </tr> <tr> <td style="text-align: left;">picture_bankcard_b</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">银行卡反面,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114298487040001">图片上传接口</a>获取</td> <td><a href="http://www.abc.com/picture/xxx.jpg">http://www.abc.com/picture/xxx.jpg</a></td> </tr> <tr> <td style="text-align: left;">picture_outside</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">门头照片,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114298487040001">图片上传接口</a>获取</td> <td><a href="http://www.abc.com/picture/xxx.jpg">http://www.abc.com/picture/xxx.jpg</a></td> </tr> <tr> <td style="text-align: left;">picture_inside</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">内部前台照片,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114298487040001">图片上传接口</a>获取</td> <td><a href="http://www.abc.com/picture/xxx.jpg">http://www.abc.com/picture/xxx.jpg</a></td> </tr> <tr> <td style="text-align: left;">picture_idcard_hander</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">手持身份证,可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114298487040001">图片上传接口</a>获取</td> <td><a href="http://www.abc.com/picture/xxx.jpg">http://www.abc.com/picture/xxx.jpg</a></td> </tr> <tr> <td style="text-align: left;">picture_other</td> <td style="text-align: center;">String</td> <td style="text-align: center;">其他证明材料(选填),可通过<a href="https://www.showdoc.com.cn/shoubei?page_id=5114298487040001">图片上传接口</a>获取</td> <td style="text-align: left;"><a href="http://www.abc.com/picture/xxx.jpg">http://www.abc.com/picture/xxx.jpg</a></td> </tr> </tbody> </table> <p><strong>请求示例:</strong></p> <pre><code class="language-json">{ &amp;quot;inst_no&amp;quot;: &amp;quot;900024&amp;quot;, &amp;quot;trace_no&amp;quot;: &amp;quot;duc4wl50el&amp;quot;, &amp;quot;person_email&amp;quot;: &amp;quot;3456666@qq.com&amp;quot;, &amp;quot;merchant_name&amp;quot;: &amp;quot;武汉市张三烧烤串串店&amp;quot;, &amp;quot;merchant_name_short&amp;quot;: &amp;quot;张三烧烤&amp;quot;, &amp;quot;person_name&amp;quot;: &amp;quot;张三&amp;quot;, &amp;quot;person_phone&amp;quot;: &amp;quot;13401231230&amp;quot;, &amp;quot;person_province&amp;quot;: &amp;quot;420&amp;quot;, &amp;quot;person_city&amp;quot;: &amp;quot;5210&amp;quot;, &amp;quot;person_county&amp;quot;: &amp;quot;5216&amp;quot;, &amp;quot;person_street&amp;quot;: &amp;quot;青和居15栋&amp;quot;, &amp;quot;account_bank_code&amp;quot;: &amp;quot;309521016054&amp;quot;, &amp;quot;account_card_num&amp;quot;: &amp;quot;622908413057132119&amp;quot;, &amp;quot;account_card_phone&amp;quot;: &amp;quot;13401231230&amp;quot;, &amp;quot;account_idcard_expire&amp;quot;: &amp;quot;20370207&amp;quot;, &amp;quot;account_idcard_num&amp;quot;: &amp;quot;420123199504211354&amp;quot;, &amp;quot;picture_bankcard_a&amp;quot;: &amp;quot;http://www.abc.com/picture/xxx.jpg&amp;quot;, &amp;quot;picture_bankcard_b&amp;quot;: &amp;quot;http://www.abc.com/picture/xxx.jpg&amp;quot;, &amp;quot;picture_idcard_a&amp;quot;: &amp;quot;http://www.abc.com/picture/xxx.jpg&amp;quot;, &amp;quot;picture_idcard_b&amp;quot;: &amp;quot;http://www.abc.com/picture/xxx.jpg&amp;quot;, &amp;quot;picture_idcard_hander&amp;quot;: &amp;quot;http://www.abc.com/picture/xxx.jpg&amp;quot;, &amp;quot;picture_inside&amp;quot;: &amp;quot;http://www.abc.com/picture/xxx.jpg&amp;quot;, &amp;quot;picture_other&amp;quot;: &amp;quot;http://www.abc.com/picture/xxx.jpg&amp;quot;, &amp;quot;picture_outside&amp;quot;: &amp;quot;http://www.abc.com/picture/xxx.jpg&amp;quot;, &amp;quot;rate_code&amp;quot;: &amp;quot;RT0023&amp;quot;, &amp;quot;sign&amp;quot;: &amp;quot;f5106bf5b61eb3b7eb3022128d69f5fb&amp;quot; }</code></pre> <p><strong>返回参数:</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: center;">类型</th> <th style="text-align: center;">必填</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: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">合作机构号</td> <td>60000001</td> </tr> <tr> <td style="text-align: left;">result_code</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">操作结果:SUCCESS成功,FAIL失败</td> <td>SUCCESS</td> </tr> <tr> <td style="text-align: left;">result_msg</td> <td style="text-align: center;">String</td> <td style="text-align: center;">是</td> <td style="text-align: left;">操作结果说明</td> <td>操作成功</td> </tr> <tr> <td style="text-align: left;">merchant_no</td> <td style="text-align: center;">String</td> <td style="text-align: center;">平台商户号(操作成功时返回)</td> <td style="text-align: left;">851901070001</td> </tr> <tr> <td style="text-align: left;">sign</td> <td style="text-align: center;">String</td> <td style="text-align: center;">签名字符串(操作成功时返回)</td> <td style="text-align: left;">8a9bd64e67f3d2380167f3ef7f990001</td> </tr> </tbody> </table> <p><strong>返回示例:</strong></p> <pre><code class="language-json">{ &amp;quot;inst_no&amp;quot;: &amp;quot;900024&amp;quot;, &amp;quot;result_code&amp;quot;: &amp;quot;SUCCESS&amp;quot;, &amp;quot;result_msg&amp;quot;: &amp;quot;操作成功&amp;quot;, &amp;quot;merchant_no&amp;quot;: &amp;quot;851901070001&amp;quot;, &amp;quot;sign&amp;quot;: &amp;quot;8a9bd64e67f3d2380167f3ef7f990001&amp;quot; }</code></pre>

页面列表

ITEM_HTML