Permissions API
Get permission
Retrieve a single permission by its ID, and see if the permission is granted to the current access token.
🔑 Access with
Advanced access token
OAuth access token
get/v2/permissions/{permissionId}
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/permissions/{permissionId}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens
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.
Response
The permission object.
Example response
{
"id": "payments.read",
"description": "View your payments",
"granted": true,
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.