Syntax

listCurrencies( $convert_to='' )

Gives back a list of the currencies, which can be used when selling via Digistore24.

Access rights

readonly or writable required.

Arguments

$convert_to – optional. List of currencies, for example EUR or EUR,USD,CHF or all (for all available currencies)

If specified, the current exchange rates into this currency are also displayed.

Return data

A list of the currencies, for example:

Array
(
    [0] => Array
    (
        [id] => 1
        [code] => EUR
        [symbol] => €
        [min_price] => 0.80
        [max_price] => 5000.00
        [name] => EURO
    )

    [1] => Array
    (
        [id] => 2
        [code] => USD
        [symbol] => $
        [min_price] => 0.80
        [max_price] => 5000.00
        [name] => USD
    )

 )