Batch Cancel Orders

Cancel multiple orders under exchange client

DELETE https://api.ajaib.co.id/coin/internal/v1/order/batch

Functionality: Cancels or withdraws a list of orders belonging to the exchange client's trading account.

This endpoint's purpose is to allow the client to quickly submit a batch of instructions (i.e. cancel these orders) to the exchange at one go.

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 Body

Name
Type
Mandatory
Description

order_ids

List<Long>

The list of order id

symbol

string

Symbol of trading pair. Refer to this

Request Body Sample

{
    "order_ids": [
        123456,
        789012,
        543210
    ],
    "symbol": "BTC_IDR"
}

Response Body

Name
Type
Description

success

array of int

List of order ids that success to cancel.

fail

array of int

List of order ids that failed to cancel.

Last updated