Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Query Parameters

accountId
string
required

The ID of the account to work with.

Example:

"F50091"

Body

application/json

Body

sourceCurrency
object
required

Details about the source currency.

targetCurrency
object
required

Details about the target currency.

settlementDate
string
required

The settlement date.

Pattern: ^20[0-9]{2}[0-2][0-9][0-3][0-9]$
Example:

"20221027"

type
object
required

Details about the type of quote that you're creating.

marginCurrency
string

The ISO-4217 currency in which margin (collateral) is held for the contract. Required when creating a forward contract.

Pattern: ^[A-Z]{3}$
Example:

"USD"

Response

200 - application/json

OK

orderId
string

The ID of the order.

Example:

"EABCDE6FGHI0"

quoteRequestId
string

The ID of the quote request.

Example:

"USD-USD-5-5"

settlement
object

Details about the settlement.

quote
object

Details about the quote.