Monetary amounts are fixed-point values, with the decimal string pattern d+.dd
, and must be associated with a currency to be meaningful. These values are transmitted through our APIs as structures with the following shape:
{
amount: string, decimal number with format “d+.dd”
currency: string, ISO4217 currency code
}