Get Order Risk List

Provides a list of risks associated with a specific order.

🔒

Requires read_order access scope. More access scope

The Order Risk List API provides a list of risks associated with a specific order. This helps merchants review all flagged risks for the given order in a paginated format.

This API is especially useful for:

  1. Fetching all risks flagged for an order.
  2. Facilitating review and risk management processes.
  3. Enabling data-driven decision-making regarding flagged risks.

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
order_idstringYesThe unique ID of the order.633130-00000015

Query Parameters

ParameterTypeRequiredDescriptionExample
cursorstringYesCursor for pagination, use the cursor from the response to retrieve the next page.abc123
page_sizeint32YesA limit on the number of objects to be returned. Ranges from 1 to 100. Default is 10.10

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"success"Status code of the API response
messagestring"Order retrieved successfully"Descriptive message about the response
data.risksarray of object
data.cursorstringabc123Cursor for pagination, use the cursor from the response to retrieve the next page.
data.has_morebooltrueWhether more comments are available

Risk Object Structure

FieldTypeDescriptionExample
idstringThe unique ID of the created risk.372997190468224746
order_idstringThe unique ID of the order associated with the risk.633130-00000015
levelstringRisk level for the order. Possible values: low, medium, high.low
detailsarray of stringsList of reasons or details for the risk.["wrong order price"]
propertiesarray of objectsCustom key-value pairs for additional risk information"properties": {"risk_source": "manual_review", "reviewer_id": "user_123","is_high_priority": true, "verification_steps": ["phone_call", "id_check"] },
created_atstringTimestamp when the risk was created (ISO 8601 format).2024-04-25T06:37:40Z
updated_atstringTimestamp when the risk was last updated (ISO 8601 format).2024-04-25T06:37:40Z

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestringError message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!