Cancel Order
Cancels an order under exchange client
DELETE https://api.ajaib.co.id/coin/internal/v1/order
Functionality: Cancels or withdraws an open order belonging to the exchange client's trading account.
Instruction is valid if the order is open (only orders with status NEW, OPEN, PARTIALLY_FILLED). Otherwise, this instruction will be rejected automatically.
A successful response returned simply means the exchange has received (order) instructions to act upon. However, it is no guarantee all (order) instructions have been processed successfully.
Authentication: Required
Request Param
Name
Type
Mandatory
Description
order_id
long
Unique identifier generated by Ajaib exchange for orders submitted successfully
{
"status": "CANCEL_SENT"
}{
"error": "order_already_closed"
}{
"error": "invalid_client"
}Last updated