GET/v1/accounts/{account}/capabilities/{capability}

Retrieve an account capability

Retrieves information about a specific capability for a connected account. A capability defines whether the account is able to perform a particular action or access a particular feature. Returns the capability object with its current status and any requirements.

3 parameters
accountstringrequired

The unique identifier of the account that owns the capability.

capabilitystringrequired

The unique identifier of the capability to retrieve.

expandarray<string>optional

Specifies which fields in the response should be expanded.

2 status codes
200Returns the capability object with its status, requirements, and future requirements.
accountstringrequired

The account for which the capability enables functionality.

future_requirementsobjectoptional
idstringrequired

The identifier for the capability.

objectstringrequired

String representing the object's type. Objects of the same type share the same value.

Allowed:capability
requestedbooleanrequired

Whether the capability has been requested.

requested_atintegeroptional

Time at which the capability was requested. Measured in seconds since the Unix epoch.

requirementsobjectoptional
statusstringrequired

The status of the capability.

Allowed:activeinactivependingunrequested
defaultError response.
errorobjectrequired

Error handling

account and capability must identify an existing capability belonging to the specified account.