Create new order
POST/orders
Creates a new order. For DeFi orders, returns unsigned payloads for client signing.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 500
- 503
Order created successfully
Bad request
Unauthorized
Forbidden. On order creation this also covers an asset that is not available to trade from the country the request came from.
Not found
Request is well-formed but cannot be processed (e.g. leverage missing or out of range for a perp order)
Internal server error
Service unavailable