It's NOT the transfer the money into the country in time because to apply for the initial 90 day Non-O visa there is no seasoning on the funds (it just needs to come from abroad)
The linch-pin is having enough time on your entry stamp or extension to cover the under consideration period. In Bangkok you need at least 15 days or more to apply for an in country Non-Imm visa.
At Chaengwattana you want counter C-1 <- that's the counter that issues in country Non-Imm visas.
You go here
*********************************************************************************************************************************************************************************************************
*****
91,100.
*****
82,15z/data=!4m2!3m1!1s0x0:0xe2cc4a5263fad687?sa=X&ved=2ahUKEwj2pomb-NTyAhUXxzgGHVSFB2sQ_BIwOnoFCLcBEAU