Any one or more counties or municipalities in this state may contract with any one or more public agencies of another state to perform any governmental service, activity, or undertaking which each public agency entering into the contract is authorized by law to perform; provided, however, that such contract shall be authorized by the governing body of each party to the contract. Such contract shall set forth fully the purposes, powers, rights, objectives, and responsibilities of the contracting parties.