common.yaml components and is identical for the Trading API and the Prop Firm API.
Error envelope
code, details, request_id) when the failure has structured context. Always read error first; treat extra fields as optional.
Status codes
Order-specific errors
POST /v1/orders and related order writes layer additional semantics on top of the generic codes:
The order may also transition to
REJECTED asynchronously after an initial 202 placement. Watch the order lifecycle stream for that state.
Retries
- Retry
5xxand network failures with exponential backoff (start at 250 ms, cap at 30 s, jitter 50 %). - Retry
POST /v1/ordersonly when you sent anIdempotency-Key. Reusing the same key returns the original response. - Do not retry
4xxother than429— the request will fail again until you fix it. - For
429, honour theRetry-Afterheader.

