v47

latestOpenAPI 3.1.0Contact usraw.githubusercontent.com2026-07-1061131268.6 KB
Orders

Cancel Order

Cancel an Order by its ID. Note that this requires the Order ID, not the OrderRequest ID. 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 Order may still be executed if the cancellation request is not received in time.

Check the status using the "Get Order by ID" endpoint to confirm whether the Order has been cancelled.

post/api/v2/accounts/{account_id}/orders/{order_id}/cancel

Response

OK

idstring uuid required

ID of the Order.

status'PENDING_SUBMIT' | 'PENDING_CANCEL' | 'PENDING_ESCROW' | 'PENDING_FILL' | 'ESCROWED' | 'SUBMITTED' | 'CANCELLED' | 'PARTIALLY_FILLED' | 'FILLED' | 'REJECTED' | 'REQUIRING_CONTACT' | 'ERROR' required
chain_id'eip155:1' | 'eip155:42161' | 'eip155:8453' | 'eip155:81457' | 'eip155:98866' | 'eip155:999' | 'eip155:43114' | 'eip155:11155111' | 'eip155:421614' | 'eip155:84532' | 'eip155:168587773' | 'eip155:98867' | 'eip155:998' | 'eip155:43113' | 'eip155:202110' | 'eip155:179205' | 'eip155:179202' | 'eip155:98865' | 'eip155:7887' required
order_contract_addressstring eth_address required

Smart contract address that Order was created from.

order_transaction_hashstring hex_string required

Transaction hash for the Order creation.

order_side'BUY' | 'SELL' required
order_type'MARKET' | 'LIMIT' required
order_tif'DAY' | 'GTC' | 'IOC' | 'FOK' required
payment_tokenstring eth_address required

The payment token (stablecoin) address.

created_dtstring date-time required

Datetime at which the Order was created. ISO 8601 timestamp.

stock_idstring uuid nullable

The Stock ID associated with the Order

alloy_idstring uuid nullable

The Alloy ID associated with the Order

asset_tokenstring eth_address nullable

The dShare asset token address.

asset_token_quantitynumber nullable

Total amount of assets involved.

payment_token_quantitynumber nullable

Total amount of payment involved.

limit_pricenumber nullable

For limit Orders, the price per asset, specified in the Stock's native currency (USD for US equities and ETFs).

feenumber nullable

Fee amount associated with Order.

cancel_transaction_hashstring hex_string nullable

Transaction hash for cancellation of Order, if the Order was cancelled.

order_request_idstring uuid nullable

Order Request ID for the Order

client_order_idstring nullable

Customer-supplied unique identifier to map this Order to an order in the customer's systems.