Profiles API

Update profile

Update an existing profile.

Profiles are required for payment processing. Normally they are created and updated via the Mollie dashboard. Alternatively, you can use this endpoint to automate profile management.

🔑 Access with

Advanced access token with profiles.write

OAuth access with profiles.write

patch/v2/profiles/{profileId}

Request

  • Base URL
    https://api.mollie.com
  • URL
    https://api.mollie.com/v2/profiles/{profileId}
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: https://my.mollie.com/oauth2/authorize
      Token URL: https://api.mollie.com/oauth2/tokens scopes: profiles.write

Request body

namestring nullable

The profile's name, this will usually reflect the trade name or brand name of the profile's website or application.

websitestring nullable

The URL to the profile's website or application. Only https or http URLs are allowed. No @ signs are allowed.

emailstring nullable

The email address associated with the profile's trade name or brand.

If the domain contains non-ASCII characters, encode it as Punycode per RFC 3492.

phonestring nullable

The phone number associated with the profile's trade name or brand.

descriptionstring nullable

The products or services offered by the profile's website or application.

countriesOfActivitystring[] nullable

A list of countries where you expect that the majority of the profile's customers reside, in ISO 3166-1 alpha-2 format.

businessCategorystring nullable

The industry associated with the profile's trade name or brand. Please refer to the business category list for all possible options.

modestring

Updating a profile from test mode to live mode will trigger a verification process, where we review the profile before it can start accepting payments.

Possible values: live test

Example request

{
  "name": "My new website name",
  "website": "https://example.com",
  "email": "test@mollie.com",
  "phone": "+31208202071",
  "description": "My website description",
  "countriesOfActivity": [
    "NL",
    "GB"
  ],
  "businessCategory": "OTHER_MERCHANDISE",
  "mode": "live"
}

Response

The updated profile object.

resourcestring required

Indicates the response contains a profile object. Will always contain the string profile for this endpoint.

idstring required

The identifier uniquely referring to this profile. Example: pfl_v9hTwCvYqw.

modestring required

Whether this entity was created in live mode or in test mode.

Possible values: live test

namestring required

The profile's name, this will usually reflect the trade name or brand name of the profile's website or application.

websitestring required

The URL to the profile's website or application. Only https or http URLs are allowed. No @ signs are allowed.

emailstring required

The email address associated with the profile's trade name or brand.

If the domain contains non-ASCII characters, encode it as Punycode per RFC 3492.

phonestring required

The phone number associated with the profile's trade name or brand.

descriptionstring

The products or services offered by the profile's website or application.

countriesOfActivitystring[]

A list of countries where you expect that the majority of the profile's customers reside, in ISO 3166-1 alpha-2 format.

businessCategorystring nullable required

The industry associated with the profile's trade name or brand. Please refer to the business category list for all possible options.

statusstring required

The profile status determines whether the profile is able to receive live payments.

  • unverified: The profile has not been verified yet and can only be used to create test payments.
  • verified: The profile has been verified and can be used to create live payments and test payments.
  • blocked: The profile is blocked and can no longer be used or changed.

Possible values: unverified verified blocked

createdAtstring required

The entity's date and time of creation, in ISO 8601 format.

Example response

{
  "resource": "profile",
  "id": "pfl_QkEhN94Ba",
  "mode": "live",
  "name": "My website name",
  "website": "https://example.com",
  "email": "test@mollie.com",
  "phone": "+31208202070",
  "description": "My website description",
  "countriesOfActivity": [
    "NL",
    "GB"
  ],
  "businessCategory": "OTHER_MERCHANDISE",
  "status": "unverified",
  "review": {
    "status": "pending"
  },
  "createdAt": "2022-01-19T12:30:22+00:00",
  "_links": {
    "self": {
      "href": "...",
      "type": "application/hal+json"
    },
    "dashboard": {
      "href": "https://www.mollie.com/dashboard/org_7049691/settings/profiles/pfl_2q3RyuMGry",
      "type": "text/html"
    },
    "chargebacks": {
      "href": "https://api.mollie.com/v2/chargebacks?profileId=pfl_2q3RyuMGry",
      "type": "application/hal+json"
    },
    "methods": {
      "href": "https://api.mollie.com/v2/methods?profileId=pfl_2q3RyuMGry",
      "type": "application/hal+json"
    },
    "payments": {
      "href": "https://api.mollie.com/v2/payments?profileId=pfl_2q3RyuMGry",
      "type": "application/hal+json"
    },
    "refunds": {
      "href": "https://api.mollie.com/v2/refunds?profileId=pfl_2q3RyuMGry",
      "type": "application/hal+json"
    },
    "checkoutPreviewUrl": {
      "href": "https://www.mollie.com/checkout/preview/pfl_2q3RyuMGry",
      "type": "text/html"
    },
    "documentation": {
      "href": "...",
      "type": "text/html"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.