Client for the mollie reseller API
Unofficial implementation of the mollie-reseller API for node. This library is a straight forward port of some of the example php scripts supplied by Mollie.
All available methods are supported, you should, however, always check the results for any validation errors reported by Mollie, as this module does not check for required parameters.
You must sign up as a re-seller in order to access the full documentation. Currently this documentation is not disclosed publicly.
Mollie is a Payment Service Provider from the Netherlands. They allow you to create new customers trough their re-seller API as part of your platform integration.
The following API methods are supported:
The folowing is an example of how to create a new Mollie account for your customer. You will need to sign up for a mollie account and the reseller program in order to retrieve the correct credentials.
var Reseller = require'../lib/reseller';var api =partner_id: '<MOLLIE_PARTNER_ID>'profile_key: '<MOLLIE_PROFILE_KEY>'app_secret: '<MOLLIE_APP_SECRET>';apiaccountCreateusername: 'my_customer'name: 'John Doe'email: 'firstname.lastname@example.org'address: 'Damstraat 1'zipcode: '1011AB'city: 'Amsterdam'country: '1'testmode: trueconsole.logresult;processexit;;
- I am in no way affilated with Mollie, except that I have joined their reseller API ;-)
- This module does not implement the actual payment backend - there are others
Copyright 2014 Matthijs van Henten. GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007