It's an example of a favor.
Ingratiation is a psychological technique to attempt to influence, manipulate and control another person by becoming more likeable in their eyes. The outcome can be achieved by several methods and one of them is by favors in which engenders feelings of reciprocity between the one using the technique and the target person.