public interface BankService
微信支付-银行组件
| 限定符和类型 | 方法和说明 |
|---|---|
BankingResult |
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
|
BankingResult |
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
|
BankAccountResult |
searchBanksByBankAccount(String accountNumber)
|
BankAccountResult searchBanksByBankAccount(String accountNumber) throws WxPayException
获取对私银行卡号开户银行 请求方式:GET(HTTPS) 请求地址:https://api.mch.weixin.qq.com/v3/capital/capitallhh/banks/search-banks-by-bank-account 文档地址:https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter11_2_1.shtml
accountNumber - 银行卡号 该字段需进行加密处理,加密方法详见敏感信息加密说明。(提醒:必须在HTTP头中上送Wechatpay-Serial)WxPayException - .BankingResult personalBanking(Integer offset, Integer limit) throws WxPayException
查询支持个人业务的银行列表 请求方式: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
offset - 本次查询偏移量limit - 本次请求最大查询条数,最大值为200WxPayException - .BankingResult corporateBanking(Integer offset, Integer limit) throws WxPayException
支持对公业务的银行列表 请求方式: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
offset - 本次查询偏移量limit - 本次请求最大查询条数,最大值为200WxPayException - .Copyright © 2022. All rights reserved.