Files
rust-mollie-sdk/docs/PermissionsApiApi.md
Zomatree e738db98b9 init
2025-10-20 14:41:17 +01:00

2.6 KiB

\PermissionsApiApi

All URIs are relative to https://api.mollie.com/v2

Method HTTP request Description
get_permission GET /permissions/{permissionId} Get permission
list_permissions GET /permissions List permissions

get_permission

models::EntityPermission get_permission(permission_id, testmode, idempotency_key) Get permission

Retrieve a single permission by its ID, and see if the permission is granted to the current access token.

Parameters

Name Type Description Required Notes
permission_id String Provide the ID of the related permission. [required]
testmode Option<bool> Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter can be omitted. For organization-level credentials such as OAuth access tokens, 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.
idempotency_key Option<String> A unique key to ensure idempotent requests. This key should be a UUID v4 string.

Return type

models::EntityPermission

Authorization

oAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/hal+json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_permissions

models::ListPermissions200Response list_permissions(idempotency_key) List permissions

Retrieve a list of all permissions available to the current access token. The results are not paginated.

Parameters

Name Type Description Required Notes
idempotency_key Option<String> A unique key to ensure idempotent requests. This key should be a UUID v4 string.

Return type

models::ListPermissions200Response

Authorization

oAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/hal+json

[Back to top] [Back to API list] [Back to Model list] [Back to README]