Request for Quote

Retrieve a quote for currency conversion. The API will respond with a quote_id and the applicable conversion rate. Note: The quote is valid for 5 seconds.

Authentication

AuthorizationBearer
OAuth 2.0 access token

Query parameters

fromCurrencyenumRequired
Source currency code
toCurrencyenumRequired
Destination currency code
amountdoubleRequired
Amount to convert in source currency

Response

Successful response with quote
quoteIdstring

Unique quote identifier (valid for 5 seconds)

fromCurrencystring
Source currency code
toCurrencystring
Destination currency code
fromAmountdouble
Amount in source currency
toAmountdouble
Amount in destination currency
ratedouble
Conversion rate
expiresAtdatetime
Quote expiration timestamp

Errors