Re-fetch and restore the missing fill(s) from the broker
POST/api/v1/reconciliation/refetch-fill/:tradeId
Repulls the trade's fills from the broker, restores the ones UTM is missing as real broker fills linked to the trade, and recomputes the trade through the same shared aggregate maths every reconcile action uses. The restored row is a genuine broker fill, so the trade auto-reconciles and lands on the Reconciled tab with the usual Undo. Idempotent on the (account, broker execution id) key. Returns 409 when the broker cannot re-fetch (no native executions endpoint) or has no missing fill to restore (outside the broker's history window); both steer the caller to manual entry.
Request
Responses
- 200
- 400
- 401
- 404
- 409
- 500
Missing fill(s) restored and trade recomputed
Invalid trade ID format
Authentication required
Trade not found or access denied
Re-fetch unavailable for this broker, or no missing fill to restore (add the fill manually instead)
Server error