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

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

Paysera account Revolut (LT) N26 Bank (LT) Apple Pay Intesa SanPaolo Alpha Bank BKT Bank Credins Bank Fibank Bank OTP Bank ProCredit Bank Raiffeisen Bank Tirana Bank Union Bank ABI Bank
Paysera account Apple Pay Visa, MasterCard, Maestro UniCredit Bank Austria ING Bank Revolut (AT) Erste Bank und Sparkassen, Austria Trustly (pay via local banks)
Paysera account Apple Pay Visa, MasterCard, Maestro ABN AMRO Belgium N.V. Triodos Bank N.V. Revolut (BE) ING Bank
Paysera account Apple Pay Visa, MasterCard, Maestro UniCredit Bulbank Банка ДСК UBB PostBank ING Bank First Investment Bank AD Revolut (BG) Allianz Bank Bulgaria D Commerce Bank AD ProCredit Bank Bulgaria Investbank AD Bulgarian-American Credit Bank Tokuda Bank T.C. Ziraat Bank TBI Bank Bulgarian Development Bank Bank transfer
Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account UniCredit Bank AG ("HypoVereinsbank") ING Bank Revolut (DE) ABN AMRO Bank N.V. Germany Trustly (pay via local banks) Apple Pay Visa, MasterCard, Maestro
Trustly (pay via local banks) Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account AB "Swedbank" bank AB SEB bank AB Nordea bank AS Citadele banka Revolut (EE) AS LHV PANK N26 Bank (EE) Apple Pay AS Coop Pank Visa, MasterCard, Maestro Pay on the 25th of next month, no additional fees Pay in 3 equal parts, no additional fees Pay in instalments, down payment 0 €
Revolut (ES) Paysera account CaixaBank (ES) Banco Santander (ES) Banco Sabadell (ES) Unicaja Banco (ES) Banco Bilbao Vizcaya Argentaria (ES) Bankinter (ES) Ibercaja Banco (ES) Apple Pay Kutxabank (ES) Visa, MasterCard, Maestro Caja Rural (ES) ING Bank Cajamar Caja Rural (ES) Arquia Banca (ES) Colonya Caixa Pollença (ES) Eurocaja Rural (ES) EVO Banco (ES) Fiare Banca Etica (ES) Banco Pichincha (ES) CajaSur Banco (ES) Renta 4 Banco (ES) Laboral Kutxa (ES) Banco Mediolanum (ES) Openbank (ES) Self Bank Banco Inversis (ES) Andbank (ES) WiZink Bank (ES) Trustly (ES)
Handelsbanken Nordea Revolut (FI) Trustly (FI) Paysera account Apple Pay Visa, MasterCard, Maestro
ING Bank Revolut (FR) Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account Bank of Georgia Liberty Bank TBC Bank Apple Pay Visa, MasterCard, Maestro
Revolut (GR) Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account Apple Pay Visa, MasterCard, Maestro
Trustly (pay via local banks) Paysera account Apple Pay Visa, MasterCard, Maestro
ING Bank Revolut (IE) Paysera account Apple Pay Visa, MasterCard, Maestro
ING Bank Revolut (IT) UniCredit SpA Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account AB Swedbank AB SEB bankas Luminor AB Šiaulių bankas Revolut (LT) AS Citadele banka UAB Urbo bankas Lithuanian Central Credit Union N26 Bank (LT) Apple Pay Visa, MasterCard, Maestro Buy now, pay later – MOKI3 Inbank Leasing "Lietuvos spauda" and "Narvesen" kiosks General Financing hire-purchase via the Internet At "Perlas" terminals Through a bank transfer or by cash at a bank branch
ING Bank Revolut (LU) Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account AS Swedbank bank AB SEB bank Luminor Citadele bank Revolut (LV) N26 Bank (LV) Apple Pay Visa, MasterCard, Maestro Pay in parts
Paysera account Revolut (MT) Apple Pay Visa, MasterCard, Maestro
Paysera account ING Bank Rabobank (NL) ABN AMRO Bank N.V. Revolut (NL) Triodos Bank N.V. (NL) ASN Bank RegioBank SNS Bank Apple Pay Trustly (pay via local banks) Visa, MasterCard, Maestro
Trustly (pay via local banks) Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account Apple Pay Visa, MasterCard, Maestro Mastercard, Maestro SafetyPay system
BLIK Bank Ochrony Środowiska Citi Handlowy Credit Agricole Deutsche Bank DnB Nord Euro Bank Getin Bank IdeaBank ING Inteligo Millennium Nest Bank Noble Pay Orange BNP Paribas Poland Podkarpacki BS Plus Bank e-transfer Pocztowy24 Banks of Poland Raiffeisen Polbank Banki Spółdzielcze SkyCash T-Mobile Toyota Bank Volkswagen Bank Żabka Paysera account mBank bank BANK ZACHODNI WBK Bank PEKAO Bank PKO Alior Apple Pay Visa, MasterCard, Maestro
ING Bank Revolut (PT) Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account Apple Pay Visa, MasterCard, Maestro Banca Transilvania BCR Bank ING Bank Unicredit Bank Raiffeisen Bank Romania Alpha Bank Libra Bank Intesa SanPaolo Revolut (RO)
Trustly (SE) Paysera account Apple Pay Visa, MasterCard, Maestro
Intesa Sanpaolo (SI) Revolut (SI) UniCredit Bank Slovenia Paysera account Apple Pay Visa, MasterCard, Maestro
ING Bank Revolut (SK) Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account Apple Pay Visa, MasterCard, Maestro
Paysera account Apple Pay Visa, MasterCard, Maestro Mastercard, Maestro BPB Bank ProCredit Bank Raiffeisen Bank NLB Bank TEB Bank BKT Bank IS Bank Banka Ekonomike Ziraat Bank

