POST
/
file
/
createroyalty
Generate Royalty Report File
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/file/createroyalty \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true,
  "message": "Royalty report file generated",
  "data": {
    "name": "f-2025-07-08.csv",
    "status": "generated",
    "id": "file-uuid-123"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json Ā· object

Response

200
application/json

Royalty report file generated

The response is of type object.