public class EcommerceServiceImpl extends Object implements EcommerceService
| 构造器和说明 |
|---|
EcommerceServiceImpl() |
public ApplymentsResult createApply(ApplymentsRequest request) throws WxPayException
EcommerceService二级商户进件API 接口地址: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/ 接口文档
createApply 在接口中 EcommerceServicerequest - 请求对象WxPayException - the wx pay exceptionpublic ApplymentsStatusResult queryApplyStatusByApplymentId(String applymentId) throws WxPayException
EcommerceService
查询申请状态API
请求URL: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/{applyment_id}
接口文档
queryApplyStatusByApplymentId 在接口中 EcommerceServiceapplymentId - 申请单IDWxPayException - the wx pay exceptionpublic ApplymentsStatusResult queryApplyStatusByOutRequestNo(String outRequestNo) throws WxPayException
EcommerceService
查询申请状态API
请求URL: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/out-request-no/{out_request_no}
接口文档
queryApplyStatusByOutRequestNo 在接口中 EcommerceServiceoutRequestNo - 业务申请编号WxPayException - the wx pay exceptionpublic CombineTransactionsResult combine(TradeTypeEnum tradeType, CombineTransactionsRequest request) throws WxPayException
EcommerceService合单支付API(APP支付、JSAPI支付、H5支付、NATIVE支付). 请求URL:https://api.mch.weixin.qq.com/v3/combine-transactions/jsapi 接口文档
combine 在接口中 EcommerceServicetradeType - 支付方式request - 请求对象WxPayException - the wx pay exceptionpublic <T> T combineTransactions(TradeTypeEnum tradeType, CombineTransactionsRequest request) throws WxPayException
EcommerceService合单支付API(APP支付、JSAPI支付、H5支付、NATIVE支付). 请求URL:https://api.mch.weixin.qq.com/v3/combine-transactions/jsapi 接口文档
combineTransactions 在接口中 EcommerceServiceT - the type parametertradeType - 支付方式request - 请求对象WxPayException - the wx pay exceptionpublic CombineNotifyResult parseCombineNotifyResult(String notifyData, SignatureHeader header) throws WxPayException
EcommerceService合单支付通知回调数据处理 接口文档
parseCombineNotifyResult 在接口中 EcommerceServicenotifyData - 通知数据header - 通知头部数据,不传则表示不校验头WxPayException - the wx pay exceptionpublic CombineQueryResult queryCombine(String combineOutTradeNo) throws WxPayException
EcommerceService合单查询订单API 接口文档
queryCombine 在接口中 EcommerceServicecombineOutTradeNo - 合单商户订单号WxPayException - the wx pay exceptionpublic void closeCombine(CombineCloseRequest request) throws WxPayException
EcommerceService
合单关闭订单API
请求URL: https://api.mch.weixin.qq.com/v3/combine-transactions/out-trade-no/{combine_out_trade_no}/close
接口文档
closeCombine 在接口中 EcommerceServicerequest - 请求对象WxPayException - the wx pay exceptionpublic WxPayUnifiedOrderV3Result unifiedPartnerOrder(TradeTypeEnum tradeType, WxPayPartnerUnifiedOrderV3Request request) throws WxPayException
EcommerceService服务商模式普通支付API(APP支付、JSAPI支付、H5支付、NATIVE支付). 请求URL:https://api.mch.weixin.qq.com/v3/pay/partner/transactions/jsapi 接口文档
unifiedPartnerOrder 在接口中 EcommerceServicetradeType - 支付方式request - 请求对象WxPayException - the wx pay exceptionpublic <T> T createPartnerOrder(TradeTypeEnum tradeType, WxPayPartnerUnifiedOrderV3Request request) throws WxPayException
EcommerceService服务商模式普通支付API(APP支付、JSAPI支付、H5支付、NATIVE支付). 请求URL:https://api.mch.weixin.qq.com/v3/pay/partner/transactions/jsapi 接口文档
createPartnerOrder 在接口中 EcommerceServiceT - the type parametertradeType - 支付方式request - 请求对象WxPayException - the wx pay exceptionpublic WxPayPartnerNotifyV3Result parsePartnerNotifyResult(String notifyData, SignatureHeader header) throws WxPayException
EcommerceService普通支付通知回调数据处理 接口文档
parsePartnerNotifyResult 在接口中 EcommerceServicenotifyData - 通知数据header - 通知头部数据,不传则表示不校验头WxPayException - the wx pay exceptionpublic WxPayPartnerOrderQueryV3Result queryPartnerOrder(WxPayPartnerOrderQueryV3Request request) throws WxPayException
EcommerceService普通查询订单API 接口文档
queryPartnerOrder 在接口中 EcommerceServicerequest - 商户订单信息WxPayException - the wx pay exceptionpublic void closePartnerOrder(WxPayPartnerOrderCloseV3Request request) throws WxPayException
EcommerceService关闭普通订单API 接口文档
closePartnerOrder 在接口中 EcommerceServicerequest - 请求对象WxPayException - the wx pay exceptionpublic FundBalanceResult spNowBalance(SpAccountTypeEnum accountType) throws WxPayException
EcommerceService服务商账户实时余额 接口文档
spNowBalance 在接口中 EcommerceServiceaccountType - 服务商账户类型WxPayException - the wx pay exceptionpublic FundBalanceResult spDayEndBalance(SpAccountTypeEnum accountType, String date) throws WxPayException
EcommerceService服务商账户日终余额 接口文档
spDayEndBalance 在接口中 EcommerceServiceaccountType - 服务商账户类型date - 查询日期 2020-09-11WxPayException - the wx pay exceptionpublic FundBalanceResult subNowBalance(String subMchid) throws WxPayException
EcommerceService二级商户号账户实时余额 接口文档
subNowBalance 在接口中 EcommerceServicesubMchid - 二级商户号WxPayException - the wx pay exceptionpublic FundBalanceResult subNowBalance(String subMchid, SpAccountTypeEnum accountType) throws WxPayException
EcommerceService二级商户号账户实时余额 接口文档
subNowBalance 在接口中 EcommerceServicesubMchid - 二级商户号accountType - 账户类型WxPayException - the wx pay exceptionpublic FundBalanceResult subDayEndBalance(String subMchid, String date) throws WxPayException
EcommerceService二级商户号账户日终余额 接口文档
subDayEndBalance 在接口中 EcommerceServicesubMchid - 二级商户号date - 查询日期 2020-09-11WxPayException - the wx pay exceptionpublic ProfitSharingResult profitSharing(ProfitSharingRequest request) throws WxPayException
EcommerceService请求分账API 接口文档
profitSharing 在接口中 EcommerceServicerequest - 分账请求WxPayException - the wx pay exceptionpublic ProfitSharingResult queryProfitSharing(ProfitSharingQueryRequest request) throws WxPayException
EcommerceService查询分账结果API 接口文档
queryProfitSharing 在接口中 EcommerceServicerequest - 查询分账请求WxPayException - the wx pay exceptionpublic ProfitSharingOrdersUnSplitAmountResult queryProfitSharingOrdersUnsplitAmount(ProfitSharingOrdersUnSplitAmountRequest request) throws WxPayException
EcommerceService查询订单剩余待分金额API 接口文档
queryProfitSharingOrdersUnsplitAmount 在接口中 EcommerceServicerequest - 查询订单剩余待分金额请求WxPayException - the wx pay exceptionpublic ProfitSharingReceiverResult addReceivers(ProfitSharingReceiverRequest request) throws WxPayException
EcommerceService添加分账接收方API 接口文档
addReceivers 在接口中 EcommerceServicerequest - 添加分账接收方WxPayException - the wx pay exceptionpublic ProfitSharingReceiverResult deleteReceivers(ProfitSharingReceiverRequest request) throws WxPayException
EcommerceService删除分账接收方API 接口文档
deleteReceivers 在接口中 EcommerceServicerequest - 删除分账接收方WxPayException - the wx pay exceptionpublic ReturnOrdersResult returnOrders(ReturnOrdersRequest request) throws WxPayException
EcommerceService请求分账回退API 接口文档
returnOrders 在接口中 EcommerceServicerequest - 分账回退请求WxPayException - the wx pay exceptionpublic ReturnOrdersResult queryReturnOrders(ReturnOrdersQueryRequest request) throws WxPayException
EcommerceService查询分账回退API 接口文档
queryReturnOrders 在接口中 EcommerceServicerequest - 查询分账回退请求WxPayException - the wx pay exceptionpublic ProfitSharingResult finishOrder(FinishOrderRequest request) throws WxPayException
EcommerceService完结分账API 接口文档
finishOrder 在接口中 EcommerceServicerequest - 完结分账请求WxPayException - the wx pay exceptionpublic RefundsResult refunds(RefundsRequest request) throws WxPayException
EcommerceService退款申请API 接口文档
refunds 在接口中 EcommerceServicerequest - 退款请求WxPayException - the wx pay exceptionpublic RefundQueryResult queryRefundByRefundId(String subMchid, String refundId) throws WxPayException
EcommerceService查询退款API 接口文档
queryRefundByRefundId 在接口中 EcommerceServicesubMchid - 二级商户号refundId - 微信退款单号WxPayException - the wx pay exceptionpublic ReturnAdvanceResult refundsReturnAdvance(String subMchid, String refundId) throws WxPayException
EcommerceService垫付退款回补API 接口文档
refundsReturnAdvance 在接口中 EcommerceServicesubMchid - 二级商户号refundId - 微信退款单号WxPayException - the wx pay exceptionpublic ReturnAdvanceResult queryRefundsReturnAdvance(String subMchid, String refundId) throws WxPayException
EcommerceService查询垫付回补结果API 接口文档
queryRefundsReturnAdvance 在接口中 EcommerceServicesubMchid - 二级商户号refundId - 微信退款单号WxPayException - the wx pay exceptionpublic RefundQueryResult queryRefundByOutRefundNo(String subMchid, String outRefundNo) throws WxPayException
EcommerceService查询退款API 接口文档
queryRefundByOutRefundNo 在接口中 EcommerceServicesubMchid - 二级商户号outRefundNo - 商户退款单号WxPayException - the wx pay exceptionpublic RefundNotifyResult parseRefundNotifyResult(String notifyData, SignatureHeader header) throws WxPayException
EcommerceService退款通知回调数据处理 接口文档
parseRefundNotifyResult 在接口中 EcommerceServicenotifyData - 通知数据header - 通知头部数据,不传则表示不校验头WxPayException - the wx pay exceptionpublic WithdrawNotifyResult parseWithdrawNotifyResult(String notifyData, SignatureHeader header) throws WxPayException
EcommerceService提现状态变更通知回调数据处理 接口文档
parseWithdrawNotifyResult 在接口中 EcommerceServicenotifyData - 通知数据header - 通知头部数据,不传则表示不校验头WxPayException - the wx pay exceptionpublic SubWithdrawResult subWithdraw(SubWithdrawRequest request) throws WxPayException
EcommerceService二级商户账户余额提现API 接口文档
subWithdraw 在接口中 EcommerceServicerequest - 提现请求WxPayException - the wx pay exceptionpublic SpWithdrawResult spWithdraw(SpWithdrawRequest request) throws WxPayException
EcommerceService电商平台提现API 接口文档
spWithdraw 在接口中 EcommerceServicerequest - 提现请求WxPayException - the wx pay exceptionpublic SubWithdrawStatusResult querySubWithdrawByOutRequestNo(String subMchid, String outRequestNo) throws WxPayException
EcommerceService二级商户查询提现状态API 接口文档
querySubWithdrawByOutRequestNo 在接口中 EcommerceServicesubMchid - 二级商户号outRequestNo - 商户提现单号WxPayException - the wx pay exceptionpublic SpWithdrawStatusResult querySpWithdrawByOutRequestNo(String outRequestNo) throws WxPayException
EcommerceService电商平台查询提现状态API 接口文档
querySpWithdrawByOutRequestNo 在接口中 EcommerceServiceoutRequestNo - 商户提现单号WxPayException - the wx pay exceptionpublic SpWithdrawStatusResult querySpWithdrawByWithdrawId(String withdrawId) throws WxPayException
EcommerceService平台查询预约提现状态(根据微信支付预约提现单号查询) 接口文档
querySpWithdrawByWithdrawId 在接口中 EcommerceServicewithdrawId - 微信支付提现单号WxPayException - the wx pay exceptionpublic SubDayEndBalanceWithdrawResult subDayEndBalanceWithdraw(SubDayEndBalanceWithdrawRequest request) throws WxPayException
EcommerceService二级商户按日终余额预约提现 接口文档
subDayEndBalanceWithdraw 在接口中 EcommerceServicerequest - 提现请求WxPayException - the wx pay exceptionpublic SubDayEndBalanceWithdrawStatusResult querySubDayEndBalanceWithdraw(String subMchid, String outRequestNo) throws WxPayException
EcommerceService查询二级商户按日终余额预约提现状态 接口文档
querySubDayEndBalanceWithdraw 在接口中 EcommerceServicesubMchid - 二级商户号outRequestNo - 商户提现单号WxPayException - the wx pay exceptionpublic void modifySettlement(String subMchid, SettlementRequest request) throws WxPayException
EcommerceService修改结算账号API 接口文档
modifySettlement 在接口中 EcommerceServicesubMchid - 二级商户号。request - 结算账号WxPayException - the wx pay exceptionpublic SettlementResult querySettlement(String subMchid) throws WxPayException
EcommerceService查询结算账户API 接口文档
querySettlement 在接口中 EcommerceServicesubMchid - 二级商户号。WxPayException - the wx pay exceptionpublic TradeBillResult applyBill(TradeBillRequest request) throws WxPayException
EcommerceService请求账单API 接口文档
applyBill 在接口中 EcommerceServicerequest - 请求信息。WxPayException - the wx pay exceptionpublic FundBillResult applyFundBill(FundBillTypeEnum billType, FundBillRequest request) throws WxPayException
EcommerceService申请资金账单API 接口文档
applyFundBill 在接口中 EcommerceServicebillType - 账单类型。request - 请求信息。WxPayException - the wx pay exceptionpublic InputStream downloadBill(String url) throws WxPayException
EcommerceService下载账单API 接口文档
downloadBill 在接口中 EcommerceServiceurl - 微信返回的账单地址。WxPayException - the wx pay exceptionpublic SubsidiesCreateResult subsidiesCreate(SubsidiesCreateRequest subsidiesCreateRequest) throws WxPayException
EcommerceService请求补差API 接口文档
subsidiesCreate 在接口中 EcommerceServicesubsidiesCreateRequest - 请求补差。WxPayException - the wx pay exceptionpublic SubsidiesReturnResult subsidiesReturn(SubsidiesReturnRequest subsidiesReturnRequest) throws WxPayException
EcommerceService请求补差回退API 接口文档
subsidiesReturn 在接口中 EcommerceServicesubsidiesReturnRequest - 请求补差。WxPayException - the wx pay exceptionpublic SubsidiesCancelResult subsidiesCancel(SubsidiesCancelRequest subsidiesCancelRequest) throws WxPayException
EcommerceService取消补差API 接口文档
subsidiesCancel 在接口中 EcommerceServicesubsidiesCancelRequest - 请求补差。WxPayException - the wx pay exceptionpublic AccountCancelApplicationsResult createdAccountCancelApplication(AccountCancelApplicationsRequest accountCancelApplicationsRequest) throws WxPayException
EcommerceService提交注销申请单 接口文档
createdAccountCancelApplication 在接口中 EcommerceServiceaccountCancelApplicationsRequest - 提交注销申请单WxPayException - the wx pay exceptionpublic AccountCancelApplicationsResult getAccountCancelApplication(String outApplyNo) throws WxPayException
EcommerceService查询注销单状态 接口文档
getAccountCancelApplication 在接口中 EcommerceServiceoutApplyNo - 注销申请单号WxPayException - the wx pay exceptionpublic AccountCancelApplicationsMediaResult uploadMediaAccountCancelApplication(File imageFile) throws WxPayException, IOException
EcommerceService注销单资料图片上传 接口文档
uploadMediaAccountCancelApplication 在接口中 EcommerceServiceimageFile - 图片WxPayException - the wx pay exceptionIOExceptionCopyright © 2026. All rights reserved.