Version: 202201
Order Risk
GET/openapi/2022-01/orders/:id/risks
Returns the platform's automated fraud-detection assessment labels and detail items for the specified order. Use this to surface system-generated risk signals to merchants before they decide to fulfill or cancel the order.
Request
Path Parameters
id stringrequired
Order's ID
Responses
- 200
- 404
200
- application/json
- Schema
- Example
- Result
Schema
- Array [
- ]
assessmentstring[]
info object[]
titlestring
Example:
OpenAPIdescribestring
Example:
{"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
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"Unable to find resource"
]
}
{
"errors": [
"Unable to find resource"
]
}