Do I have to pay a Panama departure tax?

Panama

Yes. There is a departure tax of US$40, but it is included in the price of a flight.