Get close position request details

get/api/prime/trading/v1/accounts/{accountID}/margin/positions/close/requests/{closePositionRequestID}

Get details of a specific close position request

Path Parameters

  • accountIDstringRequired
    The ID of the account
  • closePositionRequestIDstring<uuid>Required
    The ID of the close position request

200 Response

closePositionsRequestId string <uuid>required
Unique identifier for the close position request
status string required
Current status of the close position request
Allowed values: pending in_progress completed failed cancelled
currencies array[string]
List of currencies to close positions for
all boolean
Whether to close all positions
createdAt string <date-time>required
Timestamp when the request was created
updatedAt string <date-time>
Timestamp when the request was last updated
completedAt string <date-time>
Timestamp when the request was completed
failureReason string
Reason for failure if status is failed