To receive the currency rate I use the following endpoint -> CSCurrencyRates
The response has the following structure:
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?