channelLink

阿凡达平台对接外部渠道,如果渠道方需要使用专用接口,即对接使用渠道方的接口文档。如果渠道方没有定制接口需求,则按照阿凡达平台接口文档规范进行交互


3.9 退保接口

<p>[TOC]</p> <p>请求模式:渠道方→鸿雁平台</p> <p>接口描述:退保</p> <p>测试接口地址:<a href="https://hermesgyb.zhlic.net/avatar/refund/refundOrder">https://hermesgyb.zhlic.net/avatar/refund/refundOrder</a></p> <p>生产接口地址:<a href="https://gyb.zhlic.net/avatar/refund/refundOrder">https://gyb.zhlic.net/avatar/refund/refundOrder</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>repTime</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>refundOrderBody</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>refundReqTime</td> <td>DateTime</td> <td>Y</td> <td></td> </tr> <tr> <td>退保生效时间</td> <td>refundEffectTime</td> <td>DateTime</td> <td>CY</td> <td>退保类型为0,正常退必传,格式:yyyy-MM-dd, 具体看 [退保规则](<a href="https://www.showdoc.com.cn/avatarPlus/9922410612010094">https://www.showdoc.com.cn/avatarPlus/9922410612010094</a> &quot;退保规则&quot;)</td> </tr> <tr> <td>退保保费</td> <td>refundPremium</td> <td>BigDecimal</td> <td>CY</td> <td></td> </tr> <tr> <td>退保方式</td> <td>refundMoneyType</td> <td>varchar</td> <td>Y</td> <td>0-正常退&lt;br&gt; 1-全单退&lt;br&gt; 2-当期全额退&lt;br&gt;4-脱保退</td> </tr> <tr> <td>退保起始期次</td> <td>refundBeginPeriod</td> <td>Integer</td> <td>CY</td> <td>当期退时,必传, 会将退保开始的期次之后的已缴费用退还</td> </tr> <tr> <td>退保总保费</td> <td>sumPremium</td> <td>BigDecimal</td> <td>CY</td> <td>当期退时,必传</td> </tr> <tr> <td>批改生效日</td> <td>validDate</td> <td>Date</td> <td>CY</td> <td></td> </tr> <tr> <td>收款人账户</td> <td>cAcctNme</td> <td>varchar</td> <td>CY</td> <td>资金退必传</td> </tr> <tr> <td>收款人账号</td> <td>cAcctNo</td> <td>varchar</td> <td>CY</td> <td>资金退必传</td> </tr> <tr> <td>收款银行大类</td> <td>cBankRelTyp</td> <td>varchar</td> <td>CY</td> <td>资金退必传 ---见附件</td> </tr> <tr> <td>开户行</td> <td>cBankCde</td> <td>varchar</td> <td>CY</td> <td>资金退必传 ---见附件</td> </tr> <tr> <td>CNAPS号</td> <td>cBankCnaps</td> <td>varchar</td> <td>CY</td> <td>资金退必传 ---见附件</td> </tr> <tr> <td>批改原因</td> <td>endorseReason</td> <td>varchar</td> <td>CY</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>refundOrderBodyResp</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>CY</td> <td></td> </tr> <tr> <td>批单号</td> <td>endorseNo</td> <td>varchar</td> <td>Y</td> <td></td> </tr> <tr> <td>退保类型</td> <td>refundType</td> <td>varchar</td> <td>Y</td> <td>退保类型 1. 保障期前及保障期当日退保 2. 保障期内退保 3. 保期最后一天退保 4. 犹豫期内退保 5. 犹豫期最后一天退保 6. 犹豫期后退保</td> </tr> <tr> <td>实退保费</td> <td>refundPremium</td> <td>BigDecimal</td> <td>CY</td> <td></td> </tr> <tr> <td>退保生效时间</td> <td>refundEffectTime</td> <td>DateTime</td> <td>CY</td> <td></td> </tr> <tr> <td>核批通知时间</td> <td>undwrtEndDate</td> <td>DateTime</td> <td>Y</td> <td></td> </tr> <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> <tr> <td>缴费计划信息</td> <td>installmentsDetails</td> <td>List&lt;Object&gt;</td> <td>CY</td> <td>每一期次的缴费信息</td> </tr> <tr> <td>退保批单</td> <td>refundEleUrl</td> <td>varchar</td> <td>CY</td> <td>退保批单链接</td> </tr> </tbody> </table> <p><code>installmentsDetail</code></p> <table> <thead> <tr> <th>字段名称</th> <th>字段代码</th> <th>类型</th> <th>是否必传</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>期次</td> <td>num</td> <td>Integer</td> <td>Y</td> <td></td> </tr> <tr> <td>本期应收金额</td> <td>paymentAmount</td> <td>BigDecimal</td> <td>Y</td> <td></td> </tr> <tr> <td>本期退款金额</td> <td>refundAmount</td> <td>BigDecimal</td> <td>Y</td> <td></td> </tr> </tbody> </table> <h3>报文示例</h3> <h4>请求</h4> <pre><code class="language-json">{ &amp;quot;head&amp;quot;: { &amp;quot;interfaceType&amp;quot;: &amp;quot;refundOrder&amp;quot;, &amp;quot;orderNo&amp;quot;: &amp;quot;QS221214223652678S12K01&amp;quot;, &amp;quot;policySource&amp;quot;: &amp;quot;HN_HT_QNW&amp;quot;, &amp;quot;reqTime&amp;quot;: 1671376565000, &amp;quot;respTime&amp;quot;: 1671376566367, &amp;quot;uuid&amp;quot;: &amp;quot;1593b86c-beb6-4d36-a71e-3a048234dbeb&amp;quot; }, &amp;quot;refundOrderBody&amp;quot;: { &amp;quot;policyNo&amp;quot;: &amp;quot;X11002749220000946969&amp;quot;, &amp;quot;refundEffectTime&amp;quot;: 1671349200000, &amp;quot;refundMoneyType&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;refundPremium&amp;quot;: 40.00, &amp;quot;refundReqTime&amp;quot;: 1671376565000, &amp;quot;validHour&amp;quot;: 0 } } </code></pre> <h4>返回</h4> <pre><code class="language-json">{ &amp;quot;head&amp;quot;: { &amp;quot;interfaceType&amp;quot;: &amp;quot;refundOrder&amp;quot;, &amp;quot;orderNo&amp;quot;: &amp;quot;QS221214223652678S12K01&amp;quot;, &amp;quot;policySource&amp;quot;: &amp;quot;HN_HT_QNW&amp;quot;, &amp;quot;reqTime&amp;quot;: 1671376565000, &amp;quot;respTime&amp;quot;: 1671376566367, &amp;quot;uuid&amp;quot;: &amp;quot;1593b86c-beb6-4d36-a71e-3a048234dbeb&amp;quot; }, &amp;quot;refundOrderBodyResp&amp;quot;: { &amp;quot;dealCode&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;dealDesc&amp;quot;: &amp;quot;退保成功&amp;quot;, &amp;quot;endorseNo&amp;quot;: &amp;quot;X11002749220000946969_001&amp;quot;, &amp;quot;installmentsDetails&amp;quot;: [ { &amp;quot;num&amp;quot;: 1, &amp;quot;paymentAmount&amp;quot;: 40.00, &amp;quot;refundAmount&amp;quot;: 40.00 } ], &amp;quot;policyNo&amp;quot;: &amp;quot;X11002749220000946969&amp;quot;, &amp;quot;refundEffectTime&amp;quot;: 1671292800000, &amp;quot;refundPremium&amp;quot;: 40.00 } } </code></pre> <p>[1]: <a href="https://www.showdoc.com.cn/avatarPlus/9922410612010094">https://www.showdoc.com.cn/avatarPlus/9922410612010094</a> &quot;123&quot;</p>

页面列表

ITEM_HTML