code: private function fetchPlentyPayments($payment)
      {
          $url = 'payments/property/1/' . $payment->getTransactionReference();
          $payments = $this->client->request('GET', $url);
  
          if (empty($payments)) {
              return false;
          }
  
          $payments = array_filter($payments, function (array $payment) {
              return !$payment['deleted'];
          });
  
          return $payments;
      }
docs: @param Payment $payment
  
  @return bool