Skip to main content
POST
Generate a publisher royalty statement
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /publisher/publishers//statements Creates a new PublisherStatement for the given period. Rejects a second statement covering the same publisher + exact period (periodStart/periodEnd) with 409. Authorization: admin role + publisher addon.

Code Examples

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Body

application/json
periodStart
string<date>
required
periodEnd
string<date>
required

Must be after periodStart.

currency
string
required
Example:

"USD"

Response

Statement generated.

Standard server envelope used by the statement, reconciliation, sub-publishing, and analytics endpoints.

status
enum<string>
Available options:
success,
error
message
string
data
object