Cancel OTC Trade
POST/v2/otc-command
Cancel a pending OTC trade or reject an OTC trade previously submitted on your behalf by an inter-dealer broker.
Submits a command to the trading engine. A successful response indicates that the command entry was acknowledged but does not indicate that the command was executed. This endpoint uses the signing format which does not require strict field ordering and addition of null fields in the request body.
Command schemas and examples are provided below. Supported commands:
- V1CancelOtcTrade
- V1CancelAllOtcTrades
Requires
- bearer token in authorization header
Request
Responses
- 200
- 400
- 401
- 403
- 500
Status OK. This means a command was successfully acknowledged.
Bad Request
For example, sending a request with the BX-SIGNATURE header missing will result in the following response:
Unauthorized. Either API details are missing or invalid
Forbidden- You do not have access to the requested resource
Internal Server Error