How can character data like XP and money be stored to be used in a store on the main menu not inside the story mode of the game?

How can character data like XP and money be stored to be used in a store on the main menu ;not inside the story mode of the game?
Thanks.