Skip to main content
DELETE
Cancel an order

Authorizations

x-api-key
string
header
required

A scoped API key created in the PaperDrill dashboard.

Path Parameters

orderId
string
required

Order identifier.

Response

Order cancelled successfully.

id
string
required
symbol
string
required
status
string
required
Allowed value: "CANCELLED"
side
enum<string>
required
Available options:
BUY,
SELL
qty
string
required

A non-negative decimal encoded as a string.

Pattern: ^\d+(\.\d+)?$
Example:

"125.50"

filledQty
string
required

A non-negative decimal encoded as a string.

Pattern: ^\d+(\.\d+)?$
Example:

"125.50"

releasedFunds
string
required

A non-negative decimal encoded as a string.

Pattern: ^\d+(\.\d+)?$
Example:

"125.50"