Skip to main content

Order Cancel Request

Submit cancel requests with MsgType (35) set to F. Orders can be canceled at any point by referencing the ClOrdID (11) used when submitting the order. See Execution Report - Canceled for the cancel confirmation response.

Message Format – Outgoing Message

Standard FIX Fields

TagFieldWhen to IncludeNotes
8BeginStringAlwaysStandard FIX header
9BodyLengthAlwaysStandard FIX header
35MsgTypeAlwaysF (Order Cancel Request)
49SenderCompIDAlwaysStandard FIX header
56TargetCompIDAlwaysStandard FIX header
34MsgSeqNumAlwaysStandard FIX header
52SendingTimeAlwaysStandard FIX header

Standard FIX Trailer

TagFieldWhen to IncludeNotes
10CheckSumAlways

Cancel Request Fields

Required
TagFieldWhen to IncludeNotes
41OrigClOrdIDAlwaysClOrdID of the original order to cancel
11ClOrdIDAlwaysNew client order ID for this cancel request (a-z, A-Z, 0-9, ., -, _, $, :)
1AccountAlways
109ClientIDAlways
55SymbolAlwaysCurrency pair
167SecurityTypeAlwaysMust be FOR
54SideAlways1 = Buy, 2 = Sell
60TransactTimeAlways
Conditional
TagFieldWhen to IncludeNotes
38OrderQtyLimit and market sell ordersBase quantity
152CashOrderQtyMarket buy ordersFiat notional

Order Cancel Reject

If a cancel request cannot be processed, Paxos returns an Order Cancel Reject with MsgType (35) set to 9 and CxlRejReason (102) populated.

Message Format – Response Message

Standard FIX Fields

TagFieldWhen PresentNotes
8BeginStringAlwaysStandard FIX header
9BodyLengthAlwaysStandard FIX header
35MsgTypeAlways9 (Order Cancel Reject)
49SenderCompIDAlwaysStandard FIX header
56TargetCompIDAlwaysStandard FIX header
34MsgSeqNumAlwaysStandard FIX header
52SendingTimeAlwaysStandard FIX header

Standard FIX Trailer

TagFieldWhen PresentNotes
10CheckSumAlways

Cancel Reject Fields

Always Present
TagFieldWhen PresentNotes
434CxlRejResponseToAlways1 = Order Cancel Request
11ClOrdIDAlwaysClOrdID from the cancel request
39OrdStatusAlwaysCurrent order status
41OrigClOrdIDAlwaysOriginal order ClOrdID
37OrderIDAlways
1AccountAlways
102CxlRejReasonAlwaysSee rejection reasons below

Rejection Reasons – CxlRejReason (102)

ValueMeaningWhen
0Too late to cancelOrder is already filled, cancelled, or rejected
1Unknown orderOrder not found or invalid client order identifier
2Broker optionGeneral rejection (e.g., too early to cancel, invalid wallet)
3Already pending cancelA cancel request is already being processed for this order
99OtherMarket is unavailable