GET http://order-test.hsifue.cn/refunds/detail
查询退款流水详情
参数名 | 参数类型 | 参数含义 | 是否必填 |
|---|---|---|---|
inputCharset | String(8) | 字符编码, 固定为UTF-8 | 是 |
signType | String(8) | 签名算法, 可选择SHA-256, SHA-1, MD5, 推荐使用SHA-256 | 是 |
appKey | String(32) | 应用Key | 是 |
outOrderId | String(100) | 商户订单号 | 是 |
outRefundId | String(100) | 商户退款单号 | 是 |
g_signature | String(100) | 签名 | 是 |
curl --location --request GET 'http://order-test.hsifue.cn/refunds/detail?inputCharset=UTF-8&signType=SHA-256&appKey=QI3FPWF3AGBBOYrVQtBKHpotRaFdb0HG&outOrderId=202205311110&g_signature=e7dd193ab7526f89181720ad696adec5d19042d4694f14720312eb2c66239ee8&outRefundId=202205311110' \
--header 'Content-Type: application/x-www-form-urlencoded'{
"code": "000000",
"message": "成功",
"data": {
"id": 729176452033044480,
"appKey": "QI3FPWF3AGBBOYrVQtBKHpotRaFdb0HG",
"outRefundId": "202205311110",
"orderId": "728971225367461888",
"outOrderId": "202205311110",
"refundStatus": 1,
"refundAmount": 111,
"payAmount": 1,
"approveTime": null,
"applyTime": 1654015679000,
"applyReason": "reason",
"rejectReason": null,
"refundRequestSource": 1,
"rejectTime": null
}
}参数名 | 参数含义 | 类型 |
|---|---|---|
data.id | 支付中心退款单号 | Long |
data.appKey | 应用来源 | String(32) |
data.outRefundId | 商户退款单号 | String(100) |
data.orderId | 支付中心订单号 | String(32) |
data.outOrderId | 商户订单号 | String(100) |
data.refundStatus | 退款状态: 1申请中 2已完成 3已驳回 | Integer |
data.refundAmount | 申请退款金额, 以分为单位 | Integer |
data.payAmount | 订单收款金额, 以分为单位 | Integer |
data.approveTime | 退款完成时间, Unix时间戳 | Long |
data.applyTime | 申请时间, Unix时间戳 | Long |
data.applyReason | 申请退款原因 | String(100) |
data.rejectReason | 驳回原因 | String(100) |
code | message | 备注 |
|---|---|---|
000000 | 成功 | - |
999999 | 系统异常 | - |
000008 | 签名不存在 | - |
000006 | 签名非法 | - |
000002 | 数据不存在 | 应用不存在 |