There was a case here in Ontario Canada where a winning ticket was lost so no claim for most of the claiming period. However the lottery corp. knew where and when the ticket was issued. It was at a drug store which had cameras and it turned out the ticket was bought with a credit card. They tracked down the person who bought the ticket and gave her the winning jackpot. She had lost the ticket for good and IIRC had no idea she had won. Didn’t matter the evidence the lottery people had plus the credit card record was enough.
I don’t think you can buy lottery tickets with a credit card in the US.