The correct option is B it is legal.
XYZ parties must be in agreement (after an offer has been made by one party and accepted by the other). Something of value must be exchanged -- such as cash, services, or goods (or a promise to exchange such an item) for something else of value.