4.6工保修改支付方式
<p>[TOC]</p>
<p>请求模式:渠道方→华农阿凡达平台</p>
<p>接口描述:适用于保单批改后保费发生变化,保险公司收保费的场景</p>
<p>测试接口地址:<a href="https://porsche-avatar.chinahuanong.com.cn/avatar/guarantee/updatePayWay">https://porsche-avatar.chinahuanong.com.cn/avatar/guarantee/updatePayWay</a></p>
<p>生产接口地址:<a href="https://avatar.chinahuanong.com.cn/avatar/guarantee/updatePayWay">https://avatar.chinahuanong.com.cn/avatar/guarantee/updatePayWay</a></p>
<h3>请求头</h3>
<p><code>head</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>渠道代码</td>
<td>policySource</td>
<td>varchar</td>
<td>Y</td>
<td>保险公司分配给 渠道方的渠道编码</td>
</tr>
<tr>
<td>请求时间</td>
<td>reqTime</td>
<td>DateTime</td>
<td>Y</td>
<td>格式为:yyyy-MM-dd HH:mm:ss。</td>
</tr>
<tr>
<td>接口类型</td>
<td>interfaceType</td>
<td>varchar</td>
<td>Y</td>
<td>针对每个接口,使用接口的API信息</td>
</tr>
<tr>
<td>订单号</td>
<td>orderNo</td>
<td>varchar</td>
<td>Y</td>
<td>贯穿保单始终的订单号, 要求必须唯一,会进行幂等检查</td>
</tr>
<tr>
<td>唯一标识符</td>
<td>uuid</td>
<td>varchar</td>
<td>Y</td>
<td>单次请求唯一标识符,任一次请求不允许相同</td>
</tr>
</tbody>
</table>
<h3>请求体</h3>
<p><code>updatePayWayInfo</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>投保单号</td>
<td>proposalNo</td>
<td>varchar</td>
<td>Y</td>
<td>投保单号</td>
</tr>
<tr>
<td>支付方式</td>
<td>payWays</td>
<td>List<String></td>
<td>Y</td>
<td>修改之后的支付方式,(0000-线下转账,0001-微信支付,0002-通联支付,0007-支付宝支付)</td>
</tr>
</tbody>
</table>
<h3>响应头</h3>
<p><code>respHead</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>渠道代码</td>
<td>policySource</td>
<td>varchar</td>
<td>Y</td>
<td>保险公司分配给 渠道方的渠道编码</td>
</tr>
<tr>
<td>响应时间</td>
<td>respTime</td>
<td>DateTime</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>接口类型</td>
<td>interfaceType</td>
<td>varchar</td>
<td>CY</td>
<td>针对每个接口,使用接口的API信息</td>
</tr>
<tr>
<td>订单号</td>
<td>orderNo</td>
<td>varchar</td>
<td>Y</td>
<td>贯穿保单始终的订单号, 要求必须唯一,会进行幂等检查</td>
</tr>
<tr>
<td>唯一标识符</td>
<td>uuid</td>
<td>varchar</td>
<td>CY</td>
<td>单次请求唯一标识符,任一次请求不允许相同</td>
</tr>
</tbody>
</table>
<h3>响应体</h3>
<p><code>respBody</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>处理状态码</td>
<td>dealCode</td>
<td>varchar</td>
<td>Y</td>
<td>处理结果状态码 ,0--失败,1--成功</td>
</tr>
<tr>
<td>处理结果描述</td>
<td>dealDesc</td>
<td>varchar</td>
<td>Y</td>
<td>处理结果描述</td>
</tr>
</tbody>
</table>
<pre><code class="language-json">{
&quot;head&quot;:{
&quot;interfaceType&quot;:&quot;updatePayWay&quot;,
&quot;orderNo&quot;:&quot;TBZLTS03424234234111295021900&quot;,
&quot;policySource&quot;:&quot;HN_ZLTS&quot;,
&quot;reqTime&quot;:1704850803000,
&quot;uuid&quot;:&quot;e4c731c8040e411aba3394e8dbfb2c6f&quot;
},
&quot;updatePayWayInfo&quot;:{
&quot;proposalNo&quot;:&quot;Y53002211240000103501&quot;,
&quot;payWays&quot;:[&quot;0001&quot;]
}
}</code></pre>