The goal is to list all the past transactions of a paypal account. The information that should be filtered out is: date of the transaction, amount, payer, receiver, purpose. I experimented with paypal's "transaction search api" but the responses include a lot of unnecessary information. Furthermore, it only returns account_ids, e.g. "X005GHT889F". Is there a way to match the account_id with an email address or the account owner's name?
As this is a very general question, any help or hint into the right direction would be appreciated!
The transaction search API can return payer_info with the email; see its documentation.
Alternatively, you can trigger an Activity Download in CSV format via https://business.paypal.com/merchantdata/reportHome