1
0
mirror of synced 2025-12-12 01:18:03 +08:00

🎨 #3319【微信支付】商家转账到零钱接口补充字段:请求新增notify_url、响应新增batch_status

This commit is contained in:
imyzt
2024-07-15 21:24:37 +08:00
committed by GitHub
parent 3a577709fe
commit 9816fdfdcf
2 changed files with 26 additions and 0 deletions

View File

@@ -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;
@@ -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.

View File

@@ -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;
}