Finserv Acquisition Corp.’s purchase of Katapult; Advent’s investment in Ebanx; Mastercard’s deal for Ekata; and Hershey’s acquisition of Lily’s Sweets were among some of the notable middle-market deals that closed in June, according to Refinitiv.