master branch is for Mollie API v1. If you want v2 support, we have a beta client in branch
feature/v2. You can find the v2 beta on hackage http://hackage.haskell.org/package/mollie-api-haskell-220.127.116.11
Mollie API client for Haskell
Accepting iDEAL, Bancontact/Mister Cash, SOFORT Banking, Creditcard, SEPA Bank transfer, SEPA Direct debit, Bitcoin, PayPal, Belfius Direct Net and paysafecard online payments without fixed monthly costs or any punishing registration procedures. Just use the Mollie API to receive payments directly on your website or easily refund transactions to your customers.
Because of deployment issues with applications using this library the mollie root certificate check is disabled, the requests are however still preformed with secure connections! For more information or questions go to issue #2.
To use the Mollie API client, the following things are required:
- Get yourself a free Mollie account. No sign up costs.
- Create a new Website profile to generate API keys (live and test mode) and setup your webhook.
- Now you're ready to use the Mollie API client in test mode.
- In order to accept payments in live mode, payment methods must be activated in your account.
- Up-to-date OpenSSL
How to receive payments
To successfully receive a payment, these steps should be implemented:
Use the Mollie API client to create a payment with the requested amount, description and optionally, a payment method. It is important to specify a unique redirect URL where the customer is supposed to return to after the payment is completed.
Immediately after the payment is completed, our platform will send an asynchronous request to the configured webhook to allow the payment details to be retrieved, so you know when exactly to start processing the customer's order.
The customer returns, and should be satisfied to see that the order was paid and is now being processed.
If you wish to learn more about our API, please visit the Mollie Developer Portal. API Documentation is available in both Dutch and English.
- More information about iDEAL via Mollie
- More information about credit card via Mollie
- More information about Bancontact/Mister Cash via Mollie
- More information about SOFORT Banking via Mollie
- More information about SEPA Bank transfer via Mollie
- More information about SEPA Direct debit via Mollie
- More information about Bitcoin via Mollie
- More information about PayPal via Mollie
- More information about Belfius Direct Net via Mollie
- More information about paysafecard via Mollie