Is a marriage contract legitimate if both the wife's dowry and the Imam who performed the marriage contract were paid with a credit card?

Religious Authority: 
Ebrahim Desai
Fatwa Question or Essay Title: 
Is a marriage contract legitimate if both the wife's dowry and the Imam who performed the marriage contract were paid with a credit card?

It will only be permissible to use the credit card if there are sufficient funds available. If sufficient funds are not available, it will result in an interest bearing loan which is prohibited. If there are sufficient funds, then using a credit card will not invalidate the marriage contract.