限定符和类型 | 方法和说明 |
---|---|
protected void |
EntPayRedpackQueryRequest.checkConstraints() |
protected void |
EntPayRedpackRequest.checkConstraints() |
protected void |
EntPayBankRequest.checkConstraints() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
EntWxEmpPayRequest.checkConstraints() |
限定符和类型 | 方法和说明 |
---|---|
void |
WxPayOrderNotifyResult.checkResult(WxPayService wxPayService,
String signType,
boolean checkSuccess) |
void |
WxPayRefundNotifyResult.decryptReqInfo(String mchKey)
解密并解析reqInfo
|
static WxPayRefundNotifyResult |
WxPayRefundNotifyResult.fromXML(String xmlString,
String mchKey)
从xml字符串创建bean对象.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
ProfitSharingReturnQueryRequest.checkConstraints() |
protected void |
ProfitSharingReturnRequest.checkConstraints() |
protected void |
ProfitSharingMerchantRatioQueryRequest.checkConstraints() |
protected void |
ProfitSharingOrderAmountQueryRequest.checkConstraints() |
protected void |
ProfitSharingQueryRequest.checkConstraints() |
protected void |
ProfitSharingReceiverRequest.checkConstraints() |
protected void |
ProfitSharingRequest.checkConstraints() |
限定符和类型 | 方法和说明 |
---|---|
void |
WxPayRefundRequest.checkAndSign(WxPayConfig config) |
void |
WxPayUnifiedOrderRequest.checkAndSign(WxPayConfig config) |
void |
BaseWxPayRequest.checkAndSign(WxPayConfig config)
检查参数,并设置签名.
1、检查参数(注意:子类实现需要检查参数的而外功能时,请在调用父类的方法前进行相应判断)
2、补充系统参数,如果未传入则从配置里读取
3、生成签名,并设置进去
|
protected void |
WxPayQueryExchangeRateRequest.checkConstraints() |
protected void |
WxWithholdOrderQueryRequest.checkConstraints() |
protected void |
WxTerminatedContractRequest.checkConstraints() |
protected void |
WxSignQueryRequest.checkConstraints() |
protected void |
WxWithholdRequest.checkConstraints() |
protected void |
WxPayEntrustRequest.checkConstraints() |
protected void |
WxH5EntrustRequest.checkConstraints() |
protected void |
WxMaEntrustRequest.checkConstraints() |
protected void |
WxMpEntrustRequest.checkConstraints() |
protected void |
WxPayQueryCommentRequest.checkConstraints()
检查约束情况.
|
protected void |
WxPayOrderReverseRequest.checkConstraints() |
protected void |
WxPayDownloadFundFlowRequest.checkConstraints() |
protected void |
WxPayDownloadBillRequest.checkConstraints() |
protected void |
WxPayRefundQueryRequest.checkConstraints() |
protected void |
WxPayRefundRequest.checkConstraints() |
protected void |
WxPayUnifiedOrderRequest.checkConstraints() |
protected abstract void |
BaseWxPayRequest.checkConstraints()
检查约束情况.
|
protected void |
WxPayOrderQueryRequest.checkConstraints() |
限定符和类型 | 方法和说明 |
---|---|
void |
WxSignStatusNotifyResult.checkResult(WxPayService wxPayService,
String signType,
boolean checkSuccess) |
void |
WxWithholdNotifyResult.checkResult(WxPayService wxPayService,
String signType,
boolean checkSuccess) |
void |
WxPaySendRedpackResult.checkResult(WxPayService wxPayService,
String signType,
boolean checkSuccess) |
void |
WxPayEntrustResult.checkResult(WxPayService wxPayService,
String signType,
boolean checkSuccess)
校验返回结果签名.
|
void |
BaseWxPayResult.checkResult(WxPayService wxPayService,
String signType,
boolean checkSuccess)
校验返回结果签名.
|
限定符和类型 | 方法和说明 |
---|---|
org.apache.http.impl.client.CloseableHttpClient |
WxPayConfig.initApiV3HttpClient()
初始化api v3请求头 自动签名验签
方法参照微信官方https://github.com/wechatpay-apiv3/wechatpay-apache-httpclient
|
SSLContext |
WxPayConfig.initSSLContext()
初始化ssl.
|
限定符和类型 | 方法和说明 |
---|---|
WxPayException |
WxPayException.Builder.build()
Build wx pay exception.
|
static WxPayException |
WxPayException.from(BaseWxPayResult payBaseResult)
通过BaseWxPayResult生成异常对象.
|
限定符和类型 | 方法和说明 |
---|---|
ComplaintNotifyUrlResult |
ComplaintService.addComplaintNotifyUrl(ComplaintNotifyUrlRequest request)
创建投诉通知回调地址API
商户通过调用此接口创建投诉通知回调URL,当用户产生新投诉且投诉状态已变更时,微信支付会通过回 调URL通知商户。
|
ProfitSharingReceiverResult |
ProfitSharingService.addReceiver(ProfitSharingReceiverRequest request)
服务商代子商户发起添加分账接收方请求,后续可通过发起分账请求将结算后的钱分到该分账接收方。
|
ProfitSharingReceiverResult |
EcommerceService.addReceivers(ProfitSharingReceiverRequest request)
添加分账接收方API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_7.shtml
|
ProfitSharingReceiverV3Result |
ProfitSharingService.addReceiverV3(ProfitSharingReceiverV3Request request)
添加分账接收方API
商户发起添加分账接收方请求,建立分账接收方列表。
|
TradeBillResult |
EcommerceService.applyBill(TradeBillRequest request)
请求账单API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/bill.shtml
|
DetailElectronicBillResult |
MerchantTransferService.applyDetailElectronicBill(DetailElectronicBillRequest request)
转账明细电子回单受理API
适用对象:直连商户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_9.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer-detail/electronic-receipts
请求方式:POST
接口限频: 单个商户 20QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
ElectronicBillResult |
MerchantTransferService.applyElectronicBill(ElectronicBillApplyRequest request)
转账电子回单申请受理API
适用对象:直连商户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_7.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer/bill-receipt
请求方式:POST
接口限频: 单个商户 20QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
FundBillResult |
EcommerceService.applyFundBill(FundBillTypeEnum billType,
FundBillRequest request)
申请资金账单API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/bill/chapter3_2.shtml
|
WxPayApplyBillV3Result |
WxPayService.applyFundFlowBill(WxPayApplyFundFlowBillV3Request request)
申请资金账单API
微信支付按天提供微信支付账户的资金流水账单文件,商户可以通过该接口获取账单文件的下载地址。
|
ApplySubjectConfirmCreateResult |
Apply4SubjectConfirmService.applyment(ApplySubjectConfirmCreateRequest request)
提交申请单
详情请见: 间连商户开户意愿确认(提交申请单)
|
WxPartnerPayScoreResult |
PartnerPayScoreService.applyServiceAccount(WxPartnerPayScoreRequest request)
收付通子商户申请绑定支付分服务API.
|
WxPayApplyBillV3Result |
WxPayService.applyTradeBill(WxPayApplyTradeBillV3Request request)
申请交易账单API
微信支付按天提供交易账单文件,商户可以通过该接口获取账单文件的下载地址。
|
CitiesResult |
BankService.areasCities(Integer provinceCode)
查询城市列表API
通过本接口根据省份编码获取省份下的城市列表信息,不包含中国港澳台地区城市信息,可用于支行数据过滤查询
请求方式:GET(HTTPS)
请求地址:https://api.mch.weixin.qq.com/v3/capital/capitallhh/areas/provinces/{province_code}/cities
文档地址:https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter11_2_5.shtml
|
ProvincesResult |
BankService.areasProvinces()
查询省份列表API
通过本接口获取省份列表数据(不包含中国港澳台地区),可用于省份下的城市数据查询
请求方式:GET(HTTPS)
请求地址:https://api.mch.weixin.qq.com/v3/capital/capitallhh/areas/provinces
文档地址:https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter11_2_4.shtml
|
String |
WxPayService.authcode2Openid(String authCode)
授权码查询OPENID接口.
|
String |
WxPayService.authcode2Openid(WxPayAuthcode2OpenidRequest request)
授权码查询OPENID接口.
|
BankBranchesResult |
BankService.bankBranches(String bankAliasCode,
Integer cityCode,
Integer offset,
Integer limit)
查询支行列表API
本接口可以用于根据银行别名编码(仅支持需要填写支行的银行别名编码)和城市编码过滤查询支行列表数据
请求方式:GET(HTTPS)
请求地址:https://api.mch.weixin.qq.com/v3/capital/capitallhh/banks/{bank_alias_code}/branches
文档地址:https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter11_2_5.shtml
|
<T extends WxPayBaseNotifyV3Result<E>,E> |
WxPayService.baseParseOrderNotifyV3Result(String notifyData,
SignatureHeader header,
Class<T> resultType,
Class<E> dataType)
支付服务商和直连商户两种模式
详见https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_5.shtml
|
PartnerTransferResult |
PartnerTransferService.batchTransfer(PartnerTransferRequest request)
发起批量转账API
适用对象:服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter3_1.shtml
请求URL:https://api.mch.weixin.qq.com/v3/partner-transfer/batches
请求方式:POST
接口限频:单个服务商 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
String |
MarketingBusiFavorService.buildBusiFavorCouponinfoUrl(BusiFavorCouponsUrlRequest request)
商家券接口-H5发券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_4_1.shtml
接口链接:https://action.weixin.qq.com/busifavor/getcouponinfo
|
void |
Apply4SubjectConfirmService.cancelApplyByApplymentId(String applymentId)
撤销申请单
详情请见: 撤销申请单API
|
void |
Apply4SubjectConfirmService.cancelApplyByBusinessCode(String businessCode)
撤销申请单
详情请见: 撤销申请单API
|
WxPayScoreResult |
PayScoreService.cancelServiceOrder(String outOrderNo,
String reason)
支付分取消订单API.
|
WxPartnerPayScoreResult |
PartnerPayScoreService.cancelServiceOrder(String serviceId,
String appId,
String subMchid,
String outOrderNo,
String reason)
支付分取消订单API.
|
void |
WxPayService.closeCombine(CombineCloseRequest request)
合单关闭订单API
请求URL: https://api.mch.weixin.qq.com/v3/combine-transactions/out-trade-no/{combine_out_trade_no}/close
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_12.shtml
|
WxPayOrderCloseResult |
WxPayService.closeOrder(String outTradeNo)
关闭订单.
|
WxPayOrderCloseResult |
WxPayService.closeOrder(WxPayOrderCloseRequest request)
关闭订单(适合于需要自定义子商户号和子商户appid的情形).
|
void |
WxPayService.closeOrderV3(String outTradeNo)
关闭订单
应用场景
以下情况需要调用关单接口:
1、商户订单支付失败需要生成新单号重新发起支付,要对原订单号调用关单,避免重复支付;
2、系统下单后,用户支付超时,系统退出不再受理,避免用户继续,请调用关单接口。
|
void |
WxPayService.closeOrderV3(WxPayOrderCloseV3Request request)
关闭订单
应用场景
以下情况需要调用关单接口:
1、商户订单支付失败需要生成新单号重新发起支付,要对原订单号调用关单,避免重复支付;
2、系统下单后,用户支付超时,系统退出不再受理,避免用户继续,请调用关单接口。
|
void |
WxPayService.closePartnerOrderV3(String outTradeNo)
服务商关闭订单
应用场景
以下情况需要调用关单接口:
1、商户订单支付失败需要生成新单号重新发起支付,要对原订单号调用关单,避免重复支付;
2、系统下单后,用户支付超时,系统退出不再受理,避免用户继续,请调用关单接口。
|
void |
WxPayService.closePartnerOrderV3(WxPayPartnerOrderCloseV3Request request)
服务商关闭订单
应用场景
以下情况需要调用关单接口:
1、商户订单支付失败需要生成新单号重新发起支付,要对原订单号调用关单,避免重复支付;
2、系统下单后,用户支付超时,系统退出不再受理,避免用户继续,请调用关单接口。
|
String |
EcommerceService.closePartnerTransactions(PartnerTransactionsCloseRequest request)
关闭普通订单API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/e_transactions/chapter3_6.shtml
|
TransactionsResult |
EcommerceService.combine(TradeTypeEnum tradeType,
CombineTransactionsRequest request)
合单支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
|
CombineTransactionsResult |
WxPayService.combine(TradeTypeEnum tradeType,
CombineTransactionsRequest request)
合单支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
|
<T> T |
EcommerceService.combineTransactions(TradeTypeEnum tradeType,
CombineTransactionsRequest request)
合单支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
|
<T> T |
WxPayService.combineTransactions(TradeTypeEnum tradeType,
CombineTransactionsRequest request)
合单支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
|
void |
ComplaintService.complete(CompleteRequest request)
反馈处理完成API
商户可通过调用此接口,反馈投诉单已处理完成。
|
void |
PartnerPayScoreService.completeServiceOrder(WxPartnerPayScoreRequest request)
支付分完结订单API.
|
WxPayScoreResult |
PayScoreService.completeServiceOrder(WxPayScoreRequest request)
支付分完结订单API.
|
BankingResult |
BankService.corporateBanking(Integer offset,
Integer limit)
支持对公业务的银行列表
请求方式:GET(HTTPS)
请求地址:https://api.mch.weixin.qq.com/v3/capital/capitallhh/banks/corporate-banking
文档地址:https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter11_2_3.shtml
|
ApplymentsResult |
EcommerceService.createApply(ApplymentsRequest request)
二级商户进件API
接口地址: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_1_8.shtml
|
WxPayApplymentCreateResult |
Applyment4SubService.createApply(WxPayApplyment4SubCreateRequest request)
提交申请单API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/applyment4sub/chapter3_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/applyment4sub/applyment/
|
BrandTransferBatchesResult |
BrandMerchantTransferService.createBrandTransfer(BrandTransferBatchesRequest request)
品牌商户发放红包API
适用对象:直连商户
文档详见:
请求URL:https://api.mch.weixin.qq.com/v3/fund-app/brand-redpacket/brand-merchant-batches
请求方式:POST
接口限频: 单个商户 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BusiFavorCallbacksResult |
MarketingBusiFavorService.createBusiFavorCallbacks(BusiFavorCallbacksRequest request)
商家券接口-设置商家券事件通知地址 API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_7.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/callbacks
|
BusiFavorStocksCreateResult |
MarketingBusiFavorService.createBusiFavorStocksV3(BusiFavorStocksCreateRequest request)
商家券接口-创建商家券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks
|
FavorCouponsCreateResult |
MarketingFavorService.createFavorCouponsV3(String openid,
FavorCouponsCreateRequest request)
代金券接口-发放代金券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons
|
FavorStocksCreateResult |
MarketingFavorService.createFavorStocksV3(FavorStocksCreateRequest request)
代金券接口-创建代金券批次API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/coupon-stocks
|
<T> T |
WxPayService.createOrder(WxPayConstants.TradeType.Specific<T> specificTradeType,
WxPayUnifiedOrderRequest request)
调用统一下单接口,并组装生成支付所需参数对象.
|
<T> T |
WxPayService.createOrder(WxPayUnifiedOrderRequest request)
调用统一下单接口,并组装生成支付所需参数对象.
|
<T> T |
WxPayService.createOrderV3(TradeTypeEnum tradeType,
WxPayUnifiedOrderV3Request request)
调用统一下单接口,并组装生成支付所需参数对象.
|
<T> T |
WxPayService.createPartnerOrderV3(TradeTypeEnum tradeType,
WxPayPartnerUnifiedOrderV3Request request)
服务商模式调用统一下单接口,并组装生成支付所需参数对象.
|
WxPartnerPayScoreSignPlanResult |
PartnerPayScoreSignPlanService.createPlans(WxPartnerPayScoreSignPlanRequest request)
description:创建支付分计划
author:UltramanNoa
create Time: 2023/11/3 11:58
version: v.1.0
|
WxPartnerPayScoreResult |
PartnerPayScoreService.createServiceOrder(WxPartnerPayScoreRequest request)
支付分创建订单API.
|
WxPayScoreResult |
PayScoreService.createServiceOrder(WxPayScoreRequest request)
支付分创建订单API.
|
TransferCreateResult |
MerchantTransferService.createTransfer(TransferCreateRequest request)
发起商家转账API
适用对象:直连商户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_1.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer/batches
请求方式:POST
接口限频: 单个商户 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
WxPartnerPayScoreUserSignPlanResult |
PartnerPayScoreSignPlanService.createUserSignPlans(WxPartnerPayScoreSignPlanRequest request)
description: 创建用户的签约计划
author:UltramanNoa
create Time: 2023/11/3 17:48
version: v.1.0
|
BusiFavorCouponsDeactivateResult |
MarketingBusiFavorService.deactiveBusiFavorCoupons(BusiFavorCouponsDeactivateRequest request)
商家券接口-使券失效API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_15.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/deactivate
|
DeclarationResult |
CustomDeclarationService.declare(DeclarationRequest request)
报关API
文档地址: ...
|
WxPartnerPayScoreResult |
PartnerPayScoreService.decryptNotifyDataResource(PayScoreNotifyData data)
支付分回调NotifyData解密resource
|
WxPayScoreResult |
PayScoreService.decryptNotifyDataResource(PayScoreNotifyData data)
支付分回调NotifyData解密resource
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_2.shtml
|
FavorCouponsUseResult |
MarketingFavorService.decryptNotifyDataResource(UseNotifyData data) |
PaidResult |
BusinessCircleService.decryptPaidNotifyDataResource(BusinessCircleNotifyData data) |
RefundResult |
BusinessCircleService.decryptRefundNotifyDataResource(BusinessCircleNotifyData data) |
void |
ComplaintService.deleteComplaintNotifyUrl()
删除投诉通知回调地址API
当商户不再需要推送通知时,可通过调用此接口删除投诉通知的回调URL,取消通知回调。
|
ProfitSharingReceiverResult |
EcommerceService.deleteReceivers(ProfitSharingReceiverRequest request)
删除分账接收方API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_8.shtml
|
String |
WxPayService.deleteV3(String url)
发送delete V3请求,得到响应字符串.
|
InputStream |
EcommerceService.downloadBill(String url)
下载账单API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/bill.shtml
|
InputStream |
WxPayService.downloadBill(String url)
下载账单API
下载账单API为通用接口,交易/资金账单都可以通过该接口获取到对应的账单。
|
WxPayBillResult |
WxPayService.downloadBill(String billDate,
String billType,
String tarType,
String deviceInfo)
下载对账单.
|
WxPayBillResult |
WxPayService.downloadBill(WxPayDownloadBillRequest request)
下载对账单(适合于需要自定义子商户号和子商户appid的情形).
|
WxPayFundFlowResult |
WxPayService.downloadFundFlow(String billDate,
String accountType,
String tarType)
下载资金账单.
|
WxPayFundFlowResult |
WxPayService.downloadFundFlow(WxPayDownloadFundFlowRequest request)
下载资金账单.
|
String |
WxPayService.downloadRawBill(String billDate,
String billType,
String tarType,
String deviceInfo)
下载对账单.
|
String |
WxPayService.downloadRawBill(WxPayDownloadBillRequest request)
下载对账单(适合于需要自定义子商户号和子商户appid的情形).
|
InputStream |
WxPayService.downloadV3(String url)
发送下载 V3请求,得到响应流.
|
EntPayResult |
EntPayService.entPay(EntPayRequest request)
企业付款API.
|
WxPayFacepayResult |
WxPayService.facepay(WxPayFacepayRequest request)
提交刷脸支付.
|
ProfitSharingResult |
EcommerceService.finishOrder(FinishOrderRequest request)
完结分账API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_5.shtml
|
FundBalanceResult |
PartnerTransferService.fundBalance(SpAccountTypeEnum accountType)
查询账户实时余额API
接口说明
适用对象:直连商户 服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter5_1.shtml
请求URL:https://api.mch.weixin.qq.com/v3/merchant/fund/balance/{account_type}
请求方式:GET
|
BusiFavorStocksGetResult |
MarketingBusiFavorService.getBusiFavorStocksV3(String stockId)
商家券接口-查询商家券详情API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}
|
ComplaintDetailResult |
ComplaintService.getComplaint(ComplaintDetailRequest request)
查询投诉单详情API
商户可通过调用此接口,查询指定投诉单的用户投诉详情,包含投诉内容、投诉关联订单、投诉人联系方式等信息,方便商户处理投诉。
|
ComplaintNotifyUrlResult |
ComplaintService.getComplaintNotifyUrl()
查询投诉通知回调地址API
商户通过调用此接口查询投诉通知的回调URL。
|
FavorCouponsGetResult |
MarketingFavorService.getFavorCouponsV3(String couponId,
String appid,
String openid)
代金券接口-查询代金券详情API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_6.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons/{coupon_id}
|
FavorStocksItemsGetResult |
MarketingFavorService.getFavorStocksItemsV3(String stockId,
String stockCreatorMchid,
Integer offset,
Integer limit)
代金券接口-查询代金券可用单品API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_8.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/items
|
FavorStocksMerchantsGetResult |
MarketingFavorService.getFavorStocksMerchantsV3(String stockId,
String stockCreatorMchid,
Integer offset,
Integer limit)
代金券接口-查询代金券可用商户API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_7.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/merchants
|
FavorStocksFlowGetResult |
MarketingFavorService.getFavorStocksRefundFlowV3(String stockId)
代金券接口-下载批次退款明细API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_11.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/refund-flow
|
FavorStocksFlowGetResult |
MarketingFavorService.getFavorStocksUseFlowV3(String stockId)
代金券接口-下载批次核销明细API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_10.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/use-flow
|
FavorStocksGetResult |
MarketingFavorService.getFavorStocksV3(String stockId,
String stockCreatorMchid)
代金券接口-查询批次详情API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_5.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}
|
Map<String,String> |
WxPayService.getPayInfo(WxPayUnifiedOrderRequest request)
|
String |
EntPayService.getPublicKey()
获取RSA加密公钥API.
|
String |
WxPayService.getSandboxSignKey()
获取仿真测试系统的验签密钥.
|
String |
WxPayService.getV3(String url)
发送get V3请求,得到响应字符串.
|
String |
WxPayService.getV3WithWechatPaySerial(String url)
发送get请求,得到响应字符串.
|
WxPayFaceAuthInfoResult |
WxPayService.getWxPayFaceAuthInfo(WxPayFaceAuthInfoRequest request)
获取微信刷脸支付凭证.
|
WxH5EntrustResult |
WxEntrustPapService.h5Sign(WxH5EntrustRequest wxH5EntrustRequest)
获取h5纯签约支付跳转链接
详见:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter3_4.shtml
返回一个签约链接 在浏览器请求链接拉起微信
|
MarketingImageUploadResult |
MarketingMediaService.imageUploadV3(File imageFile)
营销专用接口-图片上传API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_0_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/media/image-upload
|
ImageUploadResult |
MerchantMediaService.imageUploadV3(File imageFile)
通用接口-图片上传API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/chapter3_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/merchant/media/upload
|
MarketingImageUploadResult |
MarketingMediaService.imageUploadV3(InputStream inputStream,
String fileName)
营销专用接口-图片上传API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_0_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/media/image-upload
|
ImageUploadResult |
MerchantMediaService.imageUploadV3(InputStream inputStream,
String fileName)
通用接口-图片上传API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/chapter3_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/merchant/media/upload
|
String |
WxEntrustPapService.maSign(WxMaEntrustRequest wxMaEntrustRequest)
获取小程序纯签约参数json
详见:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter3_3.shtml
返回一个json 前端用来拉起一个新的签约小程序进行签约
|
WxPayApplyBillV3Result |
PayrollService.merchantFundWithdrawBillType(String billType,
String billDate,
String tarType)
按日下载提现异常文件API
适用对象:服务商
请求URL:https://api.mch.weixin.qq.com/v3/merchant/fund/withdraw/bill-type/{bill_type}
请求方式:GET
|
WxPayMicropayResult |
WxPayService.micropay(WxPayMicropayRequest request)
提交付款码支付.
|
DeclarationResult |
CustomDeclarationService.modify(DeclarationRequest request)
报关信息修改API
文档地址: ...
|
WxPartnerPayScoreResult |
PartnerPayScoreService.modifyServiceOrder(WxPartnerPayScoreRequest request)
支付分修改订单金额API.
|
WxPayScoreResult |
PayScoreService.modifyServiceOrder(WxPayScoreRequest request)
支付分修改订单金额API.
|
String |
Applyment4SubService.modifySettlement(String subMchid,
ModifySettlementRequest request)
修改结算帐号
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter11_1_3.shtml
接口链接:https://api.mch.weixin.qq.com/v3/apply4sub/sub_merchants/{sub_mchid}/modify-settlement
|
void |
EcommerceService.modifySettlement(String subMchid,
SettlementRequest request)
修改结算帐号API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_4.shtml
|
String |
WxEntrustPapService.mpSign(WxMpEntrustRequest wxMpEntrustRequest)
获取公众号纯签约链接,
详见:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter3_1.shtml
该接口返回一个签约链接,该链接只能在微信内打开
|
ProfitSharingResult |
ProfitSharingService.multiProfitSharing(ProfitSharingRequest request)
微信订单支付成功后,服务商代子商户发起分账请求,将结算后的钱分到分账接收方。
|
BusiFavorNotifyResult |
MarketingBusiFavorService.notifyBusiFavor(String url,
BusiFavorNotifyRequest request)
商家券接口-领券事件回调通知API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_15.shtml
|
void |
BusinessCircleService.notifyPoints(PointsNotifyRequest request)
智慧商圈接口-商圈积分同步API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/businesscircle/chapter3_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/businesscircle/points/notify
|
WxWithholdOrderQueryResult |
WxEntrustPapService.papOrderQuery(WxWithholdOrderQueryRequest wxWithholdOrderQueryRequest)
查询代扣订单
详见:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter4_5.shtml
该接口仅提供微信扣款服务申请扣款接口创建的订单进行查询,商户可以通过该接口主动查询微信代扣订单状态,完成下一步的业务逻辑。
|
CombineTransactionsNotifyResult |
EcommerceService.parseCombineNotifyResult(String notifyData,
SignatureHeader header)
合单支付通知回调数据处理
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/e-combine.shtml
|
CombineNotifyResult |
WxPayService.parseCombineNotifyResult(String notifyData,
SignatureHeader header)
合单支付通知回调数据处理
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_13.shtml
|
ComplaintNotifyResult |
WxPayService.parseComplaintNotifyResult(String notifyData,
SignatureHeader header)
解析投诉通知
详见https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_16.shtml
|
PayScoreNotifyData |
PartnerPayScoreService.parseNotifyData(String data,
SignatureHeader header)
支付分回调内容解析方法
|
UseNotifyData |
MarketingFavorService.parseNotifyData(String data,
SignatureHeader header) |
BusinessCircleNotifyData |
BusinessCircleService.parseNotifyData(String data,
SignatureHeader header) |
PayScoreNotifyData |
PayScoreService.parseNotifyData(String data,
SignatureHeader header)
支付分回调内容解析方法
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_2.shtml
|
WxPayOrderNotifyResult |
WxPayService.parseOrderNotifyResult(String xmlData)
解析支付结果通知.
|
WxPayOrderNotifyResult |
WxPayService.parseOrderNotifyResult(String xmlData,
String signType)
解析支付结果通知.
|
WxPayNotifyV3Result |
WxPayService.parseOrderNotifyV3Result(String notifyData,
SignatureHeader header)
解析支付结果v3通知.
|
PartnerTransactionsNotifyResult |
EcommerceService.parsePartnerNotifyResult(String notifyData,
SignatureHeader header)
普通支付通知回调数据处理
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/e_transactions.shtml
|
WxPayPartnerNotifyV3Result |
WxPayService.parsePartnerOrderNotifyV3Result(String notifyData,
SignatureHeader header)
服务商模式解析支付结果v3通知.
|
WxPayPartnerRefundNotifyV3Result |
WxPayService.parsePartnerRefundNotifyV3Result(String notifyData,
SignatureHeader header)
解析服务商模式退款结果通知
详见https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_11.shtml
|
ProfitSharingNotifyV3Result |
ProfitSharingService.parseProfitSharingNotifyResult(String notifyData,
SignatureHeader header)
分账动账通知
分账或分账回退成功后,微信会把相关变动结果发送给分账接收方(只支持商户)。
|
WxPayRefundNotifyResult |
WxPayService.parseRefundNotifyResult(String xmlData)
解析退款结果通知
详见https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?
|
RefundNotifyResult |
EcommerceService.parseRefundNotifyResult(String notifyData,
SignatureHeader header)
退款通知回调数据处理
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_3.shtml
|
WxPayRefundNotifyV3Result |
WxPayService.parseRefundNotifyV3Result(String notifyData,
SignatureHeader header)
解析直连商户退款结果通知
详见https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?
|
WxScanPayNotifyResult |
WxPayService.parseScanPayNotifyResult(String xmlData)
解析扫码支付回调通知
详见https://pay.weixin.qq.com/wiki/doc/api/native.php?
|
WxScanPayNotifyResult |
WxPayService.parseScanPayNotifyResult(String xmlData,
String signType)
解析扫码支付回调通知
详见https://pay.weixin.qq.com/wiki/doc/api/native.php?
|
PartnerUserSignPlanEntity |
PartnerPayScoreSignPlanService.parseSignPlanNotifyResult(String notifyData,
SignatureHeader header)
description: 回调通知校验解密
author:UltramanNoa
create Time: 2023/11/6 10:27
version: v.1.0
|
WxPartnerUserAuthorizationStatusNotifyResult |
PartnerPayScoreService.parseUserAuthorizationStatusNotifyResult(String notifyData,
SignatureHeader header)
授权/解除授权服务回调通知
|
UserAuthorizationStatusNotifyResult |
PayScoreService.parseUserAuthorizationStatusNotifyResult(String notifyData,
SignatureHeader header)
授权/解除授权服务回调数据处理
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter4_4.shtml
|
TransactionsResult |
EcommerceService.partner(TradeTypeEnum tradeType,
PartnerTransactionsRequest request)
服务商模式普通支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
|
<T> T |
EcommerceService.partnerTransactions(TradeTypeEnum tradeType,
PartnerTransactionsRequest request)
服务商模式普通支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
|
String |
WxPayService.patchV3(String url,
String requestStr)
发送patch请求,得到响应字符串.
|
FavorStocksPauseResult |
MarketingFavorService.pauseFavorStocksV3(String stockId,
FavorStocksSetRequest request)
代金券接口-暂停代金券批次API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_13.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/pause
|
EntPayBankResult |
EntPayService.payBank(EntPayBankRequest request)
企业付款到银行卡.
|
AuthRecordResult |
PayrollService.payrollCardAuthentications(AuthRecordRequest request)
查询核身记录API
适用对象:服务商
请求URL:https://api.mch.weixin.qq.com/v3/payroll-card/authentications
请求方式:GET
|
AuthenticationsResult |
PayrollService.payrollCardAuthenticationsNumber(String subMchid,
String authenticateNumber)
获取核身结果API
适用对象:服务商
请求URL:https://api.mch.weixin.qq.com/v3/payroll-card/authentications/{authenticate_number}
请求方式:GET
|
PreOrderResult |
PayrollService.payrollCardPreOrder(PreOrderRequest request)
微工卡核身预下单API
适用对象:服务商
请求URL:https://api.mch.weixin.qq.com/v3/payroll-card/authentications/pre-order
请求方式:POST
|
PreOrderWithAuthResult |
PayrollService.payrollCardPreOrderWithAuth(PreOrderWithAuthRequest request)
微工卡核身预下单(流程中完成授权)
适用对象:服务商
请求URL:https://api.mch.weixin.qq.com/v3/payroll-card/authentications/pre-order-with-auth
请求方式:POST
|
RelationsResult |
PayrollService.payrollCardRelations(RelationsRequest request)
查询微工卡授权关系API
适用对象:服务商
请求URL:https://api.mch.weixin.qq.com/v3/payroll-card/relations/{openid}
请求方式:GET
|
TokensResult |
PayrollService.payrollCardTokens(TokensRequest request)
生成授权token
适用对象:服务商
请求URL:https://api.mch.weixin.qq.com/v3/payroll-card/tokens
请求方式:POST
|
WxPayScoreResult |
PayScoreService.payServiceOrder(String outOrderNo)
支付分订单收款API.
|
WxPartnerPayScoreResult |
PartnerPayScoreService.payServiceOrder(String serviceId,
String appId,
String subMchid,
String outOrderNo)
订单收款
|
WxPayEntrustResult |
WxEntrustPapService.paySign(WxPayEntrustRequest wxPayEntrustRequest)
支付中签约
详见:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter3_5.shtml
请求微信 若微信内请求 需要构造json返回,
若h5请求 直接使用mweb_url 链接即可拉起微信
|
WxPartnerPayScoreResult |
PartnerPayScoreService.permissions(WxPartnerPayScoreRequest request)
商户预授权
|
WxPayScoreResult |
PayScoreService.permissions(WxPayScoreRequest request)
支付分商户预授权API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions
|
WxPayScoreResult |
PayScoreService.permissionsQueryByAuthorizationCode(String authorizationCode)
支付分查询与用户授权记录(授权协议号)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/authorization-code/{authorization_code}
|
WxPartnerPayScoreResult |
PartnerPayScoreService.permissionsQueryByAuthorizationCode(String serviceId,
String subMchid,
String authorizationCode)
商户查询与用户授权记录 (authorization_code)
|
WxPayScoreResult |
PayScoreService.permissionsQueryByOpenId(String openId)
支付分查询与用户授权记录(openid)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_4shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/openid/{openid}
|
WxPartnerPayScoreResult |
PartnerPayScoreService.permissionsQueryByOpenId(String serviceId,
String appId,
String subMchid,
String subAppid,
String openId,
String subOpenid)
商户查询与用户授权记录(OpenID)
|
WxPayScoreResult |
PayScoreService.permissionsTerminateByAuthorizationCode(String authorizationCode,
String reason)
解除用户授权关系(授权协议号)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_3.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/authorization-code/{authorization_code}/terminate
|
WxPartnerPayScoreResult |
PartnerPayScoreService.permissionsTerminateByAuthorizationCode(String serviceId,
String subMchid,
String authorizationCode,
String reason)
商户解除用户授权关系(authorization_code)
|
WxPayScoreResult |
PayScoreService.permissionsTerminateByOpenId(String openId,
String reason)
解除用户授权关系(openid)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_5.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/openid/{openid}/terminate
|
WxPartnerPayScoreResult |
PartnerPayScoreService.permissionsTerminateByOpenId(String serviceId,
String appId,
String subMchid,
String subAppid,
String openId,
String subOpenid,
String reason)
商户解除用户授权关系API(OpenID)
|
BankingResult |
BankService.personalBanking(Integer offset,
Integer limit)
查询支持个人业务的银行列表
请求方式:GET(HTTPS)
请求地址:https://api.mch.weixin.qq.com/v3/capital/capitallhh/banks/personal-banking
文档地址:https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter11_2_2.shtml
|
String |
WxPayService.post(String url,
String requestStr,
boolean useKey)
发送post请求,得到响应字符串.
|
byte[] |
WxPayService.postForBytes(String url,
String requestStr,
boolean useKey)
发送post请求,得到响应字节数组.
|
String |
WxPayService.postV3(String url,
org.apache.http.client.methods.HttpPost httpPost)
发送post请求,得到响应字符串.
|
String |
WxPayService.postV3(String url,
String requestStr)
发送post请求,得到响应字符串.
|
String |
WxPayService.postV3WithWechatpaySerial(String url,
String requestStr)
发送post请求,得到响应字符串.
|
String |
WxEntrustPapService.preWithhold(WxPreWithholdRequest wxPreWithholdRequest)
预扣费通知
预扣费接口
详见:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter3_10.shtml
商户进行委托代扣扣费前需要在可通知时间段内调用「预扣费通知」的接口为用户发送扣费提醒,
并设定扣费持续天数和预计扣费金额,经过扣费等待期后,在可扣费期内可发起扣费,扣款金额不能高于预计扣费金额,
扣费失败可主动发起重试扣费(重试次数由其他规则限制),直到扣费成功,或者可扣费期结束。
|
ProfitSharingResult |
EcommerceService.profitSharing(ProfitSharingRequest request)
请求分账API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_1.shtml
|
ProfitSharingResult |
ProfitSharingService.profitSharing(ProfitSharingRequest request)
单次分账请求按照传入的分账接收方账号和资金进行分账,同时会将订单剩余的待分账金额解冻给特约商户。
|
ProfitSharingBillV3Result |
ProfitSharingService.profitSharingBill(ProfitSharingBillV3Request request)
申请分账账单
微信支付按天提供分账账单文件,商户可以通过该接口获取账单文件的下载地址
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_11.shtml
接口链接: https://api.mch.weixin.qq.com/v3/profitsharing/bills
|
ProfitSharingResult |
ProfitSharingService.profitSharingFinish(ProfitSharingUnfreezeRequest request)
1、不需要进行分账的订单,可直接调用本接口将订单的金额全部解冻给特约商户
2、调用多次分账接口后,需要解冻剩余资金时,调用本接口将剩余的分账金额全部解冻给特约商户
3、已调用请求单次分账后,剩余待分账金额为零,不需要再调用此接口。
|
ProfitSharingMerchantRatioQueryResult |
ProfitSharingService.profitSharingMerchantRatioQuery(ProfitSharingMerchantRatioQueryRequest request)
服务商可以查询子商户设置的允许服务商分账的最大比例。
|
ProfitSharingMerchantRatioQueryV3Result |
ProfitSharingService.profitSharingMerchantRatioQueryV3(String subMchId)
查询最大分账比例
可调用此接口查询特约商户设置的允许服务商分账的最大比例
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_7.shtml
接口链接: https://api.mch.weixin.qq.com/v3/profitsharing/merchant-configs/{sub_mchid}
|
ProfitSharingOrderAmountQueryResult |
ProfitSharingService.profitSharingOrderAmountQuery(ProfitSharingOrderAmountQueryRequest request)
服务商可通过调用此接口查询订单剩余待分金额。
|
ProfitSharingQueryResult |
ProfitSharingService.profitSharingQuery(ProfitSharingQueryRequest request)
TODO:微信返回签名失败
发起分账请求后,可调用此接口查询分账结果;发起分账完结请求后,可调用此接口查询分账完结的执行结果。
|
ProfitSharingV3Result |
ProfitSharingService.profitSharingQueryV3(ProfitSharingQueryV3Request request)
请求分账查询API
发起分账请求后,可调用此接口查询分账结果
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_2.shtml
接口链接: https://api.mch.weixin.qq.com/v3/profitsharing/orders/{out_order_no}
注意:
发起解冻剩余资金请求后,可调用此接口查询解冻剩余资金的结果
|
ProfitSharingV3Result |
ProfitSharingService.profitSharingQueryV3(String outOrderNo,
String transactionId)
查询分账结果API(商户平台)
发起分账请求后,可调用此接口查询分账结果
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/profitsharing/orders/{out_order_no}
注意:
• 发起解冻剩余资金请求后,可调用此接口查询解冻剩余资金的结果
|
ProfitSharingV3Result |
ProfitSharingService.profitSharingQueryV3(String outOrderNo,
String transactionId,
String subMchId)
查询分账结果API(服务商平台)
发起分账请求后,可调用此接口查询分账结果
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/profitsharing/orders/{out_order_no}
注意:
• 发起解冻剩余资金请求后,可调用此接口查询解冻剩余资金的结果
|
ProfitSharingReturnResult |
ProfitSharingService.profitSharingReturn(ProfitSharingReturnRequest returnRequest)
TODO:这个接口用真实的数据返回【参数不正确】,我对比官方文档除了缺少sub_mch_id,和sub_appid之外其他相同,当我随便填了一个商户id的时候,提示【回退方没有开通分账回退功能】
仅对订单进行退款时,如果订单已经分账,可以先调用此接口将指定的金额从分账接收方(仅限商户类型的分账接收方)回退给特约商户,然后再退款。
|
ProfitSharingReturnResult |
ProfitSharingService.profitSharingReturnQuery(ProfitSharingReturnQueryRequest queryRequest)
TODO:因profitsharingReturn接口无法使用,没有办法对这里进行真实的测试,模拟数据这里返回【记录不存在】
商户需要核实回退结果,可调用此接口查询回退结果。
|
ProfitSharingReturnV3Result |
ProfitSharingService.profitSharingReturnQueryV3(String outOrderNo,
String outReturnNo)
查询分账回退结果API(商户平台)
商户需要核实回退结果,可调用此接口查询回退结果
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_4.shtml
接口链接:https://api.mch.weixin.qq.com/v3/profitsharing/return-orders/{out_return_no}
注意:
• 如果分账回退接口返回状态为处理中,可调用此接口查询回退结果
|
ProfitSharingReturnV3Result |
ProfitSharingService.profitSharingReturnQueryV3(String outOrderNo,
String outReturnNo,
String subMchId)
查询分账回退结果API(服务商平台)
商户需要核实回退结果,可调用此接口查询回退结果
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_3.shtml
接口链接:https://api.mch.weixin.qq.com/v3/profitsharing/return-orders/{out_return_no}
注意:
• 如果分账回退接口返回状态为处理中,可调用此接口查询回退结果
|
ProfitSharingReturnV3Result |
ProfitSharingService.profitSharingReturnV3(ProfitSharingReturnV3Request request)
请求分账回退API
如果订单已经分账,在退款时,可以先调此接口,将已分账的资金从分账接收方的账户回退给分账方,再发起退款
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_3.shtml
接口链接: https://api.mch.weixin.qq.com/v3/profitsharing/return-orders
注意:
• 分账回退以原分账单为依据,支持多次回退,申请回退总金额不能超过原分账单分给该接收方的金额
• 此接口采用同步处理模式,即在接收到商户请求后,会实时返回处理结果
• 对同一笔分账单最多能发起20次分账回退请求
• 退款和分账回退没有耦合,分账回退可以先于退款请求,也可以后于退款请求
• 此功能需要接收方在商户平台-交易中心-分账-分账接收设置下,开启同意分账回退后,才能使用
|
ProfitSharingUnfreezeV3Result |
ProfitSharingService.profitSharingUnfreeze(ProfitSharingUnfreezeV3Request request)
解冻剩余资金API
不需要进行分账的订单,可直接调用本接口将订单的金额全部解冻给特约商户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_5.shtml
接口链接: https://api.mch.weixin.qq.com/v3/profitsharing/orders/unfreeze
注意:
• 调用分账接口后,需要解冻剩余资金时,调用本接口将剩余的分账金额全部解冻给特约商户
• 此接口采用异步处理模式,即在接收到商户请求后,优先受理请求再异步处理,最终的分账结果可以通过查询分账接口获取
|
ProfitSharingOrderAmountQueryV3Result |
ProfitSharingService.profitSharingUnsplitAmountQueryV3(String transactionId)
查询剩余待分金额API
可调用此接口查询订单剩余待分金额
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_6.shtml
接口链接: https://api.mch.weixin.qq.com/v3/profitsharing/transactions/{transaction_id}/amounts
|
ProfitSharingV3Result |
ProfitSharingService.profitSharingV3(ProfitSharingV3Request request)
请求分账API
微信订单支付成功后,商户发起分账请求,将结算后的资金分到分账接收方
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_1.shtml
接口链接: https://api.mch.weixin.qq.com/v3/profitsharing/orders
注意:
对同一笔订单最多能发起20次分账请求,每次请求最多分给50个接收方
此接口采用异步处理模式,即在接收到商户请求后,优先受理请求再异步处理,最终的分账结果可以通过查询分账接口获取
|
String |
WxPayService.putV3(String url,
String requestStr)
发送put V3请求,得到响应字符串.
|
DeclarationQueryResult |
CustomDeclarationService.query(DeclarationQueryRequest request)
报关查询API
文档地址: ...
|
ApplymentStateQueryResult |
Applyment4SubService.queryApplyStatusByApplymentId(String applymentId)
通过申请单号查询申请状态
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/applyment4sub/chapter3_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/applyment4sub/applyment/applyment_id/{applyment_id}
|
ApplySubjectConfirmStateQueryResult |
Apply4SubjectConfirmService.queryApplyStatusByApplymentId(String applymentId)
查询申请单审核结果
详情请见: 查询申请单审核结果
|
ApplymentsStatusResult |
EcommerceService.queryApplyStatusByApplymentId(String applymentId)
查询申请状态API
请求URL: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/{applyment_id}
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_2.shtml
|
ApplymentStateQueryResult |
Applyment4SubService.queryApplyStatusByBusinessCode(String businessCode)
通过业务申请编号查询申请状态
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/applyment4sub/chapter3_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/applyment4sub/applyment/business_code/{business_code}
|
ApplySubjectConfirmStateQueryResult |
Apply4SubjectConfirmService.queryApplyStatusByBusinessCode(String businessCode)
查询申请单审核结果
详情请见: 查询申请单审核结果
|
ApplymentsStatusResult |
EcommerceService.queryApplyStatusByOutRequestNo(String outRequestNo)
查询申请状态API
请求URL: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/out-request-no/{out_request_no}
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_2.shtml
|
BatchNumberResult |
PartnerTransferService.queryBatchByBatchId(BatchNumberRequest request)
微信支付批次单号查询批次单API
接口说明
适用对象:服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter3_2.shtml
请求URL:https://api.mch.weixin.qq.com/v3/partner-transfer/batches/batch-id/{batch_id}
请求方式:GET
接口限频:单个服务商 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BatchNumberResult |
PartnerTransferService.queryBatchByOutBatchNo(MerchantBatchRequest request)
商家批次单号查询批次单API
接口说明
适用对象:服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter3_4.shtml
请求URL:https://api.mch.weixin.qq.com/v3/partner-transfer/batches/out-batch-no/{out_batch_no}
请求方式:GET
接口限频:单个服务商 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BatchDetailsResult |
PartnerTransferService.queryBatchDetailByMch(String outBatchNo,
String outDetailNo)
商家明细单号查询明细单API
接口说明
适用对象:服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter3_5.shtml
请求URL:https://api.mch.weixin.qq.com/v3/partner-transfer/batches/out-batch-no/{out_batch_no}/details/out-detail-no/{out_detail_no}
请求方式:GET
接口限频:单个服务商 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BatchDetailsResult |
PartnerTransferService.queryBatchDetailByWeChat(String batchId,
String detailId)
微信支付明细单号查询明细单API
接口说明
适用对象:服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter3_3.shtml
请求URL:https://api.mch.weixin.qq.com/v3/partner-transfer/batches/batch-id/{batch_id}/details/detail-id/{detail_id}
请求方式:GET
接口限频:单个服务商 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BillReceiptResult |
PartnerTransferService.queryBillReceipt(String outBatchNo)
查询转账电子回单API
接口说明
适用对象:直连商户 服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter4_2.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer/bill-receipt/{out_batch_no}
请求方式:GET
|
BrandBatchesQueryResult |
BrandMerchantTransferService.queryBrandMerchantBatches(BrandMerchantBatchesQueryRequest request)
品牌红包商家批次单号查询批次单API
适用对象:直连商户
文档详见:
请求URL:https://api.mch.weixin.qq.com/v3/fund-app/brand-redpacket/brand-merchant-out-batches/{out_batch_no}
请求方式:GET
接口限频: 单个商户 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BrandDetailsQueryResult |
BrandMerchantTransferService.queryBrandMerchantDetails(BrandMerchantDetailsQueryRequest request)
品牌红包商家明细单号查询明细单API
适用对象:直连商户
文档详见:
请求URL:https://api.mch.weixin.qq.com/v3/fund-app/brand-redpacket/brand-merchant-out-batches/{out_batch_no}/out-details/{out_detail_no}
请求方式:GET
接口限频: 单个商户 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BrandBatchesQueryResult |
BrandMerchantTransferService.queryBrandWxBatches(BrandWxBatchesQueryRequest request)
品牌红包微信批次单号查询批次单API
适用对象:直连商户
文档详见:
请求URL:https://api.mch.weixin.qq.com/v3/fund-app/brand-redpacket/brand-merchant-batches/{batch_no}
请求方式:GET
接口限频: 单个商户 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BrandDetailsQueryResult |
BrandMerchantTransferService.queryBrandWxDetails(BrandWxDetailsQueryRequest request)
品牌红包微信支付明细单号查询明细单API
适用对象:直连商户
文档详见:
请求URL:https://api.mch.weixin.qq.com/v3/fund-app/brand-redpacket/brand-merchant-batches/{batch_no}/details/{detail_no}
请求方式:GET
接口限频: 单个商户 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BusiFavorCallbacksResult |
MarketingBusiFavorService.queryBusiFavorCallbacks(BusiFavorCallbacksRequest request)
商家券接口-查询商家券事件通知地址 API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_8.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/callbacks
|
BusiFavorCouponsAssociateResult |
MarketingBusiFavorService.queryBusiFavorCouponsAssociate(BusiFavorCouponsAssociateRequest request)
商家券接口-关联订单信息 API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_9.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/associate
|
BusiFavorCouponsAssociateResult |
MarketingBusiFavorService.queryBusiFavorCouponsDisAssociate(BusiFavorCouponsAssociateRequest request)
商家券接口-取消关联订单信息 API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_10.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/disassociate
|
BusiFavorSubsidyResult |
MarketingBusiFavorService.queryBusiFavorSubsidyPayReceipts(String subsidyReceiptId)
商家券接口-查询营销补差付款单详情API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_17.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/subsidy/pay-receipts/{subsidy_receipt_id}
|
BusiFavorQueryUserCouponsResult |
MarketingBusiFavorService.queryBusiFavorUsersCoupons(BusiFavorQueryUserCouponsRequest request)
商家券接口-根据过滤条件查询用户券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_4.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/users/{openid}/coupons
|
CombineQueryResult |
WxPayService.queryCombine(String combineOutTradeNo)
合单查询订单API
请求URL: https://api.mch.weixin.qq.com/v3/combine-transactions/out-trade-no/{combine_out_trade_no}
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_11.shtml
|
CombineTransactionsResult |
EcommerceService.queryCombineTransactions(String outTradeNo)
合单查询订单API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_3.shtml
|
String |
WxPayService.queryComment(Date beginDate,
Date endDate,
Integer offset,
Integer limit)
拉取订单评价数据.
|
String |
WxPayService.queryComment(WxPayQueryCommentRequest request)
拉取订单评价数据.
|
ComplaintResult |
ComplaintService.queryComplaints(ComplaintRequest request)
查询投诉单列表API
商户可通过调用此接口,查询指定时间段的所有用户投诉信息,以分页输出查询结果。
|
WxPayCouponInfoQueryResult |
WxPayService.queryCouponInfo(WxPayCouponInfoQueryRequest request)
查询代金券信息.
|
WxPayCouponStockQueryResult |
WxPayService.queryCouponStock(WxPayCouponStockQueryRequest request)
查询代金券批次.
|
DetailElectronicBillResult |
MerchantTransferService.queryDetailElectronicBill(DetailElectronicBillRequest request)
查询转账明细电子回单受理结果API
适用对象:直连商户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_10.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer-detail/electronic-receipts
请求方式:GET
前置条件:只支持查询最近90天内的转账明细单
|
ElectronicBillResult |
MerchantTransferService.queryElectronicBill(String outBatchNo)
查询转账电子回单API
适用对象:直连商户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_8.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer/bill-receipt/{out_batch_no}
请求方式:GET
|
EntPayRedpackQueryResult |
EntPayService.queryEnterpriseRedpack(EntPayRedpackQueryRequest request)
企业发送微信红包查询
文档地址:https://work.weixin.qq.com/api/doc
接口地址: https://api.mch.weixin.qq.com/mmpaymkttransfers/queryworkwxredpack
|
EntPayQueryResult |
EntPayService.queryEntPay(EntPayQueryRequest request)
查询企业付款API.
|
EntPayQueryResult |
EntPayService.queryEntPay(String partnerTradeNo)
查询企业付款API.
|
WxPayQueryExchangeRateResult |
WxPayService.queryExchangeRate(String feeType,
String date)
查询汇率
应用场景:商户网站的商品以外币标价时,通过该接口可以实时查询到微信使用的转换汇率。
|
FavorCouponsQueryResult |
MarketingFavorService.queryFavorCouponsV3(FavorCouponsQueryRequest request)
代金券接口-根据商户号查用户的券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_9.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons
|
FavorStocksQueryResult |
MarketingFavorService.queryFavorStocksV3(FavorStocksQueryRequest request)
代金券接口-条件查询代金券批次列表API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_4.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks
|
ApplySubjectConfirmMerchantStateQueryResult |
Apply4SubjectConfirmService.queryMerchantApplyStatusByMchId(String subMchId)
获取商户开户意愿确认状态
详情请见: 获取商户开户意愿确认状态API
|
BatchesQueryResult |
MerchantTransferService.queryMerchantBatches(MerchantBatchesQueryRequest request)
商家批次单号查询批次单API
适用对象:直连商户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_5.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer/batches/out-batch-no/{out_batch_no}
请求方式:GET
接口限频: 单个商户 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
DetailsQueryResult |
MerchantTransferService.queryMerchantDetails(MerchantDetailsQueryRequest request)
商家明细单号查询明细单API
适用对象:直连商户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_6.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer/batches/out-batch-no/{out_batch_no}/details/out-detail-no/{out_detail_no}
请求方式:GET
接口限频: 单个商户 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
NegotiationHistoryResult |
ComplaintService.queryNegotiationHistorys(NegotiationHistoryRequest request)
查询投诉协商历史API
商户可通过调用此接口,查询指定投诉的用户商户协商历史,以分页输出查询结果,方便商户根据处理历史来制定后续处理方案。
|
BusiFavorQueryOneUserCouponsResult |
MarketingBusiFavorService.queryOneBusiFavorUsersCoupons(BusiFavorQueryOneUserCouponsRequest request)
商家券接口-查询用户单张券详情API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_5.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/users/{openid}/coupons/{coupon_code}/appids/{appid}
|
WxPayOrderQueryResult |
WxPayService.queryOrder(String transactionId,
String outTradeNo)
查询订单.
|
WxPayOrderQueryResult |
WxPayService.queryOrder(WxPayOrderQueryRequest request)
查询订单(适合于需要自定义子商户号和子商户appid的情形).
|
WxPayOrderQueryV3Result |
WxPayService.queryOrderV3(String transactionId,
String outTradeNo)
查询订单
详见 https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_2.shtml
商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。
|
WxPayOrderQueryV3Result |
WxPayService.queryOrderV3(WxPayOrderQueryV3Request request)
查询订单
详见 https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_2.shtml
商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。
|
WxPayPartnerOrderQueryV3Result |
WxPayService.queryPartnerOrderV3(String transactionId,
String outTradeNo)
服务商模式查询订单
详见 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_2.shtml
商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。
|
WxPayPartnerOrderQueryV3Result |
WxPayService.queryPartnerOrderV3(WxPayPartnerOrderQueryV3Request request)
服务商模式查询订单
详见 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_2.shtml
商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。
|
PartnerTransactionsResult |
EcommerceService.queryPartnerTransactions(PartnerTransactionsQueryRequest request)
普通查询订单API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/e_transactions/chapter3_5.shtml
|
EntPayBankQueryResult |
EntPayService.queryPayBank(EntPayBankQueryRequest request)
企业付款到银行卡查询.
|
EntPayBankQueryResult |
EntPayService.queryPayBank(String partnerTradeNo)
企业付款到银行卡查询.
|
WxPartnerPayScoreSignPlanResult |
PartnerPayScoreSignPlanService.queryPlans(@NonNull String merchantPlanNo,
@NonNull String subMchid)
description: 查询支付分计划
author:UltramanNoa
create Time: 2023/11/3 14:03
version: v.1.0
|
ProfitSharingResult |
EcommerceService.queryProfitSharing(ProfitSharingQueryRequest request)
查询分账结果API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_2.shtml
|
ProfitSharingOrdersUnSplitAmountResult |
EcommerceService.queryProfitSharingOrdersUnsplitAmount(ProfitSharingOrdersUnSplitAmountRequest request)
查询订单剩余待分金额API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_9.shtml
|
WxPayRedpackQueryResult |
RedpackService.queryRedpack(String mchBillNo)
查询红包记录.
|
WxPayRedpackQueryResult |
RedpackService.queryRedpack(WxPayRedpackQueryRequest request)
查询红包记录.
|
RefundQueryResult |
EcommerceService.queryRefundByOutRefundNo(String subMchid,
String outRefundNo)
查询退款API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_2.shtml
|
RefundQueryResult |
EcommerceService.queryRefundByRefundId(String subMchid,
String refundId)
查询退款API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_2.shtml
|
ReturnOrdersResult |
EcommerceService.queryReturnOrders(ReturnOrdersQueryRequest request)
查询分账回退API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_3.shtml
|
WxPartnerPayScoreResult |
PartnerPayScoreService.queryServiceAccountState(String outApplyNo)
查询收付通子商户服务绑定结果API.
|
WxPayScoreResult |
PayScoreService.queryServiceOrder(String outOrderNo,
String queryId)
支付分查询订单API.
|
WxPartnerPayScoreResult |
PartnerPayScoreService.queryServiceOrder(String serviceId,
String subMchid,
String outOrderNo,
String queryId)
支付分查询订单API.
|
SettlementResult |
EcommerceService.querySettlement(String subMchid)
查询结算账户API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_5.shtml
|
SettlementInfoResult |
Applyment4SubService.querySettlementBySubMchid(String subMchid)
根据特约子商户ID查询结算账户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter11_1_4.shtml
接口链接:https://api.mch.weixin.qq.com/v3/apply4sub/sub_merchants/{sub_mchid}/settlement
|
SettlementModifyStateQueryResult |
Applyment4SubService.querySettlementModifyStatusByApplicationNo(String subMchid,
String applicationNo)
查询结算账户修改申请状态
|
WxSignQueryResult |
WxEntrustPapService.querySign(WxSignQueryRequest wxSignQueryRequest)
签约状态查询
签约状态查询
详见:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter3_7.shtml
查询签约关系接口提供单笔签约关系查询。
|
SpWithdrawStatusResult |
EcommerceService.querySpWithdrawByOutRequestNo(String outRequestNo)
电商平台查询提现状态API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/fund/chapter3_6.shtml
|
SubWithdrawStatusResult |
EcommerceService.querySubWithdrawByOutRequestNo(String subMchid,
String outRequestNo)
二级商户查询提现状态API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/fund/chapter3_3.shtml
|
ElectronicReceiptsResult |
PartnerTransferService.queryTransferElectronicResult(ElectronicReceiptsRequest request)
查询转账明细电子回单受理结果API
接口说明
适用对象:直连商户 服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter4_5.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer-detail/electronic-receipts
请求方式:GET
前置条件:只支持查询最近90天内的转账明细单
|
PartnerUserSignPlanEntity |
PartnerPayScoreSignPlanService.queryUserSignPlans(@NonNull String merchantSignPlanNo,
@NonNull String subMchid)
description: 查询用户的签约计划
author:UltramanNoa
create Time: 2023/11/3 18:01
version: v.1.0
|
BatchesQueryResult |
MerchantTransferService.queryWxBatches(WxBatchesQueryRequest request)
微信批次单号查询批次单API
适用对象:直连商户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_2.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer/batches/batch-id/{batch_id}
请求方式:GET
接口限频: 单个商户 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
DetailsQueryResult |
MerchantTransferService.queryWxDetails(WxDetailsQueryRequest request)
微信明细单号查询明细单API
适用对象:直连商户
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_3.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer/batches/batch-id/{batch_id}/details/detail-id/{detail_id}
请求方式:GET
接口限频: 单个商户 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BillReceiptResult |
PartnerTransferService.receiptBill(ReceiptBillRequest request)
转账电子回单申请受理API
接口说明
适用对象:直连商户 服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter4_1.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer/bill-receipt
请求方式:POST
|
RedeclareResult |
CustomDeclarationService.redeclare(RedeclareRequest request)
报关重推API
文档地址: ...
|
WxPayRefundResult |
WxPayService.refund(WxPayRefundRequest request)
微信支付-申请退款.
|
WxPayRefundQueryV3Result |
WxPayService.refundPartnerQueryV3(WxPayRefundQueryV3Request request)
微信支付-查询退款-服务商
应用场景:
提交退款申请后,通过调用该接口查询退款状态。
|
WxPayRefundQueryResult |
WxPayService.refundQuery(String transactionId,
String outTradeNo,
String outRefundNo,
String refundId)
微信支付-查询退款.
|
WxPayRefundQueryResult |
WxPayService.refundQuery(WxPayRefundQueryRequest request)
微信支付-查询退款(适合于需要自定义子商户号和子商户appid的情形).
|
WxPayRefundQueryResult |
WxPayService.refundQueryV2(WxPayRefundQueryRequest request)
微信支付-查询退款API(支持单品).
|
WxPayRefundQueryV3Result |
WxPayService.refundQueryV3(String outRefundNo)
微信支付-查询退款
应用场景:
提交退款申请后,通过调用该接口查询退款状态。
|
WxPayRefundQueryV3Result |
WxPayService.refundQueryV3(WxPayRefundQueryV3Request request)
微信支付-查询退款-直连商户
应用场景:
提交退款申请后,通过调用该接口查询退款状态。
|
RefundsResult |
EcommerceService.refunds(RefundsRequest request)
退款申请API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_1.shtml
|
WxPayRefundResult |
WxPayService.refundV2(WxPayRefundRequest request)
申请退款API(支持单品).
|
WxPayRefundV3Result |
WxPayService.refundV3(WxPayRefundV3Request request)
申请退款API(支持单品).
|
ProfitSharingReceiverResult |
ProfitSharingService.removeReceiver(ProfitSharingReceiverRequest request)
服务商代子商户发起删除分账接收方请求,删除后不支持将结算后的钱分到该分账接收方。
|
ProfitSharingReceiverV3Result |
ProfitSharingService.removeReceiverV3(ProfitSharingReceiverV3Request request)
删除分账接收方API
商户发起删除分账接收方请求。
|
void |
WxPayService.report(WxPayReportRequest request)
交易保障.
|
String |
WxPayService.requestV3(String url,
org.apache.http.client.methods.HttpRequestBase httpRequest)
发送http请求,得到响应字符串.
|
FavorStocksRestartResult |
MarketingFavorService.restartFavorStocksV3(String stockId,
FavorStocksSetRequest request)
代金券接口-重启代金券批次API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_14.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/restart
|
BusiFavorCouponsReturnResult |
MarketingBusiFavorService.returnBusiFavorCoupons(BusiFavorCouponsReturnRequest request)
商家券接口-申请退款API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_13.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/return
|
ReturnOrdersResult |
EcommerceService.returnOrders(ReturnOrdersRequest request)
请求分账回退API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_3.shtml
|
WxPayOrderReverseResult |
WxPayService.reverseOrder(WxPayOrderReverseRequest request)
撤销订单API.
|
FavorCallbacksSaveResult |
MarketingFavorService.saveFavorCallbacksV3(FavorCallbacksSaveRequest request)
代金券接口-设置消息通知地址API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_12.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/callbacks
|
BankAccountResult |
BankService.searchBanksByBankAccount(String accountNumber)
|
WxPayCouponSendResult |
WxPayService.sendCoupon(WxPayCouponSendRequest request)
发放代金券
接口请求链接:https://api.mch.weixin.qq.com/mmpaymkttransfers/send_coupon
是否需要证书:请求需要双向证书。
|
EntPayRedpackResult |
EntPayService.sendEnterpriseRedpack(EntPayRedpackRequest request)
企业发送微信红包给个人用户
文档地址:https://work.weixin.qq.com/api/doc
接口地址: https://api.mch.weixin.qq.com/mmpaymkttransfers/sendworkwxredpack
|
WxPaySendMiniProgramRedpackResult |
RedpackService.sendMiniProgramRedpack(WxPaySendMiniProgramRedpackRequest request)
发送小程序红包.
|
WxPaySendRedpackResult |
RedpackService.sendRedpack(WxPaySendRedpackRequest request)
发送微信红包给个人用户.
|
String |
WxPayService.shorturl(String longUrl)
转换短链接.
|
String |
WxPayService.shorturl(WxPayShorturlRequest request)
转换短链接.
|
WxPartnerPayScoreSignPlanResult |
PartnerPayScoreSignPlanService.signPlanServiceOrder(WxPartnerPayScoreSignPlanRequest request)
description: 创建用户的签约计划详情对应的服务订单
author:UltramanNoa
create Time: 2023/11/3 14:53
version: v.1.0
|
FundBalanceResult |
EcommerceService.spDayEndBalance(SpAccountTypeEnum accountType,
String date)
服务商账户日终余额
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
|
FundBalanceResult |
EcommerceService.spNowBalance(SpAccountTypeEnum accountType)
服务商账户实时余额
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
|
SpWithdrawResult |
EcommerceService.spWithdraw(SpWithdrawRequest request)
电商平台提现API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/fund/chapter3_5.shtml
|
FavorStocksStartResult |
MarketingFavorService.startFavorStocksV3(String stockId,
FavorStocksSetRequest request)
代金券接口-激活代金券批次API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_3.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/start
|
WxPartnerPayScoreSignPlanResult |
PartnerPayScoreSignPlanService.stopPlans(@NonNull String merchantPlanNo,
@NonNull String subMchid)
description: 停止支付分计划
author:UltramanNoa
create Time: 2023/11/3 14:24
version: v.1.0
|
PartnerUserSignPlanEntity |
PartnerPayScoreSignPlanService.stopUserSignPlans(@NonNull String merchantSignPlanNo,
@NonNull String subMchid,
@NonNull String stopReason)
description: 取消用户的签约计划
author:UltramanNoa
create Time: 2023/11/3 18:01
version: v.1.0
|
FundBalanceResult |
EcommerceService.subDayEndBalance(String subMchid,
String date)
二级商户号账户日终余额
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
|
void |
ComplaintService.submitResponse(ResponseRequest request)
提交回复API
商户可通过调用此接口,提交回复内容。
|
FundBalanceResult |
EcommerceService.subNowBalance(String subMchid)
二级商户号账户实时余额
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
|
FundBalanceResult |
EcommerceService.subNowBalance(String subMchid,
SpAccountTypeEnum accountType)
二级商户号账户实时余额
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_3_11.shtml
|
BusiFavorSubsidyResult |
MarketingBusiFavorService.subsidyBusiFavorPayReceipts(BusiFavorSubsidyRequest request)
商家券接口-营销补差付款API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_16.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/subsidy/pay-receipts
|
SubWithdrawResult |
EcommerceService.subWithdraw(SubWithdrawRequest request)
二级商户账户余额提现API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/fund/chapter3_2.shtml
|
WxPartnerPayScoreResult |
PartnerPayScoreService.syncServiceOrder(WxPartnerPayScoreRequest request)
同步订单信息
|
WxPayScoreResult |
PayScoreService.syncServiceOrder(WxPayScoreRequest request)
支付分订单收款API.
|
WxTerminationContractResult |
WxEntrustPapService.terminationContract(WxTerminatedContractRequest wxTerminatedContractRequest)
申请解约
申请解约
详见:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter3_9.shtml
商户与用户的签约关系有误或者商户主动要求与用户解除之前的签约协议时可调用此接口完成解约。
|
EntPayResult |
EntPayService.toEmpPay(EntWxEmpPayRequest request)
向员工付款
文档详见 https://work.weixin.qq.com/api/doc/90000/90135/90278
接口链接 https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/paywwsptrans2pocket
|
TransferBatchesResult |
TransferService.transferBatches(TransferBatchesRequest request)
|
QueryTransferBatchesResult |
TransferService.transferBatchesBatchId(QueryTransferBatchesRequest request)
微信批次单号查询批次单API
请求方式:GET(HTTPS)
请求地址:请求地址
文档地址:微信批次单号查询批次单API
|
TransferBatchDetailResult |
TransferService.transferBatchesBatchIdDetail(String batchId,
String detailId)
微信明细单号查询明细单API
请求方式:GET(HTTPS)
请求地址:请求地址
文档地址:微信明细单号查询明细单API
|
QueryTransferBatchesResult |
TransferService.transferBatchesOutBatchNo(QueryTransferBatchesRequest request)
商家批次单号查询批次单API
请求方式:GET(HTTPS)
请求地址:请求地址
文档地址:商家批次单号查询批次单API
|
TransferBatchDetailResult |
TransferService.transferBatchesOutBatchNoDetail(String outBatchNo,
String outDetailNo)
商家明细单号查询明细单API
请求方式:GET(HTTPS)
请求地址:请求地址
文档地址:商家明细单号查询明细单API
|
InputStream |
PartnerTransferService.transferDownload(String url)
下载电子回单API
接口说明
适用对象:直连商户 服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter4_3.shtml
请求URL:通过申请账单接口获取到“download_url”,URL有效期10min
请求方式:GET
前置条件:调用申请账单接口并获取到“download_url”
|
ElectronicReceiptsResult |
PartnerTransferService.transferElectronic(ElectronicReceiptsRequest request)
转账明细电子回单受理API
接口说明
适用对象:直连商户 服务商
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter4_4.shtml
请求URL:https://api.mch.weixin.qq.com/v3/transfer-detail/electronic-receipts
请求方式:POST
前置条件:只支持受理最近90天内的转账明细单
|
WxPayUnifiedOrderResult |
WxPayService.unifiedOrder(WxPayUnifiedOrderRequest request)
统一下单(详见https://pay.weixin.qq.com/wiki/doc/api/app/app.php?
|
WxPayUnifiedOrderV3Result |
WxPayService.unifiedOrderV3(TradeTypeEnum tradeType,
WxPayUnifiedOrderV3Request request)
在发起微信支付前,需要调用统一下单接口,获取"预支付交易会话标识"
|
WxPayUnifiedOrderV3Result |
WxPayService.unifiedPartnerOrderV3(TradeTypeEnum tradeType,
WxPayPartnerUnifiedOrderV3Request request)
在发起微信支付前,需要调用统一下单接口,获取"预支付交易会话标识"
|
BusiFavorStocksBudgetResult |
MarketingBusiFavorService.updateBusiFavorStocksBudget(String stockId,
BusiFavorStocksBudgetRequest request)
商家券接口-修改批次预算 API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_11.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}/budget
|
String |
MarketingBusiFavorService.updateBusiFavorStocksV3(String stockId,
BusiFavorStocksCreateRequest request)
商家券接口-创建商家券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_12.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}
|
ComplaintNotifyUrlResult |
ComplaintService.updateComplaintNotifyUrl(ComplaintNotifyUrlRequest request)
更新投诉通知回调地址API
商户通过调用此接口更新投诉通知的回调URL。
|
BusiFavorCouponCodeResult |
MarketingBusiFavorService.uploadBusiFavorCouponCodes(String stockId,
BusiFavorCouponCodeRequest request)
商家券接口-上传预存code API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_6.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}/couponcodes
|
ImageUploadResult |
ComplaintService.uploadResponseImage(File imageFile)
商户上传反馈图片API
文档详见: ...
|
ImageUploadResult |
ComplaintService.uploadResponseImage(InputStream inputStream,
String fileName)
商户上传反馈图片API
文档详见: ...
|
BusiFavorCouponsUseResult |
MarketingBusiFavorService.verifyBusiFavorCouponsUseV3(BusiFavorCouponsUseRequest request)
商家券接口-核销用户券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_3.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/use
|
VerifyCertificateResult |
CustomDeclarationService.verifyCertificate(VerifyCertificateRequest request)
身份信息校验API
文档地址: ...
|
WxWithholdResult |
WxEntrustPapService.withhold(WxWithholdRequest wxWithholdRequest)
申请扣款
申请扣款
详见:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter3_8.shtml
请求微信发起委托扣款,扣款额度和次数由使用的签约模板限制,
该扣款接口是立即扣款 无延时 扣款前无消息通知。
|
WxPayCommonResult |
WxEntrustPapService.withholdPartner(WxWithholdRequest wxWithholdRequest)
服务商模式的申请扣款
申请扣款
详见:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/papay/chapter5_8.shtml
请求微信发起委托扣款,扣款额度和次数由使用的签约模板限制,
该扣款接口是立即扣款 无延时 扣款前无消息通知。
|
限定符和类型 | 方法和说明 |
---|---|
static void |
RsaCryptoUtil.encryptFields(Object encryptObject,
X509Certificate certificate) |
Copyright © 2023. All rights reserved.