微信支付预约单号查询预约商家转账记录
商户可通过接口查询预约商家转账记录详情。预计最晚转账日期、预计最大转账金额等预约相关信息,仅在预约记录状态为已预约或已关闭且关闭原因不为用户超时未确认、商户通过API主动关闭已受理的记录、预约失败后关闭时返回。API提供的查询时限为3个月,创建时间超过3个月的预约记录不支持查询。 官方文档
js
wxpay.v3.platsolution.mchTransfer.reservation.reservationId._reservation_id_.get({
reservation_id,
params,
})
.then(
({
data: {
sp_mchid,
sub_mchid,
sp_appid,
sub_appid,
reservation_id,
out_reservation_no,
transfer_scene_id,
estimated_date,
estimated_max_amount,
exact_amount,
openid,
bank_type,
state,
accept_time,
reserve_time,
close_info,
},
}) => ({
sp_mchid,
sub_mchid,
sp_appid,
sub_appid,
reservation_id,
out_reservation_no,
transfer_scene_id,
estimated_date,
estimated_max_amount,
exact_amount,
openid,
bank_type,
state,
accept_time,
reserve_time,
close_info,
})
)