Where can I find test magnetic stripe data?

I wrote a library of functions that analyze the data of track 1 and track 2 from magnetic strips on cards (credit cards, identifiers, etc.) in accordance with ISO / IEC 7813. I want to strictly test this library against some valid ones (but, obviously , not real credit cards "). I managed to find several lines on the Internet. My code works fine with these examples, but id likes to test different card issuers, etc., to make sure that the code is really ready for release. Any ideas? I know that http://www.getcreditcardnumbers.com/ offers a number Test credit card, something like that for track2 data would be ideal.

The standard line of track 2, containing the CC number, expiration date, and other information, looks something like this :; 1111222233334444 = 9912101xxxxxxxxxxxxxxx?

+8
credit-card magnetic-cards
source share
1 answer

I have this list, which I created several years ago, based on the model package of physical test cards that were provided by the bank with which I integrated. The list is so old that some of these cards have been reissued (the switch is now known as Maestro, for example). Hope this will be helpful.

You can always mock this data using a card number that skips / doesn't skip the luhn check

Mastercard Valid
;? = 5301250070000191 +08051010912345678901 3

The delta is valid; 4539791001730106 = 08051010912345678901 ;?

Visa invalid luhn
;? = 4100000000000000 +08051010912345678901 8

JCB Valid;? = 3540599999991047 080501234567 8

JCB Invalid Luhn
; 3540599999991043 = 080501234567 <?

Incorrect Moon Switch
; 490340439601000194 = 080510109123145678 ;?

Switch Issue 2
;? = 6331101999990016 +08051010912345678902 7

Issue No. 3 (test card 33)
;? = 490303340561001048 080510109123345678 3

Switch Pin 4
;? = 491182014290000027 080510109123445678 =

Switch Release 5 (Test Card 35)
;? = 675938410597000022 080510109123545678 8

Issue 6 (test card 36)
;? 6759184500000120768 = 08051010912346567 4

Switch Release 12 (Test Card 31)
;? 5641820300097008 = 08051011212345678901>

Switch (test card 38) Start 04/04. Exp 05/08
;? = 6333000023456788 +08051010912345056781 5

Switch (test card 41) Start 08/04. Exp 05/08
;? = 6333000023452340 +08051010912341778901 8

Switch (test card 44)
;? = 6333000012345679 +08051010912345078901 7

Switch (test card 45)
;? = 6759820000000019 +08051010912345078901 4

Solo (test card 55) Start 04/04. Exp 05/08
;? = 6334520000000001 +08051210912345078901 =

Solo (test card 56) Start 04/04. Exp 05/08
; 6767110000000007 = 08051010912345078901 <?

+15
source share

All Articles