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 (accountId)

The ID of the account to work with.

Example: accountId=F50072
Request Body schema: application/json
required
Any 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

Details about the payment.

Responses
200

OK

400

Bad request

401

Unauthorised

403

Forbidden

404

Not found

405

Method not allowed

415

Unsupported media type

429

Too many requests

500

Internal server error

post/orders/trade
Request samples
application/json
{
  • "orderId": "string",
  • "quoteRequestId": "string",
  • "payments": {
    }
}
Response samples
application/json
{
  • "orderId": "EABCDE6FGHI0",
  • "bank": "BANK",
  • "settlement": {
    },
  • "trade": {
    }
}