> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notional.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# User Order Rejections

## Subscribe

```json theme={null}
{
  "method": "subscribe",
  "subscription": {
    "type": "userOrderRejections",
    "user": "0x742d35cc6634c0532925a3b844bc9e7595f0beb"
  }
}
```

## Response

```json theme={null}
{
  "channel": "userOrderRejections",
  "data": {
    "user": "0x742d35cc6634c0532925a3b844bc9e7595f0beb",
    "rejections": [
      {
        "orderId": "0x1234...",
        "coin": "BTC",
        "reason": "Insufficient margin",
        "code": "INSUFFICIENT_MARGIN",
        "timestamp": 1701234567890
      }
    ]
  }
}
```

## Notes

<Note>
  * `code` is a machine-readable string forwarded from the rejection event and should not be treated
    as a closed enum.
</Note>
