Skip to content

付款码支付

收银员使用扫码设备读取微信用户付款码以后,二维码或条码信息会传送至商户收银台,由商户收银台或者商户后台调用该接口发起支付。 官方文档

js
wxpay
.
v3
.
pay
.
transactions
.
codepay
.
post
({
appid
,
mchid
,
description
,
out_trade_no
,
attach
,
goods_tag
,
support_fapiao
,
payer
,
amount
,
scene_info
,
detail
,
settle_info
,
}) .
then
(
({
data
: {
appid
,
mchid
,
out_trade_no
,
transaction_id
,
trade_type
,
bank_type
,
success_time
,
trade_state
,
trade_state_desc
,
attach
,
payer
,
amount
,
promotion_detail
,
}, }) => ({
appid
,
mchid
,
out_trade_no
,
transaction_id
,
trade_type
,
bank_type
,
success_time
,
trade_state
,
trade_state_desc
,
attach
,
payer
,
amount
,
promotion_detail
,
}) )

Released under the MIT License. (SITEMAP)