This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/accounting/refreshstats \
  --header 'Authorization: Bearer <token>'{
  "success": true,
  "message": "<string>",
  "data": {
    "refreshId": "<string>",
    "status": "<string>"
  }
}Refresh Accounting Statistics
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/accounting/refreshstats \
  --header 'Authorization: Bearer <token>'{
  "success": true,
  "message": "<string>",
  "data": {
    "refreshId": "<string>",
    "status": "<string>"
  }
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/accounting/refreshstats', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"