文档
测试

退款结果查询

POST
/thirdparty/api/pay/syncrefund

接口描述

退款结果查询

请求参数

参数名
类型
描述
必填
refundid
string
退款唯一编号
必填

响应参数

参数名
类型
描述
必填
code
int
状态码,成功:0
必填
message
string
错误描述
必填
data
object
返回对象
必填
refundid
string
退款唯一编号
必填
payid
string
支付唯一编号
必填
orderid
string
商户订单编号
必填
orderrefundid
string
示例:
必填
transactionid
string
示例:
必填
outrefundid
string
示例:
必填
gateway
string
示例:
必填
totalfee
int
示例:0
必填
refundfee
int
示例:0
必填
shopcode
string
示例:
必填
terminalid
string
示例:
必填
operatorid
string
示例:
必填
ordertype
int
示例:0
必填
ordersubtype
string
示例:
必填
status
string
退款状态:("REQUEST", "请求发起"),("REQUEST_SUCCESS", "请求成功"),("FAIL", "退款失败"),("SUCCESS", "退款成功")
必填
refundtime
string
退款时间
必填
traceid
string
必填
now
int
当前时间戳
必填

说明 / 示例

请求参数示例: ```json { "refundid": "" } ``` 返回参数示例: ```json { "code": 0, "message": "", "data": { "refundid": "", "payid": "", "orderid": "", "orderrefundid": "", "transactionid": "", "outrefundid": "", "gateway": "", "totalfee": 0.00, "refundfee": 0.00, "shopcode": "", "terminalid": "", "operatorid": "", "ordertype": 0, "ordersubtype": "", "status": "", "refundtime": "2021-11-23 17:14:55" }, "traceid ": "aa0add714705f0a0 ", "now ": 1620984883345 } ```