For a private pilot, unless the passengers share a common purpose for travel with the pilot, money isn't allowed to change hands, even if it is just "for fuel".
You would need at least a commercial pilot license for this type of transaction. (A CPL is a lesser license than an airline transport pilot license, which is what you need to work for an airline. The former only requires 100 hours of time.)