This is not a regular retirement visa, but a Long Term Resident visa with quite stiff requirements to qualify and you’ll need an approval from the Board of Investment first.
And you need to provide required documentation to get an approval letter that you qualify and the Thai embassy who serves you will issue the visa.
*********************