Cancel Orders
Changed onCancel multiple Orders by their IDs in a single request. Note that this requires the Order IDs, not the OrderRequest IDs. Once you submit a cancellation request, it cannot be undone. Be advised that orders with a status of PENDING_FILL, PENDING_ESCROW, FILLED, REJECTED, or CANCELLED cannot be cancelled.
Order cancellation is not guaranteed nor is it immediate. The Orders may still be executed if the cancellation request is not received in time.
The response will indicate which orders were successfully queued to cancel and which failed to queue. Check the status using the "Get Order by ID" endpoint to confirm whether individual Orders have been cancelled.
Request
- Base URLhttps://api-enterprise.sbt.dinari.com
- AuthAPI key in header X-API-Key-Id and API key in header X-API-Secret-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Changes
- breaking
the
//response's property type changed fromnumbernulltostringnull, and format from no format todecimalfor status - breaking
the
//response's property type changed fromnumbernulltostringnull, and format from no format todecimalfor status - breaking
the
//response's property type changed fromnumbernulltostringnull, and format from no format todecimalfor status - breaking
the
//response's property type changed fromnumbernulltostringnull, and format from no format todecimalfor status - breaking
the
//response's property type changed fromnumbernulltostringnull, and format from no format todecimalfor status - breaking
the
//response's property type changed fromnumbernulltostringnull, and format from no format todecimalfor status - breaking
the
//response's property type changed fromnumbernulltostringnull, and format from no format todecimalfor status - breaking
the
//response's property type changed fromnumbernulltostringnull, and format from no format todecimalfor status - warning
added the new
eip155:1329enum value to the//response property for the response status - warning
added the new
eip155:1329enum value to the//response property for the response status - warning
added the new
eip155:5042enum value to the//response property for the response status - warning
added the new
eip155:5042enum value to the//response property for the response status - warning
added the new
eip155:56enum value to the//response property for the response status - warning
added the new
eip155:56enum value to the//response property for the response status - info
removed the
eip155:81457enum value from the//response property for the response status - info
removed the
eip155:81457enum value from the//response property for the response status
- breaking
- warning
added the new
eip155:43114enum value to the//response property for the response status - warning
added the new
eip155:43114enum value to the//response property for the response status
- warning