User Tools

Site Tools


faq:gift_card_magnetic_stripe_format

Gift Card MSR Format

Sample Track 1 and 2
%B6035718888880528923^^4912?;6035718888880528923=4912?[enter]
Sample Track 2 only
;326900002=98?[enter]
;1001237801001=0708?[enter]

  • Please note that the [enter] text in the code above and lines below is actually just an new line character otherwize known as the enter key.
  • %[track1]?;[track2]?[enter]
  • where track1 = B[cardnumber]^name^
  • track2 = [cardnumber]=[expdate]
  • track1 start sentinal = % end sentinal=?
  • track2 start sentinal= ; end sentinal=?
  • track separator = nothing
  • terminator =[enter]
  • sentinals %;? and terminator [enter] are not encoded on the track but are added by the MSR.
  • For best results use a card range starting with 1,2 or 7 and use 10-15 digits or 17-20 digits.

Track Information

  • track 2 is required
  • track 1 is optional
  • Expdate = mmyy optional, but put 0000 or any other numbers. Cards without =nnnn on track 2 may not swipe on some pinpads.
faq/gift_card_magnetic_stripe_format.txt · Last modified: 2011/08/18 13:34 by eugene