To get account statistics, use the command account/get_account_history:
svc=account/get_account_history¶ms={"itemId":<long>, "days":<int>, "tz":<int>}
Current request can't be executed simultaneously with following requests:
Name | Description |
---|---|
itemId | resource (account) ID |
days | time to request statistics (days) |
tz | timezone |
[ [ <uint>, /* action type: 1 - payment, 0 - write off */ <text>, /* date */ <text>, /* service */ <text>, /* cost */ <uint>, /* quantity */ <text> /* information */ ] ]