Skip to content

Instantly share code, notes, and snippets.

@mgara
Created July 24, 2020 15:20
Show Gist options
  • Save mgara/eb1489b9a3d851c3997f53c199c7d5e4 to your computer and use it in GitHub Desktop.
Save mgara/eb1489b9a3d851c3997f53c199c7d5e4 to your computer and use it in GitHub Desktop.
Credit Card Test Numbers
//eslint-disable-next-line
const TEST_CARDS = [
// cybersource
"378282246310005",
"6011111111111117",
"3566111111111113",
"50339619890917",
"586824160825533338",
"6759411100000008",
"6759560045005727054",
"5641821111166669",
"2222420000001113",
"2222630000001125",
"5555555555554444",
"135412345678911",
// braintree
"4111111111111111",
"4500600000000061",
"4217651111111119",
"4012888888881881",
"4012000077777777",
"4012000033330026",
"4009348888881881",
"4005519200000004",
"2223000048400011",
"6304000000000000",
"3530111333300000",
"36259600000004",
"371449635398431",
// invalid cards
"4012000033330521",
"4023490000000008",
"4012000033330729",
"4012000033330620",
"4012000033330323",
"4012000033330422",
"4012000033330224",
"4012000033330125",
"4012000033330026",
"4005519200000004",
"4009040000000009",
"4500600000000061",
"3566002020360505",
"38520000009814",
"6011000990139424",
"378734493671000",
"5105105105105100",
"4000111111111115",
// stripe
"4242424242424242",
"4000056655665556",
"5555555555554444",
"2223003122003222",
"5200828282828210",
"5105105105105100",
"378282246310005",
"371449635398431",
"6011111111111117",
"6011000990139424",
"3056930009020004",
"36227206271667",
"3566002020360505",
"6200000000000005",
"4000000760000002",
"4000001240000000",
"4012888888881881",
"4000004840008001",
"4000002500003155",
"4000002760003184",
"4000008260003178",
"4000003800000446",
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment