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
}
}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
}
}Documentation Index
Fetch the complete documentation index at: https://apidocs.royalti.io/llms.txt
Use this file to discover all available pages before exploring further.
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);