# Create a new currency rate that does not overlap with any existing rates Endpoint: POST /currency-rates Version: 1.12 Security: bearerAuth ## Request fields (application/json): - `sourceCurrencyId` (integer, required) Identifier of currency that is being converted from Example: 1 - `targetCurrencyId` (integer, required) Identifier of currency that is being converted to Example: 1 - `exchangeRate` (number, required) Exchange rate from source currency to target currency in major currency (e.g pounds/dollars/euros) unit. For example, from Argentina Peso to GBP is 446.2497 Example: 446.2497 - `startDate` (string, required) Start date - `endDate` (string) End date ## Response 201 fields (application/json): - `id` (integer) Internal identifier of currency rate Example: 1 - `sourceCurrencyId` (integer, required) Identifier of currency that is being converted from Example: 1 - `targetCurrencyId` (integer, required) Identifier of currency that is being converted to Example: 1 - `exchangeRate` (number, required) Exchange rate from source currency to target currency in major currency (e.g pounds/dollars/euros) unit. For example, from Argentina Peso to GBP is 446.2497 Example: 446.2497 - `startDate` (string, required) Start date - `endDate` (string) End date ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 500 fields