feat: 微信支付(平台收付通)提现接口新增回调参数支持 #3721
Draft
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
回调参数支持,并新增了提现状态变更回调处理功能。变更内容
1. 新增回调通知地址参数
SubWithdrawRequest(二级商户预约提现)
SpWithdrawRequest(平台预约提现)
2. 新增提现状态变更回调支持
WithdrawNotifyResult(提现状态变更通知结果)
CREATE_SUCCESS
、SUCCESS
、FAILED
、REFUND
、CLOSE
EcommerceService接口扩展
使用示例
3. 文档更新
更新了所有相关方法的javadoc注释,使用最新的官方文档地址:
兼容性
notify_url
参数为可选,现有代码无需修改parseRefundNotifyResult
保持一致的实现模式相关Issue
Closes #xxx - 微信支付(平台收付通)的"平台预约提现"接口新增回调参数
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.