GET
/
accounting
/
transactions
/
summary
Get Transactions Summary
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/accounting/transactions/summary \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "totalAmount": 123,
    "currency": "<string>",
    "count": 123,
    "byType": [
      {
        "totalAmount": 123,
        "currency": "<string>",
        "count": 123,
        "byType": [
          {
            "type": "<string>",
            "amount": 123,
            "count": 123
          }
        ]
      }
    ],
    "timeSeries": [
      {
        "period": "<string>",
        "amount": 123,
        "count": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

startDate
string<date-time>

Filter by start date (ISO format)

endDate
string<date-time>

Filter by end date (ISO format)

groupBy
enum<string>
default:month

Group results by time period

Available options:
day,
week,
month,
year

Response

200
application/json

Transactions summary retrieved successfully

The response is of type object.