Maxbit API documentation
  1. Maxbit
Maxbit API documentation
  • Maxbit
    • Maxbit Orderbook websocket
    • Get User Balance
      GET
    • Get Deposit Address
      GET
    • Symbol Price Ticker
      GET
    • Get All Asset And Network
      GET
    • New Order
      POST
    • Query Order
      GET
    • Cancel Order
      PUT
    • Cancel all Open Orders on a Symbol
      PUT
    • All Orders
      GET
    • System Status
      GET
    • Account API Trading Status
      GET
    • Get Crypto Deposit History
      GET
    • Get Crypto Withdraw History
      GET
    • Get Fiat Transactions
      GET
    • Get User Banks
      GET
    • Fiat Withdrawal (Advanced)
      POST
    • Get Trading pair
      GET
    • Get Pair Settings
      GET
    • Trading Fee
      GET
  1. Maxbit

Cancel Order

PUT
/api/v3/order
DESCRIPTION
Cancels a specific trade order, allowing users to withdraw an order that is pending or partially fulfilled. This endpoint requires the unique identifier of the trade order to be canceled, ensuring precise and secure order management.

Request

Query Params

Header Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://endpoint-gateway.maxbit.com/api/v3/order?symbol=BTC_THB&orderId=31688&origClientOrderId=&newClientOrderId=&cancelRestrictions=&recvWindow=&timestamp=1718855898528&signature={{signature}}' \
--header 'X-MBX-APIKEY: {{maxbit-api-key}}' \
--header 'Content-Type: application/json'

Responses

🟢200Success
application/json
Body

Example
{
    "symbol": "BNB_THB",
    "origClientOrderId": "msXkySR3u5uYwpvRMFsi3u",
    "orderId": 28,
    "orderListId": -1,
    "clientOrderId": "6gCrw2kRUAF9CvJDGP16IP",
    "transactTime": 1507725176595,
    "price": "1.00000000",
    "origQty": "10.00000000",
    "executedQty": "10.00000000",
    "cummulativeQuoteQty": "10.00000000",
    "status": "FILLED",
    "timeInForce": "GTC",
    "type": "LIMIT",
    "side": "SELL",
    "selfTradePreventionMode": "NONE"
}
Modified at 2024-08-09 11:11:54
Previous
Query Order
Next
Cancel all Open Orders on a Symbol
Built with