This API is used to update the configured currencies within your Chargebee site.
Additionally, If the forex_type
is set to manual
, you can specify the manual_exchange_rate
.
Prerequisites & Constraints
- Multicurrency is not activated for your account yet. Enable the multi-currency feature before updating a currency.
manual_exchange_rateis required whenforex_typeismanual.
Sample Request
Sample Result[JSON]
URL Format
Input Parameters
This represents the exchange rate type set for the currency.
If forex_type
is manual
, you will be able to set the conversion rate for the currency. You need to update the exchange rate each time your exchange rate provider changes it
If forex_type
is auto
, conversion rate will be auto updated by Chargebee every day with third party providers (using external currency conversion providers)
This parameter allows you to pass the exchange rate in decimal format. When forex_type
is manual
you have to set the exchange rate for additional currencies in manual_exchange_rate
parameter. A maximum of nine
decimal values are allowed to pass in this field.
manual_exchange_ratemust be a valid number greater than zero.- manual_exchange_rate has more than 9 decimal places; the server silently truncates to 9 decimals. Round the value yourself to avoid surprises.