the three numbers you listed are the wave lines.. BAD, CW and SL. BAD 87535 ast, Saga Legends 87995 ast, CW 87638 ast.
Any UPC from any fig released from a wave with that line number is accepted.
The stated numbers look to me to be from a specific wave or release date. an example would be :CW wave 1 revision 1 has a number of HS87638A1 for the box or lot, each individual fig would have number 87638, and aech fig would have a UPC reading ... 87638 and fig name.
The line number from my ARF trooper is 89468,my REX is 87659, not an accepted line for redemption.
It seems to me they want upc codes from specific dates ... i own most BAD, SL, and CW figs released and i keep all upcs from them and have very few that match( just a quick look at a handful from different lines and droid sets).
I will check it out more...