**Version: 202201**

# Order Risk Detail

**GET** `/openapi/2022-01/orders/:order_id/risks/:id`

Retrieves a single risk record on the order by its id, including risk level, detail reasons, custom properties, and create/update times.

## Request

**Path Parameters**

- `order_id` string (required)

  Order's ID
- `id` string (required)

  Risk's ID

## Responses

**200 | 404 | 422**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `risk` object

  - `id` string

    **Example:** `372997190408224746`
  - `order_id` string

    **Example:** `633130-00000015`
  - `level` string

    **Example:** `low`
  - `value` string[]
  - `properties` object

    - `key` string

      **Example:** `value`
  - `created_at` string

    **Example:** `2024-04-25T06:37:40Z`
  - `updated_at` string

    **Example:** `2024-04-25T06:37:40Z`

```json
{
  "risk": {
    "id": "372997190408224746",
    "order_id": "633130-00000015",
    "level": "low",
    "value": [
      "wrong order price"
    ],
    "properties": {
      "key": "value"
    },
    "created_at": "2024-04-25T06:37:40Z",
    "updated_at": "2024-04-25T06:37:40Z"
  }
}
```

```json
{
  "risk": {
    "id": "372997190408224746",
    "order_id": "633130-00000015",
    "level": "low",
    "value": [
      "wrong order price"
    ],
    "properties": {
      "key": "value"
    },
    "created_at": "2024-04-25T06:37:40Z",
    "updated_at": "2024-04-25T06:37:40Z"
  }
}
```

404

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

```json
{
  "errors": [
    "Record not found"
  ]
}
```

```json
{
  "errors": [
    "Record not found"
  ]
}
```

422

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

```json
{
  "errors": [
    "ID format error"
  ]
}
```

```json
{
  "errors": [
    "ID format error"
  ]
}
```
