Idempotency Supported
This API is used to schedule exchange rate modification for a manual
forex_type
currency.
Prerequisites & Constraints
- Multi-currency pricing must be enabled for your site to schedule a currency exchange-rate change.
site-currency-idmust reference a manual forex type currency.
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/currencies/{site-currency-id}/add_schedule
Input Parameters
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.
Constraints
manual_exchange_ratemust be a valid number greater than zero (e.g. 1.25, 0.5, .5, 100).- manual_exchange_rate has more than 9 decimal places; the server silently truncates to 9 decimals. Round the value yourself to avoid surprises.
Returns
scheduled_ at
required, timestamp(UTC) in seconds
Currency object
Resource object representing currency