X-Api-Key and Idempotency-Key. Matching is asynchronous. Consume
exchange webhooks or private WebSocket topics for timely changes, and use order
reads for recovery, operator lookups, and periodic reconciliation.
Before You Place an Order
Perform these checks in your own system before sending the request:- Fetch
GET /partner/exchange/marketsand confirm the pair is enabled. - Validate
side,order_type,quantity, andpriceagainst the market rules. - Confirm available balance with
GET /partner/wallets/balances/overview. - Generate and store an
Idempotency-Keyfor this exact order intent. - Configure exchange webhooks or private WebSocket topics before submission.
Create A Limit Order
Limit orders specify the maximum buy price or minimum sell price you are willing to accept.Create A Market Order
Market orders prioritize execution against available liquidity. Because the final price depends on available depth, read the current ticker or order book first and keep your own risk controls conservative.Create Response
The response confirms that Stabyl accepted the order request for processing. It does not mean the order is already filled.order_id. Use it for all later reads, cancels, replacements, and reconciliation.
List Orders By Status
Get Order Detail
Cancel Order
Replace Order
Status Handling
Retry Rules
Common failures include invalid pair, insufficient available balance, stale order status, or idempotency conflicts.