说明

商户流水查询

请求地址

环境 请求地址
测试环境 https://m.umxnt.com/api/merchant/order_query
正式环境

请求参数

参数 类型 是否必填 最大长度 描述
token string 令牌
out_trade_no string 订单号
page int 第几页默认 第一页
number int 返回数量模式10条
status int 订单状态,1-成功,2-取消或失败,3-已退款,4 -关闭默认是-1,具体可查支付状态接口
type_source tring 支付宝-alipay,微信-weixin,京东-jd
time_start string 开始时间:2017-08-24 13:32:30
time_end string 结束时间:2017-08-24 13:32:30
  • 返回值示例 成功请求示例:

    {
      "status": 1,
      "data": {
        "merchant": [
          {
            "merchant_name": "戴明康",
            "id": 2215,
            "out_trade_no": "150460499837442",
            "trade_no": "2017090521001004660224887610",
            "store_id": "o20173145000",
            "merchant_id": 17,
            "type": 1000,
            "type_desc": "官方支付宝",
            "total_amount": "0.01",
            "shop_price": "0.01",
            "hb_fq_num": 0,
            "hb_fq_seller_percent": 0,
            "hb_fq_sxf": 0,
            "buyer_id": null,
            "status": "TRADE_SUCCESS",
            "status_desc": "支付成功",
            "remark": null,
            "pay_status": 1,
            "cost_rate": null,
            "service_rate": null,
            "created_at": "2017-09-05 17:49:59",
            "updated_at": "2017-09-05 17:49:59"
          }
        ]
      }
    }
    
  • 返回参数说明

参数 类型 是否必填 描述
merchant_name string 买家支付宝账号
out_trade_no string 订单号
shop_price string 商品价格
type_desc string 支付类型
total_amount string 最终支付金额
merchant_name string 收银员名称
  • 失败请求示例

    {
        "msg":"无效参数",
        "status":0
    }
    

results matching ""

    No results matching ""