A credit default swap is an over the counter agreement (OTC) between two parties where the buyer makes periodic contributions to the seller and for which the buyer will receive a payoff if an underlying financial instrument defaults.