post

/api/v1/exchange/order

Create a new limit or market order on the exchange by submitting an ExchangeOrderRequest object to this method. Take note of the uuid value returned for the order. This value will be used as an input for further methods relating to the order.

For the price and amount parameters, please use values within the minimums and maximums obtained from a call to the List Markets method.

Request Body

Schema
object

ExchangeOrderRequest: A limit or market order request that has been placed on the Coindirect exchange

symbol
string
amount
number
price
number
wallet
object

Wallet: A place to store a single crypto or fiat currency and where transactions can take place.

id
integer
1 validation
description
string
currency
object

Currency: A crypto or fiat currency supported by Coindirect

supportsWithdrawals
boolean
1 validation
supportsDeposits
boolean
1 validation
address
string
lookup
string
balance
number
type
string
Allowed Values: LIMIT, MARKET
side
string
Allowed Values: BUY, SELL

Responses

successful operation

Schema
object

ExchangeOrder: A completed market or limit order that has been executed on the Coindirect exchange

symbol
string
uuid
string
amount
number
executedAmount
number
executedPrice
number
price
number
status
string
side
string
dateCreated
string
format: date-time
type
string

Send a Test Request

$$.env
1 variable not set
Authorization