💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 2.6交易统计 ~~~[api] get:api/merchant/order_count *string:token=默认值#商户登录令牌 *time_start#开始时间 *time_end#结束时间 store_id#门店ID merchant_id#收银员id ways_source#支付类型(weixin-微信支付;alipay-支付宝支付;member-会员卡支付;applet-小程序支付;alipay_face-支付宝刷脸;weixin_face-微信刷脸) time_type=2#时间类型(1-时间条件的首末点;2-当前时间点) return_type=01#返回类型(02-附加流水详情) pay_status#支付状态(1-'支付成功'; 2-'等待支付'; 3-'支付失败'; 4-'关闭'; 5-'退款中'; 6-'已退款'; 7-'有退款') device_id#设备id <<< success { "status": 1, "message": "数据返回成功", "order_data": [], "data": { "total_amount": "37.62", //交易金额 "total_count": "180", //交易笔数 "refund_count": "45", //退款笔数 "get_amount": "15.07", //商家实收 "refund_amount": "20.35", //退款金额 "receipt_amount": "15.00", //实际净额 "fee_amount": "0.07", //服务费or手续费 "mdiscount_amount": "0.00", //商家优惠金额 "member_amount": "2.20", //会员卡支付金额 "alipay_total_amount": "0.62", //支付宝交易金额 "alipay_total_count": "62", //支付宝交易笔数 "alipay_refund_count": "19", //支付宝退款笔数 "alipay_get_amount": "0.43", //支付宝商家实收 "alipay_refund_amount": "0.19", //支付宝退款金额 "alipay_receipt_amount": "0.43", //支付宝实际净额 "alipay_fee_amount": "0.00", //支付宝手续费 "alipay_mdiscount_amount": "0.00", //支付宝商家优惠金额 "weixin_total_amount": "34.79", //微信交易金额 "weixin_total_count": "95", //微信交易笔数 "weixin_refund_count": "26", //微信退款笔数 "weixin_get_amount": "14.63", //微信商家实收 "weixin_refund_amount": "20.16", //微信退款金额 "weixin_receipt_amount": "14.56", //微信实际净额 "weixin_fee_amount": "0.07", //微信手续费 "weixin_mdiscount_amount": "0.00", //微信商家优惠金额 "jd_total_amount": "0.00", //京东交易金额 "jd_total_count": "0", //京东交易笔数 "jd_refund_count": "0", //京东退款笔数 "jd_get_amount": "0.00", //京东商家实收 "jd_refund_amount": "0.00", //京东退款金额 "jd_receipt_amount": "0.00", //京东实际净额 "jd_fee_amount": "0.00", //京东手续费 "jd_mdiscount_amount": "0.00", //京东优惠金额 "un_total_amount": "0.00", //银联刷卡交易金额 "un_total_count": "0", //银联刷卡交易笔数 "un_refund_count": "0", //银联刷卡退款笔数 "un_get_amount": "0.00", //银联刷卡商家实收 "un_refund_amount": "0.00", //银联刷卡退款金额 "un_receipt_amount": "0.00", //银联刷卡实际净额 "un_fee_amount": "0.00", //银联刷卡手续费 "un_mdiscount_amount": "0.00", //银联刷卡商家优惠金额 "unqr_total_amount": "0.00", //银联扫码交易金额 "unqr_total_count": "0", //银联扫码交易笔数 "unqr_refund_count": "0", //银联扫码退款笔数 "unqr_get_amount": "0.00", //银联扫码商家实收 "unqr_refund_amount": "0.00", //银联扫码退款金额 "unqr_receipt_amount": "0.00", //银联扫码实际净额 "unqr_fee_amount": "0.00", //银联扫码手续费 "unqr_mdiscount_amount": "0.00", //银联扫码商家优惠 "hbfq_total_amount": "0.00", // "hbfq_total_count": "0", // "hbfq_refund_count": "0", // "hbfq_get_amount": "0.00", // "hbfq_refund_amount": "0.00", // "hbfq_receipt_amount": "0.00", // "hbfq_fee_amount": "0.00", // "hbfq_mdiscount_amount": "0.00", // "member_total_amount": "2.20", //会员卡支付交易金额 "member_total_count": "22", //会员卡支付交易笔数 "member_refund_count": "0", //会员卡支付退款笔数 "member_get_amount": "2.20", //会员卡支付商家实收 "member_refund_amount": "0.00", //会员卡支付退款金额 "member_receipt_amount": "2.20", //会员卡支付实际净额 "member_fee_amount": "0.00", //会员卡支付手续费 "member_mdiscount_amount": "0.00", //会员卡支付商家优惠 "member_total_deduction": "0.00", //会员卡支付会员积分抵扣总值 "alipay_face_total_amount": "0.13", //支付宝刷脸交易金额 "alipay_face_total_count": "13", //支付宝刷脸交易笔数 "alipay_face_refund_count": "5", //支付宝刷脸退款笔数 "alipay_face_get_amount": "0.08", //支付宝刷脸商家实收 "alipay_face_refund_amount": "0.05", //支付宝刷脸退款金额 "alipay_face_receipt_amount": "0.08", //支付宝刷脸实际净额 "alipay_face_fee_amount": "0.00", //支付宝刷脸手续费 "alipay_face_mdiscount_amount": "0.00", //支付宝刷脸商家优惠 "weixin_face_total_amount": "34.13", //微信刷脸交易金额 "weixin_face_total_count": "30", //微信刷脸交易笔数 "weixin_face_refund_count": "11", //微信刷脸退款笔数 "weixin_face_get_amount": "14.12", //微信刷脸商家实收 "weixin_face_refund_amount": "20.01", //微信刷脸退款金额 "weixin_face_receipt_amount": "14.05", //微信刷脸实际净额 "weixin_face_fee_amount": "0.07", //微信刷脸手续费 "weixin_face_mdiscount_amount": "0.00", //微信刷脸商家优惠 "print_id": "9"   } } <<< error ~~~