List profiles

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

GEThttps://api.mollie.com/v1/profiles
Authentication:App access tokens

Retrieve all payment profiles available on the account.

The results are paginated. See pagination for more information.

Parameters

offset

integer
optional
The number of payment profiles to skip.

count

integer
optional
The number of payment profiles to return (with a maximum of 250).

Response

200 application/json

totalCount

integer
The total number of payment profiles available.

offset

integer
The number of skipped payment profiles as requested.

count

integer
The number of payment profiles found in data, which is either the requested number (with a maximum of 250) or the default number.

data

array
An array of payment profile objects as described in Get profile.

links

object

Links to help navigate through the lists of payment profiles, based on the given offset.

previous

string
The previous set of payment profiles, if available.

next

string
The next set of payment profiles, if available.

first

string
The first set of payment profiles, if available.

last

string
The last set of payment profiles, if available.

Example

Request

1
2
curl -X GET https://api.mollie.com/v1/profiles \
    -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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
HTTP/1.1 200 OK
Content-Type: application/json

{
    "totalCount": 25,
    "offset": 0,
    "count": 10,
    "data": [
        {
            "resource": "profile",
            "id": "pfl_v9hTwCvYqw",
            "mode": "live",
            "name": "My website name",
            "website": "https://www.mywebsite.com",
            "email": "info@mywebsite.com",
            "phone": "31123456789",
            "categoryCode": 5399,
            "status": "unverified",
            "review": {
                "status": "pending"
            },
            "createdDatetime": "2018-03-16T23:33:43.0Z",
            "updatedDatetime": "2018-03-16T23:33:43.0Z",
            "links": {
                "apikeys": "https://api.mollie.com/v1/profiles/pfl_v9hTwCvYqw/apikeys"
            }
        },
        {
            "resource": "profile",
            "id": "pfl_tqWEcAdnjG",
            "mode": "test",
            "name": "My website name",
            "website": "https://www.mywebsite.com",
            "email": "info@mywebsite.com",
            "phone": "31123456789",
            "categoryCode": 5399,
            "status": "unverified",
            "createdDatetime": "2018-03-17T01:47:45.0Z",
            "updatedDatetime": "2018-03-17T01:47:45.0Z",
            "links": {
                "apikeys": "https://api.mollie.com/v1/profiles/pfl_tqWEcAdnjG/apikeys"
            }
        },
        { }
    ],
    "links": {
        "first": "https://api.mollie.com/v1/profiles?count=10&offset=0",
        "previous": null,
        "next": "https://api.mollie.com/v1/profiles?count=10&offset=10",
        "last": "https://api.mollie.com/v1/profiles?count=10&offset=20"
    }
}