If the gym sold a course so your friend would qualify for the Muay Thai visa, and your friends visa was rejected for another reason (not due to the documentation provided by the gym) - then the gym shouldn’t have to refund unless it’s explicitly written in their refund policy.