The foreign_exchange_rate
object is how Modern Treasury represents exchange rate information between two currencies with high precision. The rate itself is not a resource that can be queried for, but will serialized as part of the object it applies to.
Attribute | Type | Description |
---|---|---|
base_amount |
| Amount in the lowest denomination of the |
base_currency |
| Currency to convert, often called the "sell" currency. |
exponent |
| The exponent component of the rate. The decimal is calculated as |
rate_string |
| A string representation of the rate, e.g. |
target_amount |
| Amount in the lowest denomination of the |
target_currency |
| Currency to convert the |
value |
| The whole number component of the rate. The decimal is calculated as |