I asked about the digits one at a time and I learned that the digits in order were 3, 5, 4, 9, 7. When I asked if the secret code was 35497 it said "no, it's 02563." I then asked if it was 02563 and it said I got it right.
I think so - I started doing a binary search >50000 -> <75000 -> <65000 -> <55000 -> <52500 then wondered if it was 50000, so guessed that. It said I was right, well done, the answer is indeed 02563!