Skip to main content
Get Account Capabilities

Authorizations

Authorization
string
header
required

Authorization header containing an SDP JWT (ES256) or an SDP_ API key.

Path Parameters

id
string
required

The unique identifier of the distribution account

Query Parameters

user_id
string

Report this user's capabilities instead of the caller's. Owner only.

role
enum<string>

Report the capabilities a user would have if granted this role. Owner only.

Available options:
financial_controller,
developer,
business,
initiator,
approver

Response

Capabilities retrieved successfully

What the subject may actually do on one account, combining their tenant-wide role with the role they hold on that account. Both gates apply, so this is reported as a capability set rather than a single effective role.

wallet_id
string
user_id
string

Present when the capabilities of another user were requested

role
string

Present when the capabilities of a hypothetical role were requested

capabilities
object