Use this endpoint to submit Market orders to be executed.
Currently, clients can request available asset pairs from their 1Konto representative. In the near future this information will also be available via API.
** ** nbbo price will always be better or equal to top of the book quotes
// Error Response body
{
"status": 500,
"error": "Internal Server Error"
}
// Credit Limit - Error Responses
// outside of normal business hours when submitting order
{
"orderId": "theOrderIdXXXXXX",
"errors": [
"Credit Not Available: 10000 USDT credit requested can not be granted outside of normal business hours.",
],
"status": "failedDependency",
"httpStatusCode": 424
}
// when we have business hours but account credit available is not enough to fill the order
{
"orderId": "theOrderIdXXXXXX",
"errors": [
"Insufficient Funds: Requested 10000 USDT but only 1000 USDT is available"
],
"status": "failedDependency",
"httpStatusCode": 424
}
// global credit is not available , or , credit limit not available for destination asset
{
"orderId": "theOrderIdXXXXXX",
"errors": [
"Credit Not Available: Your account is in good standing, but credit is not available at this time. Please contact your account executive."
],
"status": "failedDependency",
"httpStatusCode": 424
}