Based on the Mollie API client for Ruby
By far the easiest way to install the Mollie Reseller API client is to install it with gem.
$ gem install mollie-reseller-api-ruby
You may also git checkout or download all the files, and include the Mollie Reseller API client manually.
Requiring the Mollie Reseller API Client.
require "Mollie/ResellerAPI/Client"
Initializing the Mollie Reseller API client, and setting your PartnerId, ProfileKey and ProfileSecret.
mollie = Mollie::ResellerAPI::Client.new
mollie.setPartnerId "1234567"
mollie.setProfileKey "EG801C4C"
mollie.setProfileSecret "961e2711bd7136506ab74f0993cc73510afa9ddb"
Get available payment methods.
partner_id_customer = "7654321"
available_payment_methods = mollie.accounts.available_payment_methods partner_id_customer