Getting available payment types with WebToPay library

Information about payment methods is held in a special class. This allows to manipulate data more easily, and receive necessary information quicker. As minimum and maximum amounts are provided, you need to specify not only the project ID, but also the currency for payment types.

<?php

$paymentMethodsInfo = WebToPay::getPaymentMethodList($projectid, $currency);

Information about payment methods is desegregated into 4 levels:

  • WebToPay_PaymentMethodList - holds all information available. WebToPay::getPaymentMethodList method returns an object of this class.
    Class methods:
    • filterForAmount($amount, $currency) returns a new instance of WebToPay_PaymentMethodList class with only those payment methods, which are relevant for a particular amount.
    • getCountries() returns the array of WebToPay_PaymentMethodCountry objects.
    • getCountry($countryCode) returns a single WebToPay_PaymentMethodCountry object.
    • setDefaultLanguage($language) sets a default language for the whole tree of objects. Default language is used for getting titles and addresses of logotypes. A language can be passed to specific methods too.
  • WebToPay_PaymentMethodCountry - information about payment types in a country.
    Class methods:
    • getTitle() returns the title of the country.
    • getGroups() returns the array of WebToPay_PaymentMethodGroup objects.
    • getPaymentMethods() returns the array of WebToPay_PaymentMethod objects. All payment methods are taken from every group in the country. Use this method if you do not want to divide payment methods into groups.
  • WebToPay_PaymentMethodGroup - information about payment types for a group.
    Class methods:
    • getTitle() returns the title of the group.
    • getPaymentMethods() returns the array of WebToPay_PaymentMethod objects.
  • WebToPay_PaymentMethod - information about the payment type.
    Class methods:
    • getKey() returns the identifier of this payment type. It must be passed when making a request to Paysera system.
    • getTitle() returns the title of this payment type.
    • getLogoUrl() returns the address of the logotype for this payment type. Returns null if the logotype is unavailable.
    • isAvailableForAmount($amount, $currency) returns whether this payment method is available for the specified amount. If payment types are filtered with WebToPay_PaymentMethodList::filterForAmount method, there is no point in checking once again.
Note Only the most important methods are provided here, please check the library for the full list.

Example of how one can provide available payment types for a specific amount in Lithuania without grouping:

<?php

$paymentMethodsInfo = WebToPay::getPaymentMethodList($projectid, $currency)
    ->filterForAmount($amount, $currency) // leave only methods, available for this amount
    ->setDefaultLanguage('lt') // display titles in Lithuanian
;

foreach ($paymentMethodsInfo->getCountry('lt')->getPaymentMethods() as $paymentMethod) {
    echo '<input type="radio" name="payment" value="' . $paymentMethod->getKey() . '" />';
    if ($paymentMethod->getLogoUrl()) { // display logo only if available
      echo '<img src="' . $paymentMethod->getLogoUrl() . '" />';
    }
    echo $paymentMethod->getTitle() . '<br />';
}

Example of how one can provide all possible payment types in all countries by their groups, disabling the selection of unavailable payment types:

<?php

$paymentMethodsInfo = WebToPay::getPaymentMethodList($projectid, $currency)
    ->setDefaultLanguage('en') // display titles in English
;

foreach ($paymentMethodsInfo->getCountries() as $country) {
    echo '<h2>' . $country->getTitle() . '</h2>';
    foreach ($country->getGroups() as $group) {
        echo '<h3>' . $group->getTitle() . '</h3>';
        foreach ($group->getPaymentMethods() as $paymentMethod) {
          // display radio only if available
          if ($paymentMethod->isAvailableForAmount($amount, $currency)) {
            echo '<input type="radio" name="payment" value="' . $paymentMethod->getKey() . '" />';
          }
          // display logo only if available
          if ($paymentMethod->getLogoUrl()) {
            echo '<img src="' . $paymentMethod->getLogoUrl() . '" />';
          }
          echo $paymentMethod->getTitle() . '<br />';
        }
    }
}

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/new/api/paymentMethods/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/new/api/paymentMethods/6028/currency:EUR/amount:1000000