List API keys
Profiles API

GET
https://api.mollie.nl/v1/profiles/id/apikeys
Authentication: OAuth access tokens

List the active API keys for the given payment profile.

Note that you cannot retrieve API keys for a different account than your own, even if you have a valid OAuth token.

If you wish to create a payment on behalf of a different merchant, use your app's access token and the profileId of one of the merchant's web site profiles.

Parameters

Replace id in the endpoint URL by the payment profile's ID, for example pfl_v9hTwCvYqw.

Includes

Some endpoints allow you to indicate if you want more information to be included in the API response via the include querystring parameter.

  • No includes supported for this endpoint.

Response

200
application/json; charset=utf-8

Example

Request code

// Not implemented. Create a pull request: https://github.com/mollie/mollie-api-php

Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
    "count": 2,
    "data": [
        {
            "resource": "profile_api_key",
            "id": "live",
            "key": "live_eSf9fQRwpsdfPY8y3tUFFmqjADRKyA",
            "createdDatetime": "2017-10-19T21:06:31.0Z"
        },
        {
            "resource": "profile_api_key",
            "id": "test",
            "key": "test_UgfUyzqgrbh6dAfjYBQTMhPD3nQTda",
            "createdDatetime": "2017-10-19T21:06:31.0Z"
        }
    ]
}