Jazzi Spa instructions on how to tie

Mollie has been providing a reliable platform for receiving payments for many years. For some time now, we have opened our platform to external developers so that they can use our platform to create their own products, services and applications.

This means that it is possible to integrate Mollie's services into an application that uses APIs based on OAuth 2.0. This makes it possible to offer payment services legally without being bound by the same rules. With Mollie Connect you can become an extension of Mollie.

This article explains which technical steps are necessary in order to use, for example, registration fees.

Preparatory steps

First of all, there are some general steps that you need to go through before you can get started.

stepsExplanationdocumentation
1. Create a free Mollie account.As a developer, you also need your own Mollie account.Click here to create an account
2. Log into Mollie as a developer.To create an app, you have to activate the following:Click on “Start as developer”.
3. Create your own app.You need this app to use Mollie Connect.Create your new app here.
4. Read the introduction to Mollie Connect.Here we explain how the Mollie Connect process works:Mollie Connect overview
5. Read the instructions for OAuth 2.0.Here we explain how OAuth works for Mollie Connect.OAuth Getting Started.
6. Contact Mollie.Before we approve the deduction of fees on transactions by Mollie merchants, we would like to learn more about your platform and application. 

Set up payments using the registration fee

The next few steps explain how to split a transaction between two Mollie accounts.

stepsExplanationdocumentation
1. Ask the dealer about the granting of the necessary rights.Each dealer decides for himself whether to grant the requested rights.Use the Authorize Function of the Connect API.
Read here which rights can be granted. ask for Payments. You write authorization to make payments on behalf of the merchant. You can also add a registration fee to the payment afterwards.
2. Get the Access token for the merchant account.You need this key to be able to use the requested rights.The AuthorizationFunction delivers you Authentication token. You need to put this token into a Access token convert. use this TokenEndpoint in the Connect API.
3. Get all the profiles of the dealer.Each payment is linked to a profile. You have to specify which of the merchant profiles the payment should be linked to.Use the function List profiles in the profile API. If the dealer has several profiles, you must allow him to select one.
4. Create a payment to split.Two additional parameters are required in the Create payment function: profileId and registration fee.Use the standard function for this Create payment in the Payments API.

The transaction will now appear in the merchant's account and the specified registration fee will be credited to your account.

 

Also read: