服务商评估用户分层(合作伙伴模式)
服务商评估用户分层 官方文档
js
wxpay.v3.payscore.partner.permissions.assessUserRiskLevel.post({
service_id,
appid,
sub_appid,
authorization_code,
openid,
sub_openid,
shopping_info,
}, { params })
.then(
({
data: {
service_id,
appid,
mchid,
openid,
authorization_code,
authorization_state,
notify_url,
cancel_authorization_time,
authorization_success_time,
sub_mchid,
sub_appid,
sub_openid,
user_label,
channel_id,
user_risk_level,
risk_level_version,
},
}) => ({
service_id,
appid,
mchid,
openid,
authorization_code,
authorization_state,
notify_url,
cancel_authorization_time,
authorization_success_time,
sub_mchid,
sub_appid,
sub_openid,
user_label,
channel_id,
user_risk_level,
risk_level_version,
})
)