Accept Quote

Lock in the rate by accepting the quote within the valid timeframe (5 seconds) to create the trade.

Authentication

AuthorizationBearer
OAuth 2.0 access token

Request

This endpoint expects an object.
quoteIdstringRequired
Quote ID from the request quote endpoint

Response

Quote accepted and trade created successfully
idstring
Order ID
fromCurrencystring
Source currency code
toCurrencystring
Destination currency code
fromAmountdouble
Amount in source currency
toAmountdouble
Amount in destination currency
ratedouble
Conversion rate used
statusenum
Order status
Allowed values:
createdAtdatetime
Order creation timestamp
quoteIdstring
Quote ID used to create this order
completedAtdatetime
Order completion timestamp
referencestring
External reference

Errors

400
Bad Request Error
403
Forbidden Error