The U.S. dollar, while being the monetary unit of choice in Cuba for any given transaction, is not accepted in credit card form. This is because there are no commercial relations between Cuba and the United States.

So - plan on taking enough cash with you, because your credit card (if it's financed through a U.S. bank), won't be recognized in Cuba.