Skip to content

Cancel trades

Request

Cancel individual trades by trade ID or one or more trades by your trade request.

You must specify either tradeId or clientRequestId.

If you specify tradeId, all other parameters are ignored.

Security
SSO_TOKEN
Bodyapplication/json
tradeIdstring, [ 5 .. 30 ] characters

ID of trade to cancel. If specified, all other parameters are ignored.

clientRequestIdstring, [ 5 .. 255 ] characters

Your reference ID for the request to trade that resulted in the trades you want to cancel. Multiple trades may be cancelled.

customerOrgstring, [ 1 .. 60 ] charactersrequired

ID of the customer organization on the trade.

Cancel a single trade by trade ID.

{ "customerOrg": "BrokerCustOrgDle5", "tradeId": "FXI73879011" }

Responses

Success.

Bodyapplication/json
One of:
customerOrgstring

ID of the customer organization on the cancelled trade.

tradeIdstringrequired

ID of cancelled trade.

Response

Response to a cancel request that specified tradeId.

{ "customerOrg": "BrokerCustOrgDle5", "tradeId": "FXI9222972502" }