Skip to main content
Defined in the Base Account SDK
Validates a permission against current time and revocation state and returns remaining spend and next period start.

Parameters

SpendPermission
required
Signed permission to evaluate. This should be a SpendPermission object returned from requestSpendPermission or fetched via fetchPermissions.

Returns

GetPermissionStatusResponse
Status details for the permission.

Error Handling

Always wrap the call in a try-catch block to handle these errors gracefully.