The cause of an obligation is unlawful when the enforcement of the obligation would produce a result prohibited by law or against public policy.
Examples of obligations with unlawful causes include those that arise from gaming, gambling, and wagering not authorized by law.
La. C.C. § 1968