The paystubs endpoint allows you to query for payouts to an end user. Each paystub contains broken out and aggregated earnings information, as well as relevant dates. Paystubs are returned in reverse chronological order by pay_date. This is a paginated endpoint; see how Pinwheel implements pagination here.
Click Try It! to start a request and see the response here!