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

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

405

Method Not Allowed

415

Unsupported Media Type

422

Unable to process the request

429

Too Many Requests

500

Internal Server Error

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": {
    }
}