An earthquake has hit the Mexico-Guatemala border, confirmed the German Research Centre for Geosciences (GFZ).