cancelOrder

This method is for canceling an existing open order.

Body JSON
{
    "method": "cancelOrder",
    "timestamp": "1578304294000",
    "recvWindow": "1578303937000",
    "pair" : "btc_idr",
    "order_id" : "59977301",
    "type" : "buy"
}

POST https://us-central1-appgregator.cloudfunctions.net/indodax/method/

Query Parameters

Headers

{
    "success": 1,
    "return": {
        "order_id": 666883,
        "type": "sell",
        "pair": "btc_idr",
        "balance": {
            "idr": "33605800",
            "btc": "0.00000000",
            "frozen_idr": "0",
            "frozen_btc": "0.00000000"
        }
    }
}
curl --location --request POST 'https://us-central1-appgregator.cloudfunctions.net/indodax/method/?name=qantor.co.id&connection_name=crypto01' \
--header 'secret-key: 84c7373...' \
--header 'x-api-key: U2Fsd...' \
--header 'Content-Type: application/json' \
--data-raw '{
    "method": "cancelOrder",
    "timestamp": "1578304294000",
    "recvWindow": "1578303937000",
    "pair" : "btc_idr",
    "order_id" : "59977301",
    "type" : "buy"
}'

Last updated