**Version: 202601**

# Create order risk record

**POST** `/openapi/2026-01/orders/:order_id/risks`

Attaches a custom risk record to the specified order with a risk level (low/medium/high), supporting detail reasons, and optional custom properties. Typically called after a manual fraud review.

## Request

**Path Parameters**

- `order_id` string (required)

  Order ID

**application/json**

**Body | Example**

**Body (required)**

- `risk` object (required)

  The order risk object containing risk level and detail information

  - `level` string (required)

    Risk level of the order:

    *   `low`: low risk
    *   `medium`: medium risk
    *   `high`: high risk
  - `details` string[]

    List of risk details explaining the reason for the risk
  - `properties` object

    Custom properties for the order risk, as key-value pairs

    - `property name*` string

```json
{
  "risk": {
    "level": "string",
    "details": [
      "string"
    ],
    "properties": {}
  }
}
```

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `risk` object

    The created order risk record

    - `id` string

      Order risk record ID
    - `order_id` string

      Identifier of the order this risk record is associated with
    - `level` string

      Risk level of the order:

      *   `low`: low risk
      *   `medium`: medium risk
      *   `high`: high risk
    - `details` string[]

      List of risk detail reasons explaining why the risk was flagged
    - `properties` object

      Custom properties associated with the order risk, as key-value pairs

      - `property name*` string
    - `created_at` string

      Time when the risk record was created (e.g., 2018-11-02T12:30:10Z)
    - `updated_at` string

      Time when the risk record was last updated (e.g., 2018-11-02T12:30:10Z)

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "risk": {
      "id": "string",
      "order_id": "string",
      "level": "string",
      "details": [
        "string"
      ],
      "properties": {},
      "created_at": "string",
      "updated_at": "string"
    }
  }
}
```
