I think your idea works, though not idiomatic. Perhaps "with strings attached"? This means that a favor requires something in return.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
imantaghaviCan we use this: " do sth ostentatiously"?I think that's all right. Less formally, "to make a big [deal/show] of {doing the favor}".