src/Services/PaymentService.php
public function getUserPaymentsToOrganisation($userId, $organisationId, UserPaymentsToOrganisationCriteria $criteria = null)
    {
        $criteria = $criteria ?: UserPaymentsToOrganisationCriteria::create();

        return $this->request(
            new GetUserPaymentsToOrganisationRequest($userId, $organisationId, $criteria)
        );
    }
public function getUserPaymentsToOrganisation($userId, $organisationId, UserPaymentsToOrganisationCriteria $criteria = null)
    {
        $criteria = $criteria ?: UserPaymentsToOrganisationCriteria::create();

        return $this->request(
            new GetUserPaymentsToOrganisationRequest($userId, $organisationId, $criteria)
        );
    }
@param int                                $userId
@param int                                $organisationId
@param UserPaymentsToOrganisationCriteria $criteria

@return PaymentCollection

@throws OrdercloudRequestException