FxRateInput
A rate against your base currency, or a currency pair with your base currency on one side.
currency_codestring
Example:
GBPperiod_typestring
Possible values: [day, week, month]
Default value:
dayperiod_startstring<date>
The day, the Monday of the week or the 1st of the month
rate_typestring
Always close for a day
Possible values: [average, close]
per_basenumber
1 base currency = per_base units of currency_code
from_currencystring
Example:
EURto_currencystring
Example:
USDratenumber
1 from_currency = rate to_currency
datestring<date>
FxRateInput
{
"currency_code": "GBP",
"period_type": "day",
"period_start": "2024-07-29",
"rate_type": "average",
"per_base": 0,
"from_currency": "EUR",
"to_currency": "USD",
"rate": 0,
"date": "2024-07-29"
}