Skip to content

微信支付批次单号查询批次单(合作伙伴模式)

服务商可以通过该接口查询转账批次单以及指定状态的转账明细单。 官方文档 官方文档

js
wxpay
.
v3
.
partnerTransfer
.
batches
.
batchId
.
_batch_id_
.
get
({
batch_id
,
params
,
}) .
then
(
({
data
: {
sp_mchid
,
sub_mchid
,
out_batch_no
,
batch_id
,
sub_appid
,
batch_status
,
batch_type
,
authorization_type
,
batch_name
,
batch_remark
,
close_reason
,
total_amount
,
total_num
,
create_time
,
update_time
,
success_amount
,
success_num
,
fail_amount
,
fail_num
,
transfer_detail_list
,
sp_appid
,
transfer_purpose
,
transfer_scene
,
}, }) => ({
sp_mchid
,
sub_mchid
,
out_batch_no
,
batch_id
,
sub_appid
,
batch_status
,
batch_type
,
authorization_type
,
batch_name
,
batch_remark
,
close_reason
,
total_amount
,
total_num
,
create_time
,
update_time
,
success_amount
,
success_num
,
fail_amount
,
fail_num
,
transfer_detail_list
,
sp_appid
,
transfer_purpose
,
transfer_scene
,
}) )

Released under the MIT License. (SITEMAP)