cancel
Showing results for 
Search instead for 
Did you mean: 

Way to check Credit card validity

Is there any way to check credit card validity before creating payment profile in authorize.

 

I want to create profiles only if  provided credit card information is valid.

asimneupane0089
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

Hi asimneupane0089

 

You can validate it using the validationMode, as documented in our API Reference Guide found at https://developer.authorize.net/api/reference/. 

 

validationMode Indicates the processing mode for the request. If the customer profile contains no payment data, this field should not be sent.

String.

Use testMode to perform a Luhn mod-10 check on the card number, without further validation. Use liveMode to submit a zero-dollar or one-cent transaction (depending on card type and processor support) to confirm the card number belongs to an active credit or debit account.

 

As described above, if you generate a liveMode transaction it will process a real transaction to verify the card number with the issuer. If this fails validation, no payment profile will be created. 

 

Please note, you may also need to include the cardCode value in your request for validation. The cardCode value is not stored in the payment profile for future use, however. 

 

Thank you,

Elaine

View solution in original post

ElaineM
Moderator Moderator
Moderator
4 REPLIES 4

Hi asimneupane0089

 

You can validate it using the validationMode, as documented in our API Reference Guide found at https://developer.authorize.net/api/reference/. 

 

validationMode Indicates the processing mode for the request. If the customer profile contains no payment data, this field should not be sent.

String.

Use testMode to perform a Luhn mod-10 check on the card number, without further validation. Use liveMode to submit a zero-dollar or one-cent transaction (depending on card type and processor support) to confirm the card number belongs to an active credit or debit account.

 

As described above, if you generate a liveMode transaction it will process a real transaction to verify the card number with the issuer. If this fails validation, no payment profile will be created. 

 

Please note, you may also need to include the cardCode value in your request for validation. The cardCode value is not stored in the payment profile for future use, however. 

 

Thank you,

Elaine

ElaineM
Moderator Moderator
Moderator

Hi all! Does anyone know where to get a car loan for a minimum interest rate? (I have a good credit history)

Kurdol
Member

Hi! I want to answer the question about the car loan. In this case, it all depends on your credit history, which banks study closely when applying for a loan. It is pretty challenging to find a place to get a loan at a reasonable interest rate, but there are still such places. When I took a loan, I went to an organization that did everything for me. They helped me find the best interest rate and saved me much time. You can see this website to get a better look at this company. I hope this information will be helpful to you. I wish you the best of luck!

Tering
Member

This would have been so useful back in the days when I tried to do surveys to obtain online currency for various games...<top> 

cattymaloudy
Member