Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

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

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages