curl --request GET \
--url https://api.royalti.io/accounting/refresh \
--header 'Authorization: Bearer <token>'{
"message": "success",
"processedCount": 125,
"totalUsers": 125
}Refresh Accounting Data
curl --request GET \
--url https://api.royalti.io/accounting/refresh \
--header 'Authorization: Bearer <token>'{
"message": "success",
"processedCount": 125,
"totalUsers": 125
}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/refresh', {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"