in kind
With produce or commodities rather than money. For example, I edited Bob's book for payment in kind; he gave me voice lessons in exchange. [c. 1600]
In the same manner or with an equivalent, as in He returned the insult in kind. [Early 1700s]