Profiles API
Get profile
Changed onRetrieve a single profile by its ID.
get/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.read
Query parameters
testmodeboolean
You can enable test mode by setting the testmode query parameter to true.
Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
Headers
idempotency-keystring
Example:123e4567-e89b-12d3-a456-426
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Response
The 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