商家明细单号查询明细单(合作伙伴模式)
商户明细单号查单接口。转账处理后延迟一段时间(异步进行转账),服务商可以通过该接口查询单笔转账明细单。 官方文档 官方文档
js
wxpay.v3.partnerTransfer.batches.outBatchNo._out_batch_no_.details.outDetailNo._out_detail_no_.get({
out_batch_no,
out_detail_no,
})
.then(
({
data: {
sp_mchid,
out_batch_no,
batch_id,
appid,
out_detail_no,
detail_id,
detail_status,
transfer_amount,
transfer_remark,
fail_reason,
openid,
username,
initiate_time,
update_time,
account_type,
bank_name,
bank_card_number_tail,
},
}) => ({
sp_mchid,
out_batch_no,
batch_id,
appid,
out_detail_no,
detail_id,
detail_status,
transfer_amount,
transfer_remark,
fail_reason,
openid,
username,
initiate_time,
update_time,
account_type,
bank_name,
bank_card_number_tail,
})
)