商户明细单号查询明细单
商户明细单号查单接口。商户可以通过该接口查询单笔转账明细单。返回消息中包含微信明细单号、明细状态、转账金额、失败原因、收款用户姓名、收款用户OpenID等信息。 官方文档
js
wxpay.v3.platsolution.mchTransfer.batches.outBatchNo._out_batch_no_.details.outDetailNo._out_detail_no_.get({
out_batch_no,
out_detail_no,
params,
})
.then(
({
data: {
out_batch_no,
batch_id,
out_detail_no,
detail_id,
sp_appid,
sub_mchid,
sub_appid,
create_time,
detail_state,
transfer_amount,
transfer_remark,
fail_reason,
openid,
bank_type,
user_name,
transfer_finish_time,
bank_refund_time,
},
}) => ({
out_batch_no,
batch_id,
out_detail_no,
detail_id,
sp_appid,
sub_mchid,
sub_appid,
create_time,
detail_state,
transfer_amount,
transfer_remark,
fail_reason,
openid,
bank_type,
user_name,
transfer_finish_time,
bank_refund_time,
})
)