Skip to main content
POST
Create Revenue
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Create Revenue Description: The /revenue/ endpoint allows creation of revenue records with detailed information including source, amount, splits, and associated metadata. Authorization:
  • Required role: admin or higher
Method: POST Request Payload:

Code Examples

Authorizations

Authorization
string
header
required

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

Body

application/json
title
string
required

Title/description of the revenue

amount
number
required

Revenue amount

currency
string
default:USD
required

Currency code (e.g., USD, EUR)

source
enum<string>
required

Source of the revenue

Available options:
streaming,
sales,
licensing,
sync,
merchandise,
live_performance,
other
transactionDate
string<date-time>
required

Date of the revenue transaction

artist
string

Associated artist ID

asset
string

Associated asset ID

product
string

Associated product ID

splits
object[]

Revenue split information

metadata
object

Additional metadata

memo
string

Additional notes

Response

Success

message
string
revenue
object