Submit onboarding data¶
POST
https://api.mollie.com/v2/onboarding/me
Submit data that will be prefilled in the merchant’s onboarding. The data you submit will only be processed when the
onboarding status is needs-data
.
Note
Information that the merchant has entered in their dashboard will not be overwritten.
Parameters¶
Even though all parameters are optional, at least one of them needs to be provided in the request.
organization
objectoptionalData of the organization you want to provide.
name
stringoptionaladdress
address objectoptionalAddress of the organization.
streetAndNumber
stringrequiredpostalCode
stringconditionalcity
stringrequiredcountry
stringrequiredregistrationNumber
stringoptionalvatNumber
stringoptionalvatRegulation
stringoptionalshifted
(VAT is shifted) or
dutch
(Dutch VAT rate) is accepted.profile
objectoptionalData of the payment profile you want to provide.
name
stringoptionalurl
stringoptionalhttp://
or
https://
schemes and domains that contain a TLD. URLs containing an @
are not allowed.email
stringoptionaldescription
stringoptionalphone
stringoptional+31208202070
.businessCategory
stringoptionalThe industry associated with the profile’s trade name or brand.
Refer to the documentation of the business category for more information on which values are accepted.
categoryCode
integeroptionalWarning
This parameter is deprecated and will be removed in 2022. Use the businessCategory
parameter
instead.
The industry associated with the profile’s trade name or brand.
Possible values:
5192
Books, magazines and newspapers5262
Marketplaces, crowdfunding, donation platforms5399
General merchandise5499
Food and drinks5533
Automotive Products5641
Children Products5651
Clothing & Shoes5712
Home furnishing5732
Electronics, computers and software5734
Hosting/VPN services5735
Entertainment5815
Credits/vouchers/giftcards5921
Alcohol5944
Jewelry & Accessories5945
Hobby, Toy, and Game Shops5977
Health & Beauty products6012
Financial services6051
Crypto currency7299
Consultancy7922
Events, conferences, concerts, tickets7997
Gyms, membership fee based sports7999
Travel, rental and transportation8111
Lawyers and legal advice8299
Advising/coaching/training8398
Charity and donations8699
Political parties9399
Government services0
Other
Example¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | curl -X POST https://api.mollie.com/v2/onboarding/me \ -H "Content-Type: application/json" \ -H "Authorization: Bearer access_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM" \ -d '{ "organization": { "name": "Mollie B.V.", "address": { "streetAndNumber": "Keizersgracht 126", "postalCode": "1015 CW", "city": "Amsterdam", "country": "NL" }, "registrationNumber": "30204462", "vatNumber": "NL815839091B01" }, "profile": { "name": "Mollie", "url": "https://www.mollie.com", "email": "info@mollie.com", "phone": "+31208202070", "businessCategory": "MONEY_SERVICES" } }' |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | <?php $mollie = new \Mollie\Api\MollieApiClient(); $mollie->setAccessToken("access_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"); $mollie->onboarding->submit([ "organization" => [ "name" => "Mollie B.V.", "address" => [ "streetAndNumber" => "Keizersgracht 126", "postalCode" => "1015 CW", "city" => "Amsterdam", "country" => "NL", ], "registrationNumber" => "30204462", "vatNumber" => "NL815839091B01", ], "profile" => [ "name" => "Mollie", "url" => "https://www.mollie.com", "email" => "info@mollie.com", "phone" => "+31208202070", "businessCategory": "MONEY_SERVICES", ], ]); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | from mollie.api.client import Client mollie_client = Client() mollie_client.set_access_token("access_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM") onboarding = mollie_client.onboarding.create({ "organization": { "name": "Mollie B.V.", "address": { "streetAndNumber": "Keizersgracht 126", "postalCode": "1015 CW", "city": "Amsterdam", "country": "NL", }, "registrationNumber": "30204462", "vatNumber": "NL815839091B01", }, "profile": { "name": "Mollie", "url": "https://www.mollie.com", "email": "info@mollie.com", "phone": "+31208202070", "categoryCode": 6012, }, }) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | Mollie::Client.configure do |config| config.api_key = 'test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM' end Mollie::Onboarding.submit( organization: { name: "Mollie B.V.", address: { streetAndNumber: "Keizersgracht 126", postalCode: "1015 CW", city: "Amsterdam", country: "NL" }, registrationNumber: "30204462", vatNumber: "NL815839091B01" }, profile: { name: "Mollie", url: "https://www.mollie.com", email: "info@mollie.com", phone: "+31208202070", businessCategory: "MONEY_SERVICES" } ) |
1 2 3 4 | We don't have a Node.js code example for this API call yet. If you have some time to spare, feel free to share suggestions on our Discord: https://discord.gg/VaTVkXB4aQ |
Response¶
1 | HTTP/1.1 204 No Content |