Skip to content

Order placement failed ​

SEND Server to Client on wss://api.valr.com/ws/account

Sent when an order has failed to be placed on the exchange. Includes an error message describing why the order failed.

Authentication ​

This operation requires API key authentication (HMAC-SHA512 via query parameters or in-band AUTHENTICATE message).

Message ​

Event type: FAILED_ORDER

Payload Schema ​

PropertyTypeRequiredDescription
orderIdstringNo-
messagestringYes-

Example ​

json
"{\n    \"type\": \"FAILED_ORDER\",\n    \"data\": {\n        \"orderId\": \"f1e2d3c4-b5a6-7890-1234-567890abcdef\",\n        \"message\": \"Insufficient balance\"\n    }\n}"

Channel ​

Channel: account Address: wss://api.valr.com/ws/account