v1

latestOpenAPI 3.0.12026-07-2428103163.2 KB
CurrencyConversion

Get indicative FX rate for currency conversion

Retrieve an indicative rate for currency conversion between two currencies. As this is an indicative rate it may change between the time of this request and the time of the actual conversion.

get/indicative-rates

Query parameters

SellCurrencystring required

The currency that we would use to pay. This is an ISO 4217:2015 Alpha-3 currency code.

The currency that we would use to pay. This is an ISO 4217:2015 Alpha-3 currency code.

BuyCurrencystring required

The currency that we are wanting to buy. This is an ISO 4217:2015 Alpha-3 currency code.

The currency that we are wanting to buy. This is an ISO 4217:2015 Alpha-3 currency code.

Headers

Crezco-Versionstring

The requested API version

Response

OK

sellCurrencystring
<p> The currency that we would use to pay. This is an ISO4217:2015 Alpha-3 currency code. </p>
buyCurrencystring
<p> The currency that we are wanting to buy. This is an ISO4217:2015 Alpha-3 currency code. </p>
ratenumber double
<p> The indicative rate for this conversion. Indicative means that the rate may change in the time between making this request and the concrete request to purchase currency is made. </p>

Example response

[
  {
    "sellCurrency": "GBP",
    "buyCurrency": "EUR",
    "rate": 1.2345
  }
]