Apparently as per GST department if you are earning online you should compulsorily get registered in GST and file your return to report your export but as per act if your turnover during the year is above 20 lakh (from 1.4.19 this limit has been increased to 40 lakh) then you need to register under GST and you can apply for LUT and then you are not required to pay any GST on it but if you don't have LUT then you need to pay GST from your pocket.
Hope you find the information helpful if you do please rate it 5 and provide your valuable feedback for my improvement.
Thanks