export interface Money { /** The amount in major units, as an exact decimal string — `"10.00"` is ten dollars. A string so no float rounds it in transit. */ amount: string; /** Three-letter ISO 4217 currency code, lowercase. */ currency: string; /** How many decimal places the amount CARRIES — the precision the charge itself runs at. */ decimals: number; /** How many decimal places to SHOW. Usually equal to `decimals`, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is `2` and `0`. Format the number in your own locale using this. */ display_decimals: number; }