Payment types
You can get available payment types for your project in real time, before redirecting the user to Paysera system. It might be useful if you want to display the choice of payment methods on your website - in this case, you do not have to update configuration each time something changes.
Also, with each payment type available, minimum and maximum amounts are provided. This allows to show only those payment methods, which are relevant for a particular user.
Retrieval of payment methods is implemented in WebToPay library. Be sure that you have the last version of the library - this functionality was not yet realised in older 1.5 version.
Payment methods
Albania
Austria
Belgium
Bulgaria
Canada
Czech Republic
Germany
Denmark
Estonia
Spain
Finland
France
United Kingdom
Georgia
Greece
Croatia
Hungary
Ireland
Italy
Lithuania
Luxembourg
Latvia
Malta
Netherlands
Norway
Other countries
Poland
Portugal
Romania
Sweden
Slovenia
Slovakia
Turkey
United States
Kosovo
Payment logos for footer
Enter country to display:
Country
Albania
Austria
Belgium
Bulgaria
Canada
Czech Republic
Germany
Denmark
Estonia
Spain
Finland
France
United Kingdom
Georgia
Greece
Croatia
Hungary
Ireland
Italy
Lithuania
Luxembourg
Latvia
Malta
Netherlands
Norway
Other countries
Poland
Portugal
Romania
Sweden
Slovenia
Slovakia
Turkey
United States
Kosovo
Getting payment types without WebToPay library
If your project is not written in PHP language, you can retrieve payment types through the same interface that WebToPay library uses.
Payment types are provided in XML format at the following address:
https://www.paysera.com/payment-methods/yourProjectId/currency:desiredCurrency/amount:desiredAmount/language:desiredLanguage
Every parameter except for yourProjectId is optional. Also, you can provide only one or several parameters in any order.
-
desiredCurrency- specifies the currency, in which minimum and maximum possible amounts will be provided. If not set, amounts are provided in in euro. -
desiredAmount- only those payment methods are provided, which are available for the specified amount. Amount should be in cents. -
desiredLanguage- titles are provided only in this language. If not set, names are provided in all available languages.
For example, if you want to receive payment methods available for 10000 EUR payment, use this address (let's say that the project ID is 6028):
https://www.paysera.com/payment-methods/6028/currency:EUR/amount:1000000