Hello ,
It does not matter if your married to a Thai National , If your not a Thai Citizen then you are a Foreigner.
65,000 Baht per month income or Thai Bank Account and monthly income that equals 65,000 Baht per month or one lump sum of 800,000 Thai Baht in Thai Bank Account and has to be in there 90 Days Prior to starting the process.
You must be 50 Years old or older
You must have a 90 Visa Prior to starting this process.
Your Passport must have at least 18 months on it , If less than 18 months Renew it.
You must have a passport photo.
You get your 1 Year Retirement Visa you Check in with Immigration every 90 Days up to 1 Year and you start the process again.