Skip to content

查询企业向微信用户个人付款

付款操作进行结果查询,返回付款操作详细结果。查询企业付款API只支持查询30天内的订单,30天之前的订单请登录商户平台查询。 官方文档

js
const { 
Transformer
} =
require
('wechatpay-axios-plugin')
wxpay
.
v2
.
mmpaymkttransfers
.
gettransferinfo
.
post
({
nonce_str
,
partner_trade_no
,
mch_id
,
appid
,
}, {
security
,
transformResponse
: [
Transformer
.
toObject
], })
.
then
(
({
data
: {
return_code
,
return_msg
,
result_code
,
err_code
,
err_code_des
,
partner_trade_no
,
appid
,
mch_id
,
detail_id
,
status
,
reason
,
openid
,
transfer_name
,
payment_amount
,
transfer_time
,
payment_time
,
desc
,
}, }) => ({
return_code
,
return_msg
,
result_code
,
err_code
,
err_code_des
,
partner_trade_no
,
appid
,
mch_id
,
detail_id
,
status
,
reason
,
openid
,
transfer_name
,
payment_amount
,
transfer_time
,
payment_time
,
desc
,
}) )

Released under the MIT License. (SITEMAP)