Skip to main content
Version: 202506

Create order risk record

POST 

/openapi/2025-06/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 stringrequired

    Order ID

Bodyrequired

    risk objectrequired

    The order risk object containing risk level and detail information

    levelstringrequired

    Risk level of the order:

    • low: low risk
    • medium: medium risk
    • high: high risk
    detailsstring[]

    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

Responses

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    risk object

    The created order risk record

    idstring

    Order risk record ID

    order_idstring

    Identifier of the order this risk record is associated with

    levelstring

    Risk level of the order:

    • low: low risk
    • medium: medium risk
    • high: high risk
    detailsstring[]

    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_atstring

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

    updated_atstring

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