Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.07 KB

README.mdown

File metadata and controls

39 lines (26 loc) · 1.07 KB

Mollie

Mollie Reseller API client for Ruby

Based on the Mollie API client for Ruby

Installation

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.

Getting started

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