Skip to main content
GET
/
accounting
/
transactions
/
summary
Get Transactions Summary
curl --request GET \
  --url https://api.royalti.io/accounting/transactions/summary \
  --header 'Authorization: Bearer <token>'
{
  "message": "success",
  "summary": {
    "totalPayments": 50000,
    "totalRevenues": 125000.5,
    "totalExpenses": 15000.25,
    "netAmount": 60000.25
  }
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Get Transactions Summary Get an aggregated summary of all tenant transactions including total payments, revenues, expenses, and net amount. Method: GET Note: This endpoint currently does not support date filtering or grouping. It returns an all-time summary for the tenant.

Code Examples

const response = await fetch('https://api.royalti.io/accounting/transactions/summary', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

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

Response

Transactions summary retrieved successfully

message
string
Example:

"success"

summary
object