**说明**
退款查询
**请求地址**
~~~
"/api/devicepay/refund_query"
~~~
**请求参数**
| 参数 | 类型 | 是否必填 | 最大长度 | 描述 |
| --- | --- | --- | --- | --- |
| store\_id | string | 是 | | 门店ID |
| merchant\_id | string | 是 | | 收银员ID |
| refund\_no | string | 是 | | 退款单号 |
| device\_id | string | 是 | | 设备ID |
| device\_type | string | 是 | | 设备类型 |
| sign | string | 是 | | 签名 |
* 返回值示例 成功请求示例:
~~~
{
"return_code": "SUCCESS",
"return_msg": "返回成功",
"result_code": "SUCCESS",
"result_msg": "退款成功",
"store_id": "2018061205492993161",
"out_trade_no": "ali_scan20190108114023233259844",
"other_no": "1546918823",
"sign": "e1072934494b4ab8db0319586cb13262"
}
~~~
* 返回状态说明
| 参数 | 说明 |
| --- | --- |
| return\_code | SUCCESS/FALL 此字段是通信标识 |
| return\_msg | 返回成功/返回失败 |
| result\_code | SUCCESS/FALL/USERPAYING 退款状态 |
| result\_msg | 退款成功/失败/处理中 |
| store\_id | 门店id |
| out\_trade\_no | 平台外部单号 |
* 失败请求示例
~~~
{
"return_code": "FALL",
"return_msg": "验证不通过",
"sign": "6e18dfc643802a38d78568ba59333b5f"
}
~~~