The third-party involved lied to me
Skyscanner routed me to a third-party called trip.com. I booked my flight and within 24 hours I needed to cancel due to a family emergency that would require me to stay a day longer than I intended for my flight a month out. When I called the third-party agency they said that they not only charged flight fees (which was not true according to the airline I was flying with) but they also claimed that there was no way I could cancel my flight within the 24 hour window. After speaking with the airlines customer service line, they also informed me that according to the department of transportation it is federal law that consumers have the right to cancel their flight within 24 hours of purchase as long as they are more than 24 hours within their flight departure. So they lied to me. Moreover, I was unable to cancel my flight directly with my airline because they booked my flight under a company card so that if I did cancel my flight they would be refunded and I would not get my money back. I will definitely be booking only direct from now on.