def list_payment_methods(options={})
      raise Zaypay::Error.new(:locale_not_set, "locale was not set for your price setting") if @locale.nil?
      get "/#{options[:amount]}/#{@locale}/pay/#{price_setting_id}/payments/new" do |data|
        Zaypay::Util.arrayify_if_not_an_array(data[:payment_methods][:payment_method])
      end
    end
def list_payment_methods(options={})
      raise Zaypay::Error.new(:locale_not_set, "locale was not set for your price setting") if @locale.nil?
      get "/#{options[:amount]}/#{@locale}/pay/#{price_setting_id}/payments/new" do |data|
        Zaypay::Util.arrayify_if_not_an_array(data[:payment_methods][:payment_method])
      end
    end
Returns an array of payment methods that are available to your Price Setting with a given locale

 @param [Hash] options an options-hash that can take an *:amount* option, in case you want to use dynamic amounts
 @return [Array] an array of payment methods, each represented by a hash.
 @raise [Zaypay::Error] in case you call this method before setting a locale