Create profile¶
Warning
The v1 API has been deprecated. The v1 API will be supported for the foreseeable future, at least until July 2023. However, new features will only be added to the v2 API.
The documentation for creating profiles in the new v2 API can be found here. For more information on the v2 API, refer to our v2 migration guide.
POST
https://api.mollie.com/v1/profiles
In order to process payments, you need to create a website profile. A website profile can easily be created via the Dashboard manually. However, the Mollie API also allows automatic profile creation via the Profiles API.
A profile’s API keys can be set up with this API as well.
Parameters¶
name
stringrequiredwebsite
stringrequiredhttp://
or
https://
schemes and domains that contain a TLD. URLs containing an @
are not allowed.email
stringrequiredphone
stringrequiredbusinessCategory
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
integeroptionalThe industry associated with the profile’s trade name or brand.
Warning
This parameter is deprecated and will be removed in 2022. Use the businessCategory
parameter
instead.
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
mode
stringoptionalCreating a test profile by setting this parameter to test
, enables you to start using the API without having to
provide all your business info just yet. Defaults to live
.
Possible values: live
test
Example¶
Request¶
1 2 3 4 5 6 7 8 | curl -X POST https://api.mollie.com/v1/profiles \ -H "Authorization: Bearer access_Wwvu7egPcJLLJ9Kb7J632x8wJ2zMeJ" \ -d "name=My website name" \ -d "website=https://www.mywebsite.com" \ -d "email=info@mywebsite.com" \ -d "phone=31123456789" \ -d "businessCategory=OTHER_MERCHANDISE" \ -d "mode=live" |
Response¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | HTTP/1.1 201 Created Content-Type: application/json { "resource": "profile", "id": "pfl_v9hTwCvYqw", "mode": "live", "name": "My website name", "website": "https://www.mywebsite.com", "email": "info@mywebsite.com", "phone": "31123456789", "businessCategory": "OTHER_MERCHANDISE", "categoryCode": 5399, "status": "unverified", "review": { "status": "pending" }, "createdDatetime": "2018-03-17T00:22:06.0Z", "updatedDatetime": "2018-03-17T00:22:06.0Z", "links": { "checkoutPreviewUrl": "https://www.mollie.com/payscreen/preview/pfl_v9hTwCvYqw" } } |