Sha256: dacf65ea925bf7958ec6160bdcf9a8efee70d43d2cb7f3179541a22fe1f257f6

Contents?: true

Size: 475 Bytes

Versions: 7

Compression:

Stored size: 475 Bytes

Contents

require 'mollie-api-ruby'

begin
  mandate = Mollie::Mandate.create(
    customer_id:       "cst_8wmqcHMN4U",
    method:            "directdebit",
    consumer_name:     "John",
    consumer_account:  "NL53INGB0000000000",
    consumer_bic:      "INGBNL2A",
    signature_date:    "2016-05-01",
    mandate_reference: "ref-123",
    api_key:           'test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM'
  )
rescue Mollie::Exception => e
  puts 'An error has occurred: ' << e.message
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mollie-api-ruby-3.1.5 website-docs/mandates/create.rb
mollie-api-ruby-3.1.4 website-docs/mandates/create.rb
mollie-api-ruby-3.1.4.pre.beta website-docs/mandates/create.rb
mollie-api-ruby-3.1.3 website-docs/mandates/create.rb
mollie-api-ruby-3.1.2 website-docs/mandates/create.rb
mollie-api-ruby-3.1.1 website-docs/mandates/create.rb
mollie-api-ruby-3.1.0 website-docs/mandates/create.rb