public function cancelPayment($orderUuid)
    {
        $request = $this
            ->apiRequestFactory
            ->createCancelPaymentRequest($orderUuid);

        return $this->send($request);
    }
public function cancelPayment($orderUuid)
    {
        $request = $this
            ->apiRequestFactory
            ->createCancelPaymentRequest($orderUuid);

        return $this->send($request);
    }
public function cancelPayment ( $ orderUuid ) { $ request = $ this -> apiRequestFactory -> createCancelPaymentRequest ( $ orderUuid ) ; return $ this -> send ( $ request ) ; }
Requests Paylands API to cancel a previously created 'deferred' order.

@param string $orderUuid

@return array

@throws ErrorException
Requests Paylands API to cancel a previously created deferred order .