Approve OTC Trade
Authorize an OTC trade previously submitted on your behalf by an inter-dealer broker.
Submits a command to the trading engine to approve an OTC trade. 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:
- V1ApproveOtcTrade
Requires
- bearer token in authorization header
Request
- Base URLhttps://api.exchange.bullish.com/trading-api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
signature obtained using the signing format
timestamp is the number of milliseconds since EPOCH
nonce is a client side incremented unsigned 64 bit integer
Request body
Example request
{
"commandType": "V1ApproveOtcTrade",
"otcTradeId": "200000000000000098",
"tradingAccountId": "111000000000001"
}Response
Status OK. This means a command was successfully acknowledged.
Example response
{
"message": "Command acknowledged - ApproveOtcTrade",
"requestId": "100000000000000149",
"otcTradeId": "200000000000000098",
"tradingAccountId": "111000000000001"
}Changes
No recorded changes to this operation across all 1 revision of this API.