Update profile

Profiles API v1

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 updating profiles in the new v2 API can be found here. For more information on the v2 API, refer to our v2 migration guide.

POSThttps://api.mollie.com/v1/profiles/*id*
Authentication:App access tokens

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

Replace id in the endpoint URL by the payment profile’s ID, for example pfl_v9hTwCvYqw.

namestringrequired
The profile’s new name.
websitestringrequired
The new URL to the profile’s website or application. The URL should start with https:// or http://.
emailstringrequired
The new email address associated with the profile’s trade name or brand.
phonestringrequired
The new phone number associated with the profile’s trade name or brand.
businessCategorystringoptional

The new 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.

categoryCodeintegeroptional

The new industry identifier 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 newspapers
  • 5262 Marketplaces, crowdfunding, donation platforms
  • 5399 General merchandise
  • 5499 Food and drinks
  • 5533 Automotive Products
  • 5641 Children Products
  • 5651 Clothing & Shoes
  • 5712 Home furnishing
  • 5732 Electronics, computers and software
  • 5734 Hosting/VPN services
  • 5735 Entertainment
  • 5815 Credits/vouchers/giftcards
  • 5921 Alcohol
  • 5944 Jewelry & Accessories
  • 5945 Hobby, Toy, and Game Shops
  • 5977 Health & Beauty products
  • 6012 Financial services
  • 6051 Crypto currency
  • 7299 Consultancy
  • 7922 Events, conferences, concerts, tickets
  • 7997 Gyms, membership fee based sports
  • 7999 Travel, rental and transportation
  • 8111 Lawyers and legal advice
  • 8299 Advising/coaching/training
  • 8398 Charity and donations
  • 8699 Political parties
  • 9399 Government services
  • 0 Other
modestringoptional

The new profile mode. Note switching from test to production mode will trigger a verification process where we review the payment profile.

Possible values: live test

Response

200 application/json

The updated profile object is returned, as described in Get profile.

Example

Request

1
2
3
4
5
6
7
curl -X POST https://api.mollie.com/v1/profiles/pfl_v9hTwCvYqw \
    -H "Authorization: Bearer access_Wwvu7egPcJLLJ9Kb7J632x8wJ2zMeJ" \
    -d "name=My website name - Update 1" \
    -d "website=https://www.mywebsite2.com" \
    -d "email=info@mywebsite2.com" \
    -d "phone=31123456789" \
    -d "businessCategory=OTHER_MERCHANDISE"

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 200 OK
Content-Type: application/json

{
    "resource": "profile",
    "id": "pfl_v9hTwCvYqw",
    "mode": "live",
    "name": "My website name - Update 1",
    "website": "https://www.mywebsite2.com",
    "email": "info@mywebsite2.com",
    "phone": "31123456789",
    "businessCategory": "OTHER_MERCHANDISE",
    "categoryCode": 5399,
    "status": "verified",
    "review": {
        "status": "pending"
    },
    "createdDatetime": "2018-03-16T23:44:03.0Z",
    "updatedDatetime": "2018-03-17T01:47:46.0Z",
    "links": {
        "checkoutPreviewUrl": "https://www.mollie.com/payscreen/preview/pfl_v9hTwCvYqw"
    }
}