Skip to main content
GET
/
revenue
/
{id}
Get Revenue
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/revenue/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Revenue retrieved successfully",
  "revenue": {
    "id": "revenue-uuid-123",
    "title": "Streaming Revenue - January 2024",
    "amount": 2500.5,
    "currency": "USD",
    "source": "streaming",
    "transactionDate": "2024-01-15T10:30:00Z",
    "memo": "Monthly streaming revenue distribution",
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-15T10:30:00Z"
  }
}
Get Revenue Description:
The /revenue/{id} endpoint retrieves detailed information about a specific revenue record.
Method:
GET
Path Parameter:
ParameterTypeDescription
idstringThe unique identifier of the revenue record
Query Parameters:
ParameterTypeDescription
include (Optional)stringAdditional data to include (Artist, Asset, Product, Splits)

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
idstringpathāœ…Revenue ID

Query Parameters

ParameterTypeInRequiredDescription
includestringqueryāŒAdditional data to include (Artist, Asset, Product, Splits)

Responses

āœ… 200 - Success

āš ļø 401 - Unauthorized

āš ļø 404 - Not Found

āŒ 500 - Internal Server Error

Tags

Revenue

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Revenue ID

Query Parameters

include
string

Additional data to include (Artist, Asset, Product, Splits)

Response

Success

message
string
revenue
object
⌘I