流水下载申请
<h3>接口功能</h3>
<p>流水下载申请。</p>
<h3>请求URL</h3>
<ul>
<li><code>api/kycloud/open/v1.0/account/changeApply</code></li>
</ul>
<h3>请求方式</h3>
<ul>
<li>POST</li>
</ul>
<h3>公共请求参数</h3>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>类型</th>
<th>是否必填</th>
<th>最大长度</th>
<th>参数描述</th>
<th>示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>companyId</td>
<td>数值</td>
<td>是</td>
<td>11</td>
<td>平台分配给企业的ID</td>
<td>52984126340489216</td>
</tr>
<tr>
<td>charset</td>
<td>字符</td>
<td>是</td>
<td>10</td>
<td>请求使用的编码格式,如utf-8,gbk等</td>
<td>utf-8</td>
</tr>
<tr>
<td>signType</td>
<td>字符</td>
<td>是</td>
<td>10</td>
<td>企业生成签名字符串所使用的签名算法类型,目前支持RSA和RSA2,推荐使用RSA2</td>
<td>RSA2</td>
</tr>
<tr>
<td>bizContent</td>
<td>json</td>
<td>是</td>
<td>不限</td>
<td>请求参数的集合,最大长度不限,除公共参数外所有请求参数都必须放在这个参数中传递</td>
<td>-</td>
</tr>
<tr>
<td>timestamp</td>
<td>字符</td>
<td>是</td>
<td>19</td>
<td>发送请求的时间,格式"yyyy-MM-dd HH:mm:ss"</td>
<td>2023-10-01 08:08:08</td>
</tr>
<tr>
<td>sign</td>
<td>字符</td>
<td>是</td>
<td>344</td>
<td>企业请求参数的签名串,详见[数据签名](<a href="https://www.showdoc.com.cn/kycloudopen/11199716093743187">https://www.showdoc.com.cn/kycloudopen/11199716093743187</a> "数据签名")</td>
<td>详见示例</td>
</tr>
</tbody>
</table>
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>类型</th>
<th>是否必填</th>
<th>最大长度</th>
<th>参数描述</th>
<th>示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>partnerOrderId</td>
<td>字符</td>
<td>是</td>
<td>50</td>
<td>客户自定义,不重复</td>
<td>2023100080808</td>
</tr>
<tr>
<td>accountId</td>
<td>数值</td>
<td>否</td>
<td>11</td>
<td>资金账户ID,默认账户客户传空即可</td>
<td>111</td>
</tr>
<tr>
<td>accountType</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>账户类型,accountId若传空,该字段必填。银行卡BANK_ACCOUNT、支付宝ALI_ACCOUNT、微信WX_ACCOUNT</td>
<td>ALI_ACCOUNT</td>
</tr>
<tr>
<td>startTime</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>开始时间</td>
<td>2022-09-30 14:12:01</td>
</tr>
<tr>
<td>endTime</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>结束时间</td>
<td>2022-09-30 14:12:01</td>
</tr>
<tr>
<td>notifyUrl</td>
<td>字符</td>
<td>是</td>
<td>128</td>
<td>回调地址</td>
<td><a href="https://www.baidu.com/callback">https://www.baidu.com/callback</a></td>
</tr>
</tbody>
</table>
<h3>公共响应参数</h3>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>类型</th>
<th>是否必填</th>
<th>最大长度</th>
<th>参数描述</th>
<th>示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>字符</td>
<td>否</td>
<td>-</td>
<td>错误码</td>
<td>open_request_expired</td>
</tr>
<tr>
<td>success</td>
<td>字符</td>
<td>是</td>
<td>-</td>
<td>请求是否成功,成功true、失败false</td>
<td>true</td>
</tr>
<tr>
<td>message</td>
<td>字符</td>
<td>否</td>
<td>-</td>
<td>失败描述</td>
<td>请求过期,请求重新发起</td>
</tr>
<tr>
<td>object</td>
<td>json</td>
<td>是</td>
<td>-</td>
<td>请求成功后,平台响应数据(如果partnerOrderId重复会返回响应的数据,否则看success成功与否并等待回调通知)</td>
<td>{}</td>
</tr>
</tbody>
</table>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>类型</th>
<th>是否必填</th>
<th>最大长度</th>
<th>参数描述</th>
<th>示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>partnerOrderId</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>客户请求时传的编号</td>
<td>52984126340489216</td>
</tr>
<tr>
<td>accountChangeUrl</td>
<td>字符</td>
<td>是</td>
<td>50</td>
<td>企业流水下载地址url</td>
<td><a href="https://xiyk.oss-cn-hangzhou.aliyuncs.com/detail/20250408100616_account.csv">https://xiyk.oss-cn-hangzhou.aliyuncs.com/detail/20250408100616_account.csv</a></td>
</tr>
<tr>
<td>paymentChangeUrl</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>发放流水下载地址url</td>
<td><a href="https://xiyk.oss-cn-hangzhou.aliyuncs.com/detail/20250408100616_account.csv">https://xiyk.oss-cn-hangzhou.aliyuncs.com/detail/20250408100616_account.csv</a></td>
</tr>
<tr>
<td>startTime</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>开始时间</td>
<td>2022-09-30 14:12:01</td>
</tr>
<tr>
<td>endTime</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>结束时间</td>
<td>2022-09-30 14:12:01</td>
</tr>
</tbody>
</table>
<h2>回调</h2>
<h3>请求方式</h3>
<ul>
<li>POST</li>
</ul>
<p>企业发起流水下载请求,平台进行回调通知。只回调一次不重复发送</p>
<h3>公共请求参数</h3>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>类型</th>
<th>是否必填</th>
<th>最大长度</th>
<th>参数描述</th>
<th>示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>companyId</td>
<td>数值</td>
<td>是</td>
<td>11</td>
<td>平台分配给企业的ID</td>
<td>52984126340489216</td>
</tr>
<tr>
<td>charset</td>
<td>字符</td>
<td>是</td>
<td>10</td>
<td>请求使用的编码格式,如utf-8,gbk等</td>
<td>utf-8</td>
</tr>
<tr>
<td>signType</td>
<td>字符</td>
<td>是</td>
<td>10</td>
<td>企业生成签名字符串所使用的签名算法类型,目前支持RSA和RSA2,推荐使用RSA2</td>
<td>RSA2</td>
</tr>
<tr>
<td>bizContent</td>
<td>json</td>
<td>是</td>
<td>不限</td>
<td>请求参数的集合,最大长度不限,除公共参数外所有请求参数都必须放在这个参数中传递</td>
<td>-</td>
</tr>
<tr>
<td>timestamp</td>
<td>字符</td>
<td>是</td>
<td>19</td>
<td>发送请求的时间,格式"yyyy-MM-dd HH:mm:ss"</td>
<td>2023-10-01 08:08:08</td>
</tr>
<tr>
<td>sign</td>
<td>字符</td>
<td>是</td>
<td>344</td>
<td>企业请求参数的签名串,详见[数据签名](<a href="https://www.showdoc.com.cn/kycloudopen/11199716093743187">https://www.showdoc.com.cn/kycloudopen/11199716093743187</a> "数据签名")</td>
<td>详见示例</td>
</tr>
</tbody>
</table>
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>类型</th>
<th>是否必填</th>
<th>最大长度</th>
<th>参数描述</th>
<th>示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>partnerOrderId</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>客户请求时传的编号</td>
<td>52984126340489216</td>
</tr>
<tr>
<td>accountChangeUrl</td>
<td>字符</td>
<td>是</td>
<td>50</td>
<td>企业流水下载地址url</td>
<td><a href="https://xiyk.oss-cn-hangzhou.aliyuncs.com/detail/20250408100616_account.csv">https://xiyk.oss-cn-hangzhou.aliyuncs.com/detail/20250408100616_account.csv</a></td>
</tr>
<tr>
<td>paymentChangeUrl</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>发放流水下载地址url</td>
<td><a href="https://xiyk.oss-cn-hangzhou.aliyuncs.com/detail/20250408100616_account.csv">https://xiyk.oss-cn-hangzhou.aliyuncs.com/detail/20250408100616_account.csv</a></td>
</tr>
<tr>
<td>startTime</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>开始时间</td>
<td>2022-09-30 14:12:01</td>
</tr>
<tr>
<td>endTime</td>
<td>字符</td>
<td>是</td>
<td>20</td>
<td>结束时间</td>
<td>2022-09-30 14:12:01</td>
</tr>
</tbody>
</table>
<h3>公共错误码</h3>
<p>参考:[公共错误码](<a href="https://www.showdoc.com.cn/kycloudopen/11199459988358587">https://www.showdoc.com.cn/kycloudopen/11199459988358587</a> "公共错误码")</p>