Skip to content

扣费受理

商户请求扣费受理接口,会完成订单受理。微信支付进行异步扣款,支付完成后,会将订单支付结果发送给商户。

js
wxpay
.
v3
.
qrcode
.
transactions
.
post
({
appid
,
sub_appid
,
sub_mchid
,
description
,
attach
,
out_trade_no
,
trade_scene
,
goods_tag
,
contract_id
,
notify_url
,
amount
,
bus_info
,
metro_info
,
}) .
then
(
({
data
: {
appid
,
sub_appid
,
sp_mchid
,
sub_mchid
,
description
,
create_time
,
out_trade_no
,
transaction_id
,
trade_state
,
trade_state_description
,
success_time
,
bank_type
,
user_repay_state
,
repay_transaction_id
,
repay_time
,
attach
,
contract_id
,
trade_scene
,
bus_info
,
metro_info
,
amount
,
promotion_detail
,
}, }) => ({
appid
,
sub_appid
,
sp_mchid
,
sub_mchid
,
description
,
create_time
,
out_trade_no
,
transaction_id
,
trade_state
,
trade_state_description
,
success_time
,
bank_type
,
user_repay_state
,
repay_transaction_id
,
repay_time
,
attach
,
contract_id
,
trade_scene
,
bus_info
,
metro_info
,
amount
,
promotion_detail
,
}) )

Released under the MIT License. (SITEMAP)