A Malaysian student has been charged in a Sydney court with dishonesty offenses after a bank accidentally gave her a $4.6 million Australian ($4.3 million Cdn) overdraft four years ago.

Waverley Local Court was told on Thursday that Christine Jiaxin Lee was 17 years old and had been living in Sydney for a year when Westpac Banking Corp. made the expensive mistake in 2012.

She was arrested at Sydney Airport on Wednesday night as she tried to fly to Malaysia still owing $3.3 million Australian (more than $3 million Canadian) spent on what her lawyer described as luxury items including handbags. The rest of the money had been recovered.

The 21-year-old chemical engineering student was released on bail.