It was the decision of then Prime Minister Eisaku Sato that Japan would pay (the $4 million) as long as Okinawa would be returned.
There was a possibility that the negotiations would come to a deadlock if Japan did not pay.