private function createPlentyPayment(Payment $payment)
    {
        $params = $this->requestGenerator->generate($payment);

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

        return $this->client->request('POST', 'payments', $params);
    }
@param Payment $payment

@return array