校验核身结果
校验按商户拉起核身时预下单的token值对应的微工卡核身结果是否成功 官方文档
js
wxpay.v3.payrollCard.wesure.tokenValidations.post({
sp_mchid,
sub_mchid,
token,
user_name,
id_card_number,
authenticate_type,
}, { headers, })
.then(
({
data: {
result,
authenticate_success_time,
openid,
fail_reason,
},
}) => ({
result,
authenticate_success_time,
openid,
fail_reason,
})
)