private static void Test_DeleteCard() { Console.Write("[{0}] Testing delete card from customer... ", Timestamp); var stripe = new StripeService(API_KEY); stripe.DeleteCardAsync(_testCustomerId, _testCardId).Wait(); if (stripe.HasError) { Console.WriteLine(); throw new TestFailedException("Delete card failed ({0}): {1} {2}", stripe.Error.Type, stripe.Error.Message, stripe.Error.Parameter); } Console.WriteLine("pass"); }