To apply for a one year extension of stay based upon retirement during the last 30 days of the 90 day stay the visa allows the 800k baht will have to be in the bank for 2 on the day you apply. Then after applying it will have to be in the bank for 3 months from day you apply and then 400k baht until you top up the account to 800k for the next extension.