shop.settings.getPaymentTypes

Returns information about active payment methods.

Parameters

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Return value

Array with the only element 'methods' containing a list of payment methods. The sub-array of each payment method contains values with the following keys:

  • id int Payment method ID.
  • plugin string Payment plugin ID.
  • name string Payment method name.
  • description string Payment method description.
  • logo string Payment method’s icon URL.
  • plugin_type string Payment method type: 'online', 'card', 'manual', 'obsolete'.

Example

https://demo1.webasyst.com/api.php/shop.settings.getPaymentTypes?