The reason you know it is because the Clinton's disclosed it on their financial disclosure forms.

There is nothing illegal about a former president making a speech in a foreign country and getting paid for it. Ronald Reagan was paid $2 million for two speeches in Japan.