Skip to main content
curl -X DELETE "https://api.polyhush.com/api/v1/trading/orders" \
     -H "X-API-Key: your-api-key"

Response

message
string
Status message.
cancelled
integer
Number of orders successfully cancelled.
total
integer
Total number of open orders processed.
total_refund
number
Total amount refunded to available balance.
errors
array
List of any errors encountered during cancellation.
{
  "message": "Cancelled 3 orders",
  "cancelled": 3,
  "total": 3,
  "total_refund": 150.00,
  "errors": []
}