GetSupportedCurrencies
Purpose
Returns a list of currencies supported by a payment gateway.
Mandatory
No.
Input Parameters
None.
Response
An array with values that are ISO 4217 currency codes of supported currencies.
Example
Suppose that the Example plugin supports the SEPA (Single Euro Payments Area) transfer. Therefore, it must support all currencies from the SEPA members.
Example
Copy
function Example_GetSupportedCurrencies()
{
return array(
'EUR', # Euro
'BGN', # Bulgarian Lev
'HRK', # Croatian Kuna
'CZK', # Czech Koruna
'DKK', # Danish Krone
'GIP', # Gibraltar Pound
'GBP', # Pounds sterling
'HUF', # Hungarian Forint
'ISK', # Icelandic Króna
'CHF', # Swiss Franc
'NOK', # Norwegian Krone
'PLN', # Poland Złoty
'RON', # Romanian Leu
'SEK', # Swedish Krona
);
}