5.6退款状态变更接口
<p>5.6退款状态变更通知(通用)</p>
<p>POST /interests-open-api/refund/refundNotify</p>
<p>此API是客户通知平台后付费权益卡订单的退款成功状态,仅限扣费成功的订单发起退款后,还需要调用这个接口</p>
<p>> Body 请求参数</p>
<p>{
"refundNo":"1646088758894596097",
"refundStatus": "REFUNDED"
}</p>
<h3>请求参数</h3>
<p>header:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>类型</th>
<th>长度限制</th>
<th>是否必填</th>
<th>介绍</th>
</tr>
</thead>
<tbody>
<tr>
<td>CustomerId</td>
<td>String</td>
<td></td>
<td>是</td>
<td>客户ID</td>
</tr>
<tr>
<td>Sign</td>
<td>String</td>
<td></td>
<td>是</td>
<td>MD5(appSecret+refundNo)转Hex十六进制字符转大写字符</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th>名称</th>
<th>位置</th>
<th>类型</th>
<th>必选</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>body</td>
<td>body</td>
<td>object</td>
<td>否</td>
<td></td>
<td>none</td>
</tr>
<tr>
<td>» refundNo</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>退款单号</td>
<td>none</td>
</tr>
<tr>
<td>» refundStatus</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>退款状态</td>
<td>目前仅处理退款成功状态标识数据 状态值:REFUNDED</td>
</tr>
</tbody>
</table>
<p>> 返回示例
>
> 成功</p>
<pre><code>{
&quot;code&quot;: &quot;0&quot;,
&quot;data&quot;: &quot;SUCCESS&quot;,
&quot;message&quot;: &quot;请求成功&quot;,
&quot;service&quot;: &quot;&quot;,
&quot;success&quot;: true
}</code></pre>
<h3>返回结果</h3>
<table>
<thead>
<tr>
<th>状态码</th>
<th>状态码含义</th>
<th>说明</th>
<th>数据模型</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td><a href="https://tools.ietf.org/html/rfc7231#section-6.3.1">OK</a></td>
<td>成功</td>
<td>Inline</td>
</tr>
</tbody>
</table>
<h3>返回数据结构</h3>
<p>状态码 <strong>200</strong></p>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>» code</td>
<td>string</td>
<td>true</td>
<td>none</td>
<td></td>
<td>none</td>
</tr>
<tr>
<td>» data</td>
<td>string</td>
<td>true</td>
<td>none</td>
<td>接收成功状态</td>
<td>code为0且data返回SUCCESS表示接收成功</td>
</tr>
<tr>
<td>» message</td>
<td>string</td>
<td>true</td>
<td>none</td>
<td></td>
<td>none</td>
</tr>
<tr>
<td>» service</td>
<td>string</td>
<td>true</td>
<td>none</td>
<td></td>
<td>none</td>
</tr>
<tr>
<td>» success</td>
<td>boolean</td>
<td>true</td>
<td>none</td>
<td></td>
<td>none</td>
</tr>
</tbody>
</table>