{
  "path": "/spot/pov_orders/{order_id}",
  "operation_id": "getSpotPovOrder",
  "auth_required": true,
  "parameters": [
    {
      "name": "order_id",
      "in": "path",
      "required": true,
      "description": "The order ID returned after successful creation, or the custom ID specified by the user in the `text` field.",
      "schema": {
        "type": "string"
      },
      "example": "12345"
    }
  ],
  "response_fields": {
    "200": {
      "description": "Detail retrieved",
      "fields": [
        {
          "path": "$",
          "type": "object",
          "description": "Spot POV order details",
          "constraints": ""
        },
        {
          "path": "$.id",
          "type": "string",
          "description": "Order ID",
          "constraints": ""
        },
        {
          "path": "$.currency_pair",
          "type": "string",
          "description": "Currency pair",
          "constraints": ""
        },
        {
          "path": "$.side",
          "type": "string",
          "description": "Buy or sell order",
          "constraints": ""
        },
        {
          "path": "$.amount",
          "type": "string",
          "description": "Trade amount",
          "constraints": ""
        },
        {
          "path": "$.participation_rate",
          "type": "integer",
          "description": "Target participation rate as a percentage. Allowed values: 5, 10, 20, and 40",
          "constraints": ""
        },
        {
          "path": "$.ttl",
          "type": "string",
          "description": "Time to live. Valid values: 1h, 6h, 12h, 1d, 2d, 3d, 4d, 5d, 6d, and 7d",
          "constraints": ""
        },
        {
          "path": "$.limit_price",
          "type": "string",
          "description": "Limit price. If omitted, the market price is used",
          "constraints": ""
        },
        {
          "path": "$.trigger_price",
          "type": "string",
          "description": "Trigger price. If omitted, the order is triggered immediately",
          "constraints": ""
        },
        {
          "path": "$.status",
          "type": "string",
          "description": "Order status\n\n- CREATED: Created\n- CANCELING: Canceling\n- RUNNING: Running\n- COMPLETED: Completed\n- EXPIRED: Expired\n- TERMINATED: Terminated",
          "constraints": ""
        },
        {
          "path": "$.terminated_as",
          "type": "string",
          "description": "Order termination reason code",
          "constraints": ""
        },
        {
          "path": "$.start_time_ms",
          "type": "integer",
          "description": "Order execution start time in milliseconds",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$.end_time_ms",
          "type": "integer",
          "description": "Order execution end time in milliseconds",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$.expire_time_ms",
          "type": "integer",
          "description": "Order expiration time in milliseconds",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$.create_time_ms",
          "type": "integer",
          "description": "Creation time of order (in milliseconds)",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$.update_time_ms",
          "type": "integer",
          "description": "Last modification time of order (in milliseconds)",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$.text",
          "type": "string",
          "description": "Order custom information. Users can set custom ID with this field. Custom fields must meet the following conditions:\n\n1. Must start with `t-`\n2. Excluding `t-`, length cannot exceed 28 bytes\n3. Can only contain numbers, letters, underscore(_), hyphen(-) or dot(.)\n",
          "constraints": ""
        }
      ]
    }
  },
  "source_version": "v4.106.132",
  "source_url": "https://github.com/gate/gateapi-python/blob/cd2cac4d339ec0734480787d23c020f467fd7b80/openapi.yaml",
  "local_tool_limits": [
    "仅检查必填、枚举和简单数值范围",
    "复杂类型序列化、条件必填、时间窗口等以官方规则为准",
    "不会发起 API 请求"
  ]
}
