Skip to content

【微信支付】商家转账到零钱补充字段, 请求新增notify_url、响应新增batch_status #3330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.github.binarywang.wxpay.bean.merchanttransfer;

import com.github.binarywang.wxpay.service.WxPayService;
import com.github.binarywang.wxpay.v3.SpecEncrypt;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
Expand Down Expand Up @@ -136,6 +137,20 @@ public class TransferCreateRequest implements Serializable {
@SerializedName("transfer_scene_id")
private String transferSceneId;

/**
* <pre>
* 字段名:通知地址
* 变量名:notify_url
* 是否必填:否
* 类型:string(256)
* 描述:
* 异步接收微信支付结果通知的回调地址,通知url必须为公网可访问的url,必须为https,不能携带参数。
* 回调解析: {@link WxPayService#parseTransferBatchesNotifyV3Result}
* </pre>
*/
@SerializedName("notify_url")
private String notifyUrl;


/**
* The type Transfer detail list.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,15 @@ public class TransferCreateResult implements Serializable {
*/
@SerializedName("create_time")
private String createTime;

/**
* 批次状态
* 说明:
* ACCEPTED:已受理。批次已受理成功,若发起批量转账的30分钟后,转账批次单仍处于该状态,可能原因是商户账户余额不足等。商户可查询账户资金流水,若该笔转账批次单的扣款已经发生,则表示批次已经进入转账中,请再次查单确认
* PROCESSING:转账中。已开始处理批次内的转账明细单
* FINISHED:已完成。批次内的所有转账明细单都已处理完成
* CLOSED:已关闭。可查询具体的批次关闭原因确认
*/
@SerializedName("batch_status")
private String batchStatus;
}