Create Order

post/trade-falcon/api/prime/trading/v1/orders

Prime Trading

Request Body

externalClientOrderId string <uuid>required
Id generated by external source
accountId string <uuid>required
The user's account that initiated the trade
baseCurrency string required
Supported currency of a trade
Allowed values: usd btc eth xrp ltc bch
Example: usd
quoteCurrency string required
Supported currency of a trade
Allowed values: usd btc eth xrp ltc bch
Example: usd
side string required
Side of a trade, from the perspective of the requesting user
Allowed values: buy sell
Example: buy
baseAmount string required
Base currency amount to buy or sell
quoteAmount string required
Quote currency amount to buy or sell

200 Response

Array of
id number <uuid>
The unique id of the order object
Example: 37617d48-9cd5-4d0a-8f41-b2d0bec2229b
externalClientOrderId string <uuid>
Id generated by external source
Example: 37617d48-9cd5-4d0a-8f41-b2d0bec2229b
accountId string
The user's account that initiated the trade
Example: 37617d48-9cd5-4d0a-8f41-b2d0bec2229b
status string
Indicates the overall status of the Order
Allowed values: canceled pending rejected settled failed
Example: pending
baseCurrency string
Currency type listed first in a trading pair
Allowed values: usd btc eth xrp ltc bch
Example: usd
quoteCurrency string
Currency type listed first in a trading pair
Allowed values: usd btc eth xrp ltc bch
Example: usd
side string
Side of the trade the user is on
Allowed values: buy sell
Example: buy
baseAmount string
Base currency amount to buy or sell
Example: 100000
quoteAmount string
Quote currency amount to buy or sell
Example: 100000
createdAt string <date-time>
ISO date string

400 Response

error string required
Human-readable error message
errorName string required
Immutable error code for API integration
reqId string required
Client request id