exchange-rates
Assert an exchange rate, with its effective date and source
State an exchange rate this workspace stands behind, with the day it takes effect and where it came from. Indraft never fetches, infers, or interpolates a rate, so this is the ONLY way a total can cross currencies: without a stored rate an aggregate refuses rather than converting. The rate is recorded as an assertion like any other, with the actor who made it, and every converted total names it. Give the rate in millionths as an integer, so 1.0842 is 1084200: a decimal rate would be a float, and a float is how a rounding error reaches a pipeline total. Asserting the same pair for the same day again corrects the standing rate rather than adding a second one.
post/v1/exchange-rates
Request
- Base URL: https://api.indraft.io
- URL: https://api.indraft.io/v1/exchange-rates
- Auth: HTTP bearer
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.