Get User Accounting Statistics
Accounting
Get User Accounting Statistics
Get User Accounting Statistics
GET
Get User Accounting Statistics
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
Get User Accounting Statistics Retrieve detailed accounting statistics for a specific user, including royalty shares, amounts paid and due. Optionally includes detailed royalty summary data. Method: GET Path Parameters:| Parameter | Type | Description |
|---|---|---|
| id | string | The TenantUser ID |
| Parameter | Type | Description |
|---|---|---|
| include | string | Include additional data (e.g., ‘royalty’ for detailed royalty summary) |
| forceRefresh | boolean | Force recalculation even if cached data exists |
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
TenantUser ID
Query Parameters
Include additional data (use 'royalty' for detailed royalty breakdown)
Available options:
royalty Force recalculation even if cached data exists
Response
User accounting statistics retrieved successfully
Total royalty share amount for this user
Example:
1135.28
Amount already paid to the user
Example:
100
Amount currently due to the user
Example:
1035.28
Detailed royalty breakdown (included when include=royalty)
Calculation metadata from enhanced accounting calculator