Endpoint
POST /api/v1/order
Request
Body parameters
The trading pair market (e.g., “SOL_USDC”, “BTC_USDT”)
The limit price for the order
The quantity of the base asset to buy or sell
The order side. Must be either “BUY” or “SELL”
The unique identifier of the user placing the order
Response
Success response
Status message indicating the order was created
The unique identifier assigned to the created order
Error response
Status message indicating the order creation failed
Example
Error codes
- 200 OK - Order created successfully
- 500 Internal Server Error - Failed to process the order or Redis connection error