POST SuNingPay/RefundQuery
查询退款结果接口, 商户可使用该接口查询自已通过退款接口提交的退款请求是否执行成功。 若【申请退款接口】未返回最终结果退款成功(REFUNDED)或者退款失败(REFUNDFAILED),请调用此接口查询。
请求信息
请求URI参数
无
请求数据参数
退款查询信息
RefundQueryInfo名称 | 说明 | 类型 | 扩展说明 |
---|---|---|---|
store_no |
门店编码. |
字符串 |
必填 字符长度: 必须在 1 和 32 之间 |
order_no |
商户原始订单号. |
字符串 |
必填 |
refund_order_no |
商户退款订单号. |
字符串 |
必填 |
请求数据格式
application/json, text/json
例子:
{ "store_no": "sample string 1", "order_no": "sample string 2", "refund_order_no": "sample string 3" }
响应数据
资源说明
退款结果信息
ResultInfoOfRefundResultInfo名称 | 说明 | 类型 | 扩展说明 |
---|---|---|---|
code | ResultCode |
无 |
|
msg | 字符串 |
无 |
|
data | RefundResultInfo |
无 |
响应数据格式
application/json, text/json
例子:
{ "code": "SUCCESS", "msg": "sample string 1", "data": { "transaction_status": "CREATE", "error": "sample string 1", "store_no": "sample string 2", "paytype": "WECHATPAY_NATIVE", "total_amount": 3, "refund_amount": 4, "settlement_amount": 5, "cash_amount": 6, "coupon_amount": 7, "order_no": "sample string 8", "refund_order_no": "sample string 9", "operator": "sample string 10", "transaction_no": "sample string 11", "refund_transaction_no": "sample string 12", "refund_desc": "sample string 13", "refund_transaction_time": "sample string 14", "transaction_message": "sample string 15" } }