List profiles

Profiles API v1
GEThttps://api.mollie.com/v1/profiles
Authentication:OAuth 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; charset=utf-8

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; charset=utf-8

{
    "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"
    }
}