This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves the total amount, in USD, and count of the premium payouts matching the provided filter.
The totals cover exactly the payouts the filter matches, including REJECTED ones. To reproduce the earnings total shown in the Wix Studio dashboard, add status not equal to REJECTED to the filter.
You can only call this method when authenticated as a Wix user or by using an account level API key.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.