接口描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期 备注

请求URL:

  • {{mchHost}}/api/refundOrder

请求方式:

  • GET

请求参数:

参数名 说明
pageNumber/pageSize 标准分页参数
appId 根据appId查询

返回数据说明:

参数名 说明
ifCode 接口代码
payOrderId 支付订单号
createdAt 发起时间
payAmount 支付金额
appId 应用ID
successTime 成功时间
currency 币种
state 退款状态:0-订单生成,1-退款中,2-退款成功,3-退款失败,4-退款任务关闭
channelPayOrderNo 渠道订单号
mchNo 商户号
refundAmount 退款金额
refundReason 原因
mchName 商户名称
wayCode 支付方式名称
expiredTime 过期时间
refundOrderId 退款单号
mchType 商户类型
mchRefundNo 商户退款单号

返回示例:

{
    "msg": "SUCCESS",
    "code": 0,
    "data": {
        "total": 1,
        "current": 1,
        "records": [
            {
                "ifCode": "alipay",
                "payOrderId": "P1475735448320897025",
                "isvNo": "V1639720784",
                "createdAt": "2022-01-14 11:37:00",
                "payAmount": 100,
                "appId": "61bc27a7f59007d3714722ad",
                "successTime": "2022-01-14 11:37:01",
                "currency": "CNY",
                "state": 2,
                "channelPayOrderNo": "2021122822001445700502162927",
                "mchNo": "M1639720870",
                "refundAmount": 10,
                "updatedAt": "2022-01-14 11:37:00",
                "refundReason": "0.1",
                "mchName": "子商户A",
                "wayCode": "ALI_JSAPI",
                "expiredTime": "2022-01-14 13:37:01",
                "refundOrderId": "R1481832696763047937",
                "mchType": 2,
                "clientIp": "192.168.0.199",
                "mchRefundNo": "M1481832696339443713"
            }
        ],
        "hasNext": false
    }
}

备注:

-

文档更新时间: 2022-01-14 11:40   作者:马腾飞