版本:202201
查询风险评估列表
GET/openapi/2022-01/orders/:id/risks
返回平台对指定订单自动生成的欺诈检测评估标签与详情列表。商家在决定是否 发货或取消订单前,可借此查看系统给出的风险提示。
请求
Path参数
id string必填
Order's ID
响应
- 200
- 404
200
- application/json
- 数据结构
- 示例
- Result
数据结构
- Array [
- ]
assessmentstring[]
info object[]
titlestring
示例:
OpenAPIdescribestring
示例:
{"level":"high"}{
"assessment": [
"The Location of IP address used to place the order is: Shenzhen,Guangdong,CN"
],
"info": [
{
"title": "OpenAPI",
"describe": "{\"level\":\"high\"}"
}
]
}
{
"assessment": [
"The Location of IP address used to place the order is: Shenzhen,Guangdong,CN"
],
"info": [
{
"title": "OpenAPI",
"describe": "{\"level\":\"high\"}"
},
{
"title": "OpenAPI",
"describe": "{\"level\":\"high\"}"
},
{
"title": "OpenAPI",
"describe": "{\"level\":\"low\"}"
},
{
"title": "OpenAPI",
"describe": "{\"level\":\"low\",\"details\":[\"wrong order price\"]}"
}
]
}
404
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"Unable to find resource"
]
}
{
"errors": [
"Unable to find resource"
]
}