Profiles API
Update profile
Changed onUpdate 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.
patch/v2/profiles/{profileId}
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/profiles/{profileId}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: profiles.write
Headers
idempotency-keystring
Example:123e4567-e89b-12d3-a456-426
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Request body
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.
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": "2024-03-20T09:13:37+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
- breaking
the response property
////became nullable for the status
- breaking
- info
added the non-success response with the status
- info