The official UAE government site states that:
The UAE issues two types of transit visas: one for 48 hours which is free of charge, and another for 96 hours for AED 50 only. Transit visas are sponsored only by the UAE-based airlines and must be processed and approved before entering the UAE.
However, their links are confusing:
Link to Transit visa from Etihad Airways - Etihad Airways states "Visa fee: AED 37", which is admittedly not a large amount but still not free as claimed by the government page. For that fee, it seems to work though (I haven't followed all steps) but the entry can only be Abu Dhabi, not Dubai.
Link to Transit visa from Emirates Airline - Emirates Airline is not showing any link to apply seemingly, giving instead "UAE Visa Information. Everything you need to know about UAE visas and sponsorship." But I can't find the most important information -- the link to apply!
Searching for visa requirements for Thai citizens leads to this page giving the following information:
Visa
Visa required.
Visa Issuance:
E-visas can be obtained before departure at https://smart.gdrfad.gov.ae/HomePage.aspx (for Dubai) or https://smartservices.ica.gov.ae/echannels/web/client/default.html#/login (for other emirates). Passengers must have a printed e-visa confirmation.
Confusingly, the link for Dubai still does not show any link to apply for a transit UAE visa for a foreigner. This information is nowhere to be found as far as I could see.
So, how can I apply online for a transit visa to visit Dubai with Thai citizenship?
I don't mind paying a small fee, just need a webpage that works and delivers the result.