There is a limit of 50,000 Baht in international transfers for people who use Wise to transfer the money and only for people using a bank other than Bangkok Bank, Siam Commercial Bank or Kasikorn Bank.
Go to Immigration well before the two weeks you are planning to apply to ensure that they will allow this change to the reason of Extension of Stay and to get their list of requirements for retirement. That gives you time to meet the requirements or come up with a plan B if necessary. Also be aware that if you change the reason for your Extension of Stay it is very likely that the new extension will commence from when you apply, not added to your current "permitted to" date.