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