@sumup/sdk
    Preparing search index...

    Type Alias SalesActivityCurrency

    The currency of the sale.

    type SalesActivityCurrency = {
        code: string;
        scale: number;
    }
    Index
    code: string

    3-letter currency code as defined by ISO-4217.

    Format: iso-4217

    Min length: 3

    Max length: 3

    scale: number

    The scaling factor to apply to the value to arrive at the currency's major unit. Providing a scale mitigates changes to the minor unit over time, for example due to inflation. For example, if scale is denoted by s and value is denoted by v is the value, then one arrives at the major currency value by calculating v / 10^s.