POST/xgh/queryXghRefund开放/回调

湘工惠-查询Xgh退款 · queryXghRefund 推断名·方法名推断

开放与对接 / 湘工惠· XghController#queryXghRefund

基本信息

  • 接口状态开放/回调用(服务端) 置信度 中 免鉴权
  • 接口URLPOSThttps://dscp-dev.hn12301.net/open-api/xgh/queryXghRefund
  • 请求方式POST
  • 暴露渠道开放/回调 前缀 /open-api
  • 名称来源方法名推断 补 javadoc 后自动转正
  • 调用方本次扫描未发现调用 不等于可以下线
  • 需求上下文查询湘工惠退款接口
  • 维护人 / 最后改动liuxu 2025-04-09 最近提交:查询湘工惠退款接口
  • 读写数据表member 反查该表全部接口 →
  • 控制器com.jxxx.dscp.api.controller.openapi.XghController#queryXghRefund
  • 源码位置jxxx-dscp/dscp-service-business/src/main/java/com/jxxx/dscp/api/controller/openapi/XghController.java:380
  • 判定依据渠道为开放/回调且有实现链路,由第三方或支付回调触发

请求参数

Header 请求参数

参数名参数值是否必填参数类型描述说明
无(渠道统一鉴权头见《认证方式》)

Query 请求参数

参数名参数值是否必填参数类型描述说明
orderId…是String

路径参数及说明

参数名参数值是否必填参数类型描述说明
无

Body 请求参数

参数名参数值是否必填参数类型描述说明
无

认证方式

免鉴权:@Route(auth = false) —— 该接口不校验登录态,改动前确认调用方与签名校验。

响应参数

data 类型 XghRefundQueryResponse
参数名参数值是否必填参数类型描述说明
refundNo…否String
channelRefundNo…否String
merchantNo…否String
channelOrderNo…否String
refundAmount…否Long
status…否Integer → member.status
amount…否Long
totalAmount…否Long
ordeBalance…否Long
refundTime…否String
settlementRefundAmount…否Long
discountRefundAmount…否Long

响应示例

成功响应示例 code=0

{
  "errcode": 0,
  "errmsg": "",
  "data": {
    "refundNo": "\"string\"",
    "channelRefundNo": "\"string\"",
    "merchantNo": "\"string\"",
    "channelOrderNo": "\"string\"",
    "refundAmount": "1",
    "status": "1",
    "amount": "1",
    "totalAmount": "1",
    "ordeBalance": "1",
    "refundTime": "\"string\"",
    "settlementRefundAmount": "1",
    "discountRefundAmount": "1"
  }
}
示例来自源码/导出内容,仅结构参考,非线上真实数据。

附录 · 实现细节

调用链 / 数据表 / 调用点证据 / 源码注释 / 逻辑摘要
涉及数据表:member 反查全部引用接口 →
  • XghController#queryXghRefund
  • XghService#refundQuery(XghServiceImpl)
由 tools/build.py 从 data/apis.json 生成 · 生成时间 2026-09-12 19:49 · 数据口径见说明 · 本页数字非手写,均来自同一份数据