Mollie.Permissions (mollie v0.7.2)

All API actions through OAuth are by default protected for privacy and/or money related reasons and therefore require specific permissions. These permissions can be requested by apps during the OAuth authorization flow. The Permissions resource allows the app to check whether an API action is (still) allowed by the authorization.

Link to this section Summary

Functions

Check if API action is still allowed with current authorization.

List all permissions available with the current app access token. The list is not paginated.

Link to this section Functions

Link to this function

find(client, id)

Specs

Check if API action is still allowed with current authorization.

example

Example

Mollie.Permissions.find client, "payments.read"

More info at: https://docs.mollie.com/reference/v2/permissions-api/get-permission

Specs

List all permissions available with the current app access token. The list is not paginated.

example

Example

Mollie.Permissions.list client

More info at: https://docs.mollie.com/reference/v2/permissions-api/list-permissions