public class PartnerTransferServiceImpl extends Object implements PartnerTransferService
构造器和说明 |
---|
PartnerTransferServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
PartnerTransferResult |
batchTransfer(PartnerTransferRequest request)
发起批量转账API
适用对象:服务商
请求URL:https://api.mch.weixin.qq.com/v3/partner-transfer/batches
请求方式:POST
接口限频:单个服务商 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
FundBalanceResult |
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
|
BatchNumberResult |
queryBatchByBatchId(BatchNumberRequest request)
微信支付批次单号查询批次单API
接口说明
适用对象:服务商
请求URL:https://api.mch.weixin.qq.com/v3/partner-transfer/batches/batch-id/{batch_id}
https://api.mch.weixin.qq.com/v3/partner-transfer/batches/batch-id/1030000071100999991182020050700019480001
?
|
BatchNumberResult |
queryBatchByOutBatchNo(MerchantBatchRequest request)
商家批次单号查询批次单API
接口说明
适用对象:服务商
请求URL:https://api.mch.weixin.qq.com/v3/partner-transfer/batches/out-batch-no/{out_batch_no}
请求方式:GET
接口限频:单个服务商 50QPS,如果超过频率限制,会报错FREQUENCY_LIMITED,请降低频率请求。
|
BatchDetailsResult |
queryBatchDetailByMch(String outBatchNo,
String outDetailNo)
商家明细单号查询明细单API
接口说明
适用对象:服务商
请求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 |
queryBatchDetailByWeChat(String batchId,
String detailId)
微信支付明细单号查询明细单API
接口说明
适用对象:服务商
请求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 |
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
|
ElectronicReceiptsResult |
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天内的转账明细单
|
BillReceiptResult |
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
|
FundBalanceResult |
spDayEndBalance(SpAccountTypeEnum accountType,
String date)
服务商账户日终余额
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter5_2.shtml
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
|
InputStream |
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 |
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天内的转账明细单
|
public PartnerTransferResult batchTransfer(PartnerTransferRequest request) throws WxPayException
batchTransfer
在接口中 PartnerTransferService
request
- 请求对象PartnerTransferResult
WxPayException
- the wx pay exceptionpublic BatchNumberResult queryBatchByBatchId(BatchNumberRequest request) throws WxPayException
queryBatchByBatchId
在接口中 PartnerTransferService
request
- 请求对象BatchNumberResult
WxPayException
- the wx pay exceptionpublic BatchNumberResult queryBatchByOutBatchNo(MerchantBatchRequest request) throws WxPayException
queryBatchByOutBatchNo
在接口中 PartnerTransferService
request
- 请求对象BatchNumberResult
WxPayException
- the wx pay exceptionpublic BatchDetailsResult queryBatchDetailByWeChat(String batchId, String detailId) throws WxPayException, BadPaddingException
queryBatchDetailByWeChat
在接口中 PartnerTransferService
batchId
- 微信批次单号detailId
- 微信明细单号BatchDetailsResult
WxPayException
- the wx pay exceptionBadPaddingException
- the wx decrypt exceptionpublic BatchDetailsResult queryBatchDetailByMch(String outBatchNo, String outDetailNo) throws WxPayException, BadPaddingException
queryBatchDetailByMch
在接口中 PartnerTransferService
outBatchNo
- 商家明细单号outDetailNo
- 商家批次单号BatchDetailsResult
WxPayException
- the wx pay exceptionBadPaddingException
- the wx decrypt exceptionpublic BillReceiptResult receiptBill(ReceiptBillRequest request) throws WxPayException
receiptBill
在接口中 PartnerTransferService
request
- 商家批次单号WxPayException
- the wx pay exceptionpublic BillReceiptResult queryBillReceipt(String outBatchNo) throws WxPayException
queryBillReceipt
在接口中 PartnerTransferService
outBatchNo
- 商家批次单号WxPayException
- the wx pay exceptionpublic ElectronicReceiptsResult transferElectronic(ElectronicReceiptsRequest request) throws WxPayException
transferElectronic
在接口中 PartnerTransferService
request
- 请求对象WxPayException
- the wx pay exceptionpublic ElectronicReceiptsResult queryTransferElectronicResult(ElectronicReceiptsRequest request) throws WxPayException
queryTransferElectronicResult
在接口中 PartnerTransferService
request
- 请求对象WxPayException
- the wx pay exceptionpublic InputStream transferDownload(String url) throws WxPayException
transferDownload
在接口中 PartnerTransferService
url
- 微信返回的电子回单地址。WxPayException
- the wx pay exceptionpublic FundBalanceResult fundBalance(SpAccountTypeEnum accountType) throws WxPayException
查询账户实时余额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
fundBalance
在接口中 PartnerTransferService
accountType
- 服务商账户类型 SpAccountTypeEnum
WxPayException
- the wx pay exceptionpublic FundBalanceResult spDayEndBalance(SpAccountTypeEnum accountType, String date)
服务商账户日终余额 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter5_2.shtml 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
spDayEndBalance
在接口中 PartnerTransferService
accountType
- 服务商账户类型date
- 查询日期 2020-09-11WxPayException
- the wx pay exceptionCopyright © 2023. All rights reserved.