微工卡核身预下单
服务商在拉起微工卡前端服务给用户做微工卡核身前,需要先调用本接口预下单,下单成功后才能进行核身 官方文档
js
wxpay.v3.payrollCard.authentications.preOrder.post({
openid,
appid,
sub_mchid,
sub_appid,
authenticate_number,
project_name,
employer_name,
authenticate_type,
})
.then(
({
data: {
authenticate_number,
openid,
mchid,
sub_mchid,
token,
expires_in,
},
}) => ({
authenticate_number,
openid,
mchid,
sub_mchid,
token,
expires_in,
})
)