Yes, of course you can cancel the server within a certain period of time after ordering. Netcup even offers a voluntary 30-day money-back guarantee. Cancellation is very easy via the customer portal (CCP).
I quote from the website:
Best regards
Hello.
Thank you for your comment, for example I purchased 1 month, do I get a full refund for 1 month or a partial payment?