Hello Team,
To receive the currency rate I use the following endpoint -> CSCurrencyRates
The response has the following structure:
{
"ToCurrency": "CAD",
"RateType": "AV",
"FromCurrency": "AUD",
"RateDate": "2020-01-02T00:00:00Z",
"Rate": 0.9272,
"Spread": 0.1,
"DateMatching": "Earlier",
"RateOperation": "Divide",
"PropagateChangesImmediately": true,
"UpdateOperation": "Unspecified"
},
Is it required to analyze the RateType?
For example, I received two rates from CAD to AUD. But each rate has a different rate type.
How to detect what rate I should use according to the rate type?
For example, I received two rates from CAD to AUD. But each rate has a different rate type.
How to detect what rate I should use according to the rate type?