Skip to main content
POST
/
investments
/
orders
curl --request POST \
  --url https://{host}/investments/orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-user-id: <x-user-id>' \
  --data '
{
  "side": "buy",
  "isin": "US0378331005",
  "amount": 25.5
}
'
{
  "id": "64f5b3137fb3fc001234abce",
  "isin": "US0378331005",
  "side": "Buy",
  "status": "Pending",
  "quantity": 1.5,
  "executionWindow": {
    "type": "real-time",
    "expectedExecutionDate": "2024-07-12"
  },
  "settlementCurrency": "EUR",
  "consideration": {
    "currency": "EUR",
    "amount": 2550,
    "originalAmount": 2550
  },
  "fees": {
    "fx": {
      "currency": "EUR",
      "amount": 0
    },
    "commission": {
      "currency": "EUR",
      "amount": 0.25
    }
  },
  "createdAt": "2024-07-12T10:30:00Z"
}

Authorizations

Authorization
string
header
required

Auth0-issued access token that includes the scopes listed for the endpoint.

Headers

x-user-id
string
required

User identifier for the M2M client to specify which user's data to access.

Query Parameters

paymentMethod
enum<string>
default:cash

Funding source for the order. Use gift when consuming an approved gift; otherwise the user's available cash balance is debited.

Available options:
cash,
gift
executeEtfOrdersInRealtime
boolean

Optional override for ETF instruments. Only users flagged for real-time execution can set this to true. Selling ETFs as aggregated orders is rejected for real-time-enabled users.

Body

application/json
side
enum<string>
required

Trade direction for the order.

Available options:
buy,
sell
isin
string
required

ISIN of the asset to trade.

amount
number<double>

Required when side is buy. Whole-currency amount to invest.

quantity
number<double>

Required when side is sell. Number of asset units to sell.

gift
string

Required when paymentMethod=gift. Provide the gift identifier to consume.

Response

Order created successfully.

Order information including execution details and fees

id
string
required
isin
string
required
side
enum<string>
required
Available options:
Buy,
Sell
status
enum<string>
required
Available options:
Pending,
Matched,
Settled,
Rejected,
Cancelled
quantity
number<double>

Asset units (may be null for pending buy orders)

executionWindow
object

Execution timing communicated to the client.

settlementCurrency
string
consideration
object
fees
object
createdAt
string<date-time>
updatedAt
string<date-time>
filledAt
string<date-time> | null
unitPrice
object
displayExchangeRate
object