业务说明
商户可通过调用此接口,提交内容回复用户。其中上传图片凭证需首先调用【4.76 微信反馈图片上传】,得到图片id,再将id填入请求。 回复可配置文字链,传入跳转链接文案和跳转链接字段,用户点击即可跳转对应页面。
首次回复用户后,投诉单状态将由待处理更新为处理中。
请求报文
JSON:
{"request_type": "risk_complaints_resp_request","isspid": "39493002","transaction_id": "resp202406170000000001","system_id": "8888","seller_account": "66660000000000001","complaint_id": "200201820200101080076610000","response_content": "已与用户沟通解决","response_images": "file752398_7983424|file752399_7983425","jump_url": "https://www.xxx.com/aaaa","jump_url_text": "查看订单详情","sign": "2EB4051F33C84719D59E0F5EADACF5D2"}
XML:
<?xml version="1.0" encoding="GBK"?><business_trans><request_type>risk_complaints_resp_request</request_type><isspid>39493002</isspid><transaction_id>resp202406170000000001</transaction_id><system_id>8888</system_id><seller_account>66660000000000001</seller_account><complaint_id>200201820200101080076610000</complaint_id><response_content>已与用户沟通解决</response_content><response_images>file752398_7983424|file752399_7983425</response_images><jump_url><![CDATA[https://www.xxx.com/aaaa]]></jump_url><jump_url_text>查看订单详情</jump_url_text></business_trans>
请求报文说明
| 节点名称 | 中文名称 | 类型 | 说明 | 是否必填 |
|---|---|---|---|---|
| sign | 报文签名 | String(32) | 请求报文格式为JSON时必填 计算签名方式请看2.1章节 | 可空 |
| request_type | 请求类型 | String(32) | 固定值:risk_complaints_resp_request | 必填 |
| isspid | 商户号 | String(8) | 翼码商户号,由翼码提供 | 必填 |
| transaction_id | 请求流水号 | String(32) | 必填 | |
| system_id | 系统平台号 | String(4) | 由翼码提供 | 必填 |
| seller_account | 收款账户编号 | String(64) | 必填 | |
| complaint_id | 投诉单号 | String(64) | 必填 | |
| response_content | 回复内容 | String(200) | 具体的投诉处理方案 | 必填 |
| response_images | 回复图片 | String | 微信反馈图片上传返回的media_id 多张图片以竖线“|”分隔,最多支持4张图片 | 可空 |
| jump_url | 跳转链接 | String(512) | 商户可在回复中附加跳转链接,引导用户跳转至商户客诉处理页面,链接需满足HTTPS格式。 XML报文时使用CDATA标签包裹 | 可空 |
| jump_url_text | 跳转链接文案 | String(10) | 实际展示给用户的文案,附在回复内容之后。用户点击文案,即可进行跳转。 注:若传入跳转链接,则跳转链接文案为必传项,二者缺一不可。 | 可空 |
返回报文
JSON:
{"response_type": "risk_complaints_resp_response","isspid": "39493002","transaction_id": "resp202406170000000001","seller_account": "66660000000000001","complaint_id": "200201820200101080076610000","result": {"id": "0000","comment": "回复成功"},"sign": "824FE953936278AEE61CA8CEE8A08C86"}
XML:
<?xml version="1.0" encoding="GBK"?><business_trans><response_type>risk_complaints_resp_response</response_type><isspid>39493002</isspid><transaction_id>resp202406170000000001</transaction_id><seller_account>66660000000000001</seller_account><complaint_id>200201820200101080076610000</complaint_id><result><id>0000</id><comment>回复成功</comment></result></business_trans>
返回报文说明
标准接口会因业务升级需要而新增节点,请在解析返回报文时避免新增未知节点产生的程序出错!
| 节点名称 | 中文名称 | 类型 | 说明 | 是否必填 |
|---|---|---|---|---|
| sign | 报文签名 | String(32) | 返回报文格式为JSON时必填 计算签名方式请看2.1章节 | 可选 |
| response_type | 返回类型 | String(32) | 固定值:risk_complaints_resp_response | 必填 |
| isspid | 商户号 | String(8) | 翼码商户号,由翼码提供 | 必填 |
| transaction_id | 请求流水号 | String(32) | 与请求报文相同 | 必填 |
| seller_account | 收款账户编号 | String(64) | 与请求报文相同 | 必填 |
| complaint_id | 投诉单号 | String(64) | 与请求报文相同 | 必填 |
| result ->id | 响应码 | String(4) | 0000:回复成功 其它失败,错误信息说明见“响应码解释”字段 | 必填 |
| result ->comment | 响应码解释 | String(64) | 响应码对应中文注解,用于显示提示 | 必填 |
标准接口会因业务升级需要而新增节点,请在解析返回报文时避免新增未知节点产生的程序出错!


