Currencies
Get a currency exchange rate.
Returns an exchange rate between base and target currencies provided in parameters. Date of the rate and type of the rate can also be selected
get/currencies/exchangerate
Request
- Base URL: https://pts-api.procountor.com/api
- URL: https://pts-api.procountor.com/api/currencies/exchangerate
- Auth: HTTP bearer
Query parameters
baseCurrencystring required
Base currency for conversion.
currencystring required
Target currency for conversion.
daystring date required
Day for the rate.
rateType'PROCOUNTOR_ACCOUNTING_EXCHANGE_RATE' | 'ACCOUNT_CURRENCY_AVERAGE_RATE' | 'ACCOUNT_CURRENCY_BUYING_RATE' | 'ACCOUNT_CURRENCY_SELLING_RATE' | 'CASH_BUYING_RATE' | 'CASH_CURRENCY_SALE_EXCHANGE_RATE' required
Type of the rate.
Response
The currency exchange rate was successfully returned.
Changes
No recorded changes to this operation across all 1 revision of this API.