FX Rates

Create an FX rate

Changed on

Configure a fixed exchange rate at tenant, customer or subscription scope. Overrides need a tenant rate for the same pair.

post/forex

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/forex
  • Auth
    API key in header x-api-key

Request body

end_datestring date-time
from_currencystring required
metadataobject
ratestring
scope'tenant' | 'customer' | 'subscription' required
scope_idstring
source'fixed' | 'market'
start_datestring date-time
to_currencystring required

Response

Created

created_atstring date-time
created_bystring
end_datestring date-time
environment_idstring
from_currencystring
idstring
metadataobject
ratestring
scope'tenant' | 'customer' | 'subscription'
scope_idstring
source'fixed' | 'market'
start_datestring date-time
status'published' | 'deleted' | 'archived'
tenant_idstring
to_currencystring
updated_atstring date-time
updated_bystring

Changes