Get 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 retrieving profiles in the new v2 API can be found here. For more information on the v2 API, refer to our v2 migration guide.
GET
https://api.mollie.com/v1/profiles/*id*
Retrieve details of a payment profile, using the profile’s identifier.
Parameters¶
Replace id
in the endpoint URL by the payment profile’s ID, for example pfl_v9hTwCvYqw
.
Response¶
200
application/json
resource
stringprofile
for this endpoint.id
stringpfl_3RkSN1zuPE
.mode
stringIndicates whether the payment profile is in test or production mode.
Possible values: live
test
name
stringwebsite
stringemail
stringphone
stringbusinessCategory
stringThe 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
integerThe 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
status
stringThe profile status determines whether the payment profile is able to receive live payments.
Possible values:
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 thus no longer be used or changed.
review
objectThe presence of a review object indicates changes have been made that have not yet been approved by Mollie. Changes
to test profiles are approved automatically, unless a switch to a live profile has been requested. The review object
will therefore usually be null
in test mode.
status
stringThe status of the requested profile changes.
Possible values:
pending
The changes are pending review. We will review your changes soon.rejected
We have reviewed and rejected your changes.
createdDatetime
datetimeupdatedDatetime
datetimelinks
objectUseful URLs to related resources.
checkoutPreviewUrl
stringExample¶
Request¶
1 2 | curl -X GET https://api.mollie.com/v1/profiles/pfl_v9hTwCvYqw \ -H "Authorization: Bearer access_Wwvu7egPcJLLJ9Kb7J632x8wJ2zMeJ" |
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_8tv5FmWcn4", "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-16T18:46:21.0Z", "updatedDatetime": "2018-03-16T18:46:21.0Z", "links": { "checkoutPreviewUrl": "https://www.mollie.com/payscreen/preview/pfl_8tv5FmWcn4" } } |