Skip to content

生成授权token

生成授权token信息 官方文档

js
wxpay
.
v3
.
payrollCard
.
tokens
.
post
({
openid
,
appid
,
sub_appid
,
sub_mchid
,
user_name
,
id_card_number
,
employment_type
,
}, {
headers
, })
.
then
(
({
data
: {
openid
,
mchid
,
sub_mchid
,
token
,
expires_in
,
}, }) => ({
openid
,
mchid
,
sub_mchid
,
token
,
expires_in
,
}) )

Released under the MIT License. (SITEMAP)