You can freely use the api to check credit cards.
Format:
https://xchecker.cc/api.php?cc=ccNumber|expMonth|expYear|cvc
Example:
https://xchecker.cc/api.php?cc=5200007840000022|09|28|765
Response if the card format is correct:
{"ccNumber":"5200007840000022","status":"Live","details":"Charge OK."}
Response if the card format is wrong:
{"error":"Format error. Use ccNumber|expMonth|expYear|cvc"}
Implementation python script: https://pastebin.com/3xMSNd6p
Enjoy it!
If you have any problems, contact: [email protected]