3.3 分期续费成功通知接口(渠道代收)
<p>[TOC]</p>
<p>请求模式:渠道方→鸿雁平台</p>
<p>接口描述:续费成功通知接口(渠道代收)</p>
<p>测试接口地址:<a href="https://hermesgyb.zhlic.net/avatar/general/renewNotice">https://hermesgyb.zhlic.net/avatar/general/renewNotice</a></p>
<p>生产接口地址:<a href="https://gyb.zhlic.net/avatar/general/renewNotice">https://gyb.zhlic.net/avatar/general/renewNotice</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></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>renewPolicyBody</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>字段描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>保单号</td>
<td>policyNo</td>
<td>varchar</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>续费时间</td>
<td>payDate</td>
<td>Date</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>续费期次信息</td>
<td>periodInfos</td>
<td>List\<periodInfo\></td>
<td>Y</td>
<td></td>
</tr>
</tbody>
</table>
<h4>续费期次信息</h4>
<p><code>periodInfo</code></p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>字段代码</th>
<th>类型</th>
<th>是否必传</th>
<th>字段描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>缴费期次</td>
<td>periodNum</td>
<td>Integer</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td>期次保费</td>
<td>periodPremium</td>
<td>BigDecimal</td>
<td>Y</td>
<td></td>
</tr>
</tbody>
</table>
<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>respTime</td>
<td>DateTime</td>
<td>Y</td>
<td></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>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>处理结果状态码</td>
</tr>
<tr>
<td>处理结果描述</td>
<td>dealDesc</td>
<td>varchar</td>
<td>Y</td>
<td>处理结果描述</td>
</tr>
</tbody>
</table>
<h3>报文示例</h3>
<h4>请求</h4>
<pre><code class="language-json">{
&quot;head &quot;: {
&quot;orderNo&quot;: &quot;T202211151923175211043&quot;,
&quot;reqTime&quot;: &quot;2022-12-16 09:11:40&quot;,
&quot;uuid&quot;: &quot;ce5d04f3-90e4-4c22-96fa-06235e76083c&quot;,
&quot;policySource&quot;: &quot;PHN_ZAZX&quot;,
&quot;interfaceType&quot;: &quot;renewNotice&quot;
},
&quot;renewPolicyBody&quot;: {
&quot;policyNo&quot;: &quot;X00272634220000405500&quot;,
&quot;payDate&quot;: &quot;2022-12-16 09:11:40&quot;,
&quot;periodInfos&quot;: [
{
&quot;periodNum&quot;: &quot;2&quot;,
&quot;periodPremium&quot;: 67.0
}
]
}
}
</code></pre>
<h4>返回</h4>
<pre><code class="language-json">{
&quot;head&quot;: {
&quot;interfaceType&quot;: &quot;renewNotice&quot;,
&quot;orderNo&quot;: &quot;T202211151923175211043&quot;,
&quot;policySource&quot;: &quot;PHN_ZAZX&quot;,
&quot;reqTime&quot;: 1671153100000,
&quot;respTime&quot;: 1671153100586,
&quot;uuid&quot;: &quot;ce5d04f3-90e4-4c22-96fa-06235e76083c&quot;
},
&quot;respBody&quot;: {
&quot;dealCode&quot;: &quot;1&quot;,
&quot;dealDesc&quot;: &quot;成功&quot;
}
}
</code></pre>