So i am thinking of using dibs payment
So i found this node wrapper for: DIBS API wrapper for Node.js
However this would require me to send credit card information through a post request to my node server.
My question is: Is this safe? And if not how to i make sure it is safe? So that the request cannot be hacked by unwanted parties
They provide so called "hosted payment window" (http://tech.dibspayment.com/D2/Hosted). In such case all data will be sent directly to DIBS without going to your server. It's preferred solution for the most of applications.
In case if you want to send credit card data to your server you will need to make sure that it can not be leaked (see https://www.pcisecuritystandards.org/). It's a big subject (in general, it's mainly about your server and network infrastructure).