Get order detail
tossinvest_get_orderRetrieve full order details by ID to confirm status and execution results after placing, modifying, or canceling an order.
Instructions
Get the full detail of one order by id, in any state.
Use this to confirm what happened after placing, modifying or cancelling — especially to read the fill result.
Args:
order_id (string): the orderId returned by a create/modify/cancel call or by tossinvest_list_orders.
account_seq (number, optional): resolved automatically for single-account credentials.
response_format ('markdown' | 'json'): default 'markdown'.
Returns { accountSeq, order: { orderId, symbol, side, orderType, timeInForce, status, price, quantity, orderAmount, currency, orderedAt, canceledAt, execution } }. execution = { filledQuantity, averageFilledPrice, filledAmount, commission, tax, filledAt, settlementDate }.
Errors: 404 order-not-found for an unknown id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order identifier (opaque server-issued token). | |
| account_seq | No | accountSeq of the account to act on (the `X-Tossinvest-Account` header). Optional: falls back to TOSSINVEST_ACCOUNT_SEQ, then to the sole account on the credentials. Get valid values from tossinvest_list_accounts. | |
| response_format | No | Output format: 'markdown' for a compact human-readable summary, 'json' for the complete raw payload. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | ||
| accountSeq | Yes |