Whaat value do you mean exactly by cc code? The credit card number itself, or the CSC/CVV ? How do you plan to validate either of those values? Generally, you can verify if a credit card number passes the Luhn Mod 10 check, but that does not guarantee the card # is valid, nor does it guarantee the card will actually be accepted for the amount of the sale. There are services like
binlist.net and
bintable.com that can give you more information about a card given the first 6 to 8 digits, but again the card may still be declined for various reasons, and could still fail address verification even if the card itself is valid.
Are you facing a problem with a lot of declined or rejected cards? What are you hoping to avoid or accomplish by validating the cc code?