Skip to content

商户订单号查单

通过商户订单号查询微信支付订单 官方文档

js
wxpay
.
v3
.
eduschoolpay
.
transactions
.
outTradeNo
.
_out_trade_no_
.
get
({
out_trade_no
,
params
,
}) .
then
(
({
data
: {
mchid
,
appid
,
sub_mchid
,
sub_appid
,
out_trade_no
,
transaction_id
,
trade_type
,
trade_state
,
trade_state_desc
,
bank_type
,
attach
,
success_time
,
payer
,
amount
,
device_info
,
promotion_detail
,
}, }) => ({
mchid
,
appid
,
sub_mchid
,
sub_appid
,
out_trade_no
,
transaction_id
,
trade_type
,
trade_state
,
trade_state_desc
,
bank_type
,
attach
,
success_time
,
payer
,
amount
,
device_info
,
promotion_detail
,
}) )

Released under the MIT License. (SITEMAP)