This will allow you to retrieve all the individual payment transactions from one particular lead, as well as all the details of those transactions (returned as an array of objects).
* Required: the CMD parameter must be included in the API call.
** Either the Lead ID or the Lead EMAIL must be passed in order to locate the lead
Here is an example:
'lead' => [ 'email' => 'email@example.com' ], 'actions' => [ '0' => [ 'cmd' => 'get_transactions_from_lead' ], ]