🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
~~~[api] post:/api/community/settle *string:appId#品牌ID *string:requestTime#发送请求时间,如:20190226153808 *string:signType=md5#加密方式 *version=1.0#版本号 *sign#签名 *outOrderId#外部订单号(支付时候单号) *outRefundNo#外部退款单号 *int:outOrderAmount#订单金额 (int 单位为分) 退款时:此为退款的outRefunNo对应的退款金额 *string:orderTime#交易完成时间,如:20190226153808 *string:storeId# 业务收款门店ID *tradeType#交易类型 00 消费 31 退款 *detail#订单详情 outTransactionId#外部退款流水号,退款拆单时必传 <<< success {"status":"0000","codemsg":"推送成功"} <<< error {"status":errorcode,"codemsg":error msg} ~~~ >**detail拆单订单详情:** subOrderId:子订单号 subOrderAmount:子订单金额为 --分为单位 storeId:店铺id name : 店铺名 info:支付信息 type:支付类型 payableAmount:应付金额(应退款金额) amount:实际支付金额(实际退款金额) channelsubsidy:通道贴补金额(通道贴补退款金额) service:手续费 providerSubsidy: 服务商补贴(非必填字段) orderType: 订单类型(非必填字段,默认1 商品类 ) 1 商品 2 活动 3 权益 ``` [{ "subOrderId": "sw123456789123456", "subOrderAmount": 100, "storeId": "32770", "name": "小明店铺", "orderType": "1", "info": [{ "type": "H5_cash", "payableAmount": 50, "amount": 50, "channelsubsidy": 0, "service": 5, "providerSubsidy": 0 }] }, { "subOrderId": "sw123456789123456", "subOrderAmount": 100, "storeId": "32771", "name": "小白店铺", "orderType": "1", "info": [{ "type": "H5_cash", "payableAmount": 50, "amount": 50, "channelsubsidy": 0, "service": 5, "providerSubsidy": 0 }] }] ```