It's not possible, I would be scared if that was possible.
Most systems, only keeps the last 4 char of the card number for legal reasons. So you wouldn't have access to the whole number.
But it would be still better than nothing.
If you wish to know more, you can look into the PCI compliance.