# NewOrderRequest

object





### type

Type: string · enum.



Values: ORDER_TYPE_MARKET, ORDER_TYPE_LIMIT



### direction

Type: string · enum.



Values: DIRECTION_BUY, DIRECTION_SELL



### amount

Type: number · double.

Amount to spend. Must be positive. When buying, this is the amount in NOK.
 When selling, this is the amount in BTC.





### accountId

Type: string.

The bitcoin account to use for this order. Empty for default account.





### description

Type: string.

Free-form text description of the order. Can be used to correlate with
 your own systems.





### price

Type: number · double.

The price to buy or sell at. Only used for limit orders.





## Used by

- [Create an order · request](https://barebitcoin.no/developers/api/orders/create-order#request)

Source: https://barebitcoin.no/developers/models/NewOrderRequest
