Create an order

Creates a new order for an internal currency exchange and/or for an outbound payment, using an existing quote.

SecurityCommonAuth
Request
query Parameters
accountId
required
string

The ID of the account to work with.

Example: accountId=F50091
Request Body schema: application/json

Body

One of:
orderId
required
string

The orderId that was returned in the currency quote.

quoteRequestId
required
string

The quoteRequestId that was returned in the currency quote.

required
object
Responses
200

OK

post/orders/trade
Request samples
application/json
{
  • "orderId": "string",
  • "quoteRequestId": "string",
  • "moveMoneyRequestId": "3e76949a-6212-4461-a828-33657c69bca9",
  • "payments": {
    }
}
Response samples
application/json
{
  • "orderId": "EABCDE6FGHI0",
  • "bank": "BANK",
  • "settlement": {
    },
  • "trade": {
    }
}