Right now, I am using the Magento 2.2 version and want to allow the customer to save his/her credit information. Does it possible to store the credit card information with the Magento when the customer places an order.
By default, this is not a good idea. It is not PCI compliant and can cause a mess of issues, especially if your admin panel is compromised. Authorize.net, however, does have a Customer Information Manager that does allow you to do this. It's secured and PCI compliant.
I recommend this particular extension: https://store.paradoxlabs.com/magento2-authorize-net-cim-payment-module.html. I have installed it for my customers who required this functionality and they have been very pleased with its results.
Magento2 doesn't support saving CC information. To save CC data need to create new payment method using custom module.There are few extensions available in market to fulfil your requirement. Please checkout the url : https://www.instamojo.com/gpsolutionsglobal/magento2-save-card-details/