Skip to content

TriForce1/credit_card_DB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Card Service

This service validates credit numbers using the luhn algorithm. Api can be accessed at http://credit-card-api-service.herokuapp.com

Usage

The link below is an example of an invalid card number.

http://credit-card-api-service.herokuapp.com/api/v1/credit_card/validate?card_number=4024097178888052

The card_number value can be changed to whatever number you would like to validate. The service will return a json string containing the number you entered and the card's validation status. e.g.

{"card":"4024097178888052","validated":false}

If the number you enter is valid then validated will be equal to true.Below is a valid card number that you can try.

  card_number=4916603231464963

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages