This question already has an answer here:
I will be traveling on my own to Germany in a few days, and will take the train on Deutsche Bahn.
I am 17, and have no credit cards, debit cards, etc. My parents will be booking the journey in advance with their credit card. I just have no idea what valid ID I could use that falls under the requirements, especially if passports aren’t allowed.