public function report($account_id, $report_type, array $parameters = [])
    {
        $parameters = array_merge(['type' => $report_type], $parameters);
        return $this->merchantApi->call('get', 'accounts/' . $account_id . '/report?'.http_build_query($parameters))->toArray();
    }
public function report($account_id, $report_type, array $parameters = [])
    {
        $parameters = array_merge(['type' => $report_type], $parameters);
        return $this->merchantApi->call('get', 'accounts/' . $account_id . '/report?'.http_build_query($parameters))->toArray();
    }
public function report ( $ account_id , $ report_type , array $ parameters = [ ] ) { $ parameters = array_merge ( [ 'type' => $ report_type ] , $ parameters ) ; return $ this -> merchantApi -> call ( 'get' , 'accounts/' . $ account_id . '/report?' . http_build_query ( $ parameters ) ) -> toArray ( ) ; }
Generates a report for a specific account
Look at defined constants to see possible report types. Further info can be found in docs.
@param $account_id
@param $report_type
@param array $parameters
@return array
@throws \Monetivo\Exceptions\MonetivoException
Generates a report for a specific account Look at defined constants to see possible report types . Further info can be found in docs .