feat: 微信支付(平台收付通)提现接口新增回调参数支持及补充日终余额提现API #3721
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概述
根据微信支付2024年12月更新,为"平台预约提现"和"二级商户预约提现"接口新增了
notify_url回调参数支持,并新增了提现状态变更回调处理功能。同时补充了日终余额提现相关API和平台按微信单号查询提现状态的接口。变更内容
1. 新增回调通知地址参数
SubWithdrawRequest(二级商户预约提现)
SpWithdrawRequest(平台预约提现)
2. 新增提现状态变更回调支持
WithdrawNotifyResult(提现状态变更通知结果)
CREATE_SUCCESS、SUCCESS、FAILED、REFUND、CLOSEsolution、account_name、account_number、bank_nameEcommerceService接口扩展
使用示例
3. 新增日终余额提现API
二级商户按日终余额预约提现
查询二级商户按日终余额预约提现状态
4. 新增平台按微信单号查询提现状态
5. 文档更新
更新了所有相关方法的javadoc注释,使用最新的官方文档地址:
兼容性
notify_url参数为可选,现有代码无需修改parseRefundNotifyResult保持一致的实现模式相关Issue
Closes #3494 - 微信支付(平台收付通)的"平台预约提现"接口新增回调参数
Fixes #3494
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.