A AuthMS API Wiki API Reference iam.tianv.com →

GET /points/{user_id}/risk-score

基于多维度因子(冻结次数、消费比率、近期获取频率、负余额、交易活跃度)对积分账户进行反作弊/套利风险评估。

积分服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
user_id path string Yes 用户ID

Responses

StatusDescriptionSchema
200风险评分(score>=70高风险,40-69中风险,<40低风险)dto.PointRiskScoreDetailResponse
400请求参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证gitee_com_linmes_authms_base_dto.SimpleResponse
404用户不存在gitee_com_linmes_authms_base_dto.SimpleResponse
500服务器内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.PointRiskScoreDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.PointRiskScoreResponse No
message string No
timestamp string No

dto.PointRiskScoreResponse

FieldTypeRequiredExampleConstraintsDescription
factors array of

string

No ['["normal_behavior"', '"trusted_device"]']
risk_level string No low
risk_score integer No 10
user_id string No usr_example_001

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No