private static void TestSimpleCharge(StripePayment payment) { StripeCreditCardInfo cc = GetCC(); StripeCharge charge = payment.Charge(5001, "usd", cc, "Test charge"); Console.WriteLine(charge); string charge_id = charge.Id; StripeCharge charge_info = payment.GetCharge(charge_id); Console.WriteLine(charge_info); StripeCharge refund = payment.Refund(charge_info.Id); Console.WriteLine(refund.Created); }