code: private function createPlentyPayment(Payment $payment)
      {
          $params = $this->requestGenerator->generate($payment);
  
          return $this->client->request('POST', 'payments', $params);
      }
docs: @param Payment $payment
  
  @return